Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013769Openbravo ERP06. Material requirement planning (MRP)public2010-06-24 16:392010-07-23 00:00
networkb 
harikrishnan 
urgentmajoralways
closedfixed 
5
2.50MP18 
2.50MP20 
Core
No
0013769: Confusing name fields and showing in Purchasing Plan Lines window
In Material Requirement (MRP) || Transactions || Purchasing Plan || Header >> Lines, appears a field named "Business Partner" which really does not show Business Partner value but Vendor to which we are going to ask for our "Suggested Purchase Order". That is confusing for end user.

Also the fact that this Business Partner field appears in all Transaction Types lines, when only is filled in Transaction Type=Suggested Purchase Order. This Business Partner field should be hidden in other Transaction Types
1.Material Requirement (MRP) || Setup || Planner: define a planner

2. Master Data Management || Product || Product:
  2.1. Search for Hat and: set "Obelix" as BP in its Purchasing tab
                        set planner, min qty=1 and safe stock=1 in OrgSpecific tab
  2.2. Search for Boots and: set "Mcgiver" as BP in its Purchasing tab
                        set planner, min qty=1 and safe stock=1 in OrgSpecific tab

3.Sales Management || Transactions || Sales Order || Header : create
  3.1. Sales Order for "Mafalda", scheduled delivery date=23-07-2010 and add line of 5 hats and another of 2 boots. Complete.
  3.2. Sales Order for "Simpson", scheduled delivery date=23-07-2010 and add line of 3 hats and another of 1 boots. Complete.

4. Material Requirement (MRP) || Transactions || Purchasing Plan || Header: document date= 23-06-2010
time horizon=60
planner= miplanner
vendor=mcgiver
bp=obelix
Run "Process Purchase Plan"

Realize that BP is not filled in any line as they are not "Suggested Purchase Order"
No tags attached.
Issue History
2010-06-24 16:39networkbNew Issue
2010-06-24 16:39networkbAssigned To => adrianromero
2010-06-24 17:20adrianromeroStatusnew => scheduled
2010-06-24 17:20adrianromerofix_in_branch => pi
2010-07-12 14:23harikrishnanAssigned Toadrianromero => harikrishnan
2010-07-12 14:24hgbotCheckin
2010-07-12 14:24hgbotNote Added: 0029230
2010-07-12 14:24hgbotStatusscheduled => resolved
2010-07-12 14:24hgbotResolutionopen => fixed
2010-07-12 14:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/953af2a594dbd4317fb166b9be9d72dd92348454 [^]
2010-07-12 14:25harikrishnanNote Added: 0029231
2010-07-14 04:43hudsonbotCheckin
2010-07-14 04:43hudsonbotNote Added: 0029284
2010-07-22 20:34sureshbabuNote Added: 0029486
2010-07-22 20:34sureshbabuStatusresolved => closed
2010-07-23 00:00anonymoussf_bug_id0 => 3033262

Notes
(0029230)
hgbot   
2010-07-12 14:24   
Repository: erp/devel/pi
Changeset: 953af2a594dbd4317fb166b9be9d72dd92348454
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon Jul 12 17:52:33 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/953af2a594dbd4317fb166b9be9d72dd92348454 [^]

Fixes Issue 13769: Confusing name fields and showing in Purchasing Plan Lines window

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0029231)
harikrishnan   
2010-07-12 14:25   
Steps to test:

*To create a records in the purchasing plan line we can follow this example given here.
http://wiki.openbravo.com/wiki/How-to_MRP#MRP:_A_second_example [^]

Root Cause:

*This field is enabled for all the transaction type.now this Display Logic is applied to this field and enabled only to "Suggested Purchase Order" transaction type.

Impact:

*Their is no impact because of this change set.
(0029284)
hudsonbot   
2010-07-14 04:43   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/953af2a594db [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2a91111beef4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17878.obx [^]
(0029486)
sureshbabu   
2010-07-22 20:34   
Tested, now the display logic is changed and the "Business partner" field will appear only when Transaction type is "suggested purchase order"