Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011975
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2010-01-15 09:372010-01-22 17:05
ReporternetworkbView Statuspublic 
Assigned Toharikrishnan 
PriorityimmediateResolutionfixedFixed in Version2.50MP11
StatusclosedFix in branchpiFixed in SCM revision2b1b1af06f22
ProjectionnoneETAnoneTarget Version2.50MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011975: Create Lines From Goods Receipt does not update secondary unit

DescriptionI you define a secondary unit to a product, when creating the Goods Receipt by "Create Lines from" button and setting partial quantity, secondary quantity is not updated.
Steps To Reproduce1. Master Data Management || Product || Product >> UOM : set secondary unit to any product
2. Master Data Management || Product Setup || Unit of Measure: go to its unit and set Conversion for main unit to secondary unit
3. Procurement Management || Transactions || Purchase Order: create new order for any Business Partner; product=beer; quantity=20
4. Procurement Management || Transactions || Goods Receipt: create header for the Business Partner and press "Create Lines From" button
5. Choose the order and set just partial quantity=10
Realize that secondary quantity is not updated and line is created with correct partial quantity but not updated secondary quantity
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00119812.50MP11 closedrafaroda Create lines from in Good Shipment does not filter by Organization 
related to defect 0010431 closedrafaroda UOM is not properly updated in expense sheet lines. 
related to defect 00109232.50MP7 closedgorkaion The SL_ProductionPlan_WRPhase does not work properly 
related to defect 00119602.50MP14 closedharikrishnan Delivery Method is not properly updated when creating a Sales Order 
related to defect 0011807 closedharikrishnan UOM field has to be read-only in Unit of Measure > Conversion tab 
related to defect 00119432.50MP11 closedharikrishnan the quantity of line is rounded when it is created by "create from lines" in goods receipt 
related to feature request 0011911 newrmorley The conversion of UOM is performed only in one direction 

-  Notes
(0023467)
psarobe (manager)
2010-01-15 10:44

Rafa, we need to test this very carefully after is fixed. You migh want to talk with me
(0023600)
hgbot (developer)
2010-01-20 10:35

Repository: erp/devel/pi
Changeset: ce9f54a31dc75bfae397f94a85be80e17432d703
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Jan 20 15:04:02 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/ce9f54a31dc75bfae397f94a85be80e17432d703 [^]

Fixes Issue 11975: Create Lines From Goods Receipt does not update secondary unit.

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0023628)
hgbot (developer)
2010-01-20 17:48

Repository: erp/devel/pi
Changeset: 2b1b1af06f22a72f83199eb89c9747a0e08d92be
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Wed Jan 20 04:05:27 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2b1b1af06f22a72f83199eb89c9747a0e08d92be [^]

Fixes issue 11975 Now a change in Secondary Quantity field updates Quantity field in Create Lines From Receipt.

---
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0023629)
rafaroda (developer)
2010-01-20 17:56

Steps to test the fix:

1. Create a new Unit of Measure (Master Data Management || Product Setup || Unit of Measure || Unit of Measure ) with following details.
* EDI Code =Pk
* Name=Pack

2. Navigate to "Conversion" Tab, select "To Uom"=Unit and "Multiply Rate by"=6.

3. Go to Product (Master Data Management || Product || Product )
* Select product = Beer.

4. Navigate to "UOM" Tab and create a new record with UOM="Pack".

5. Go to Purchase order(Procurement Management || Transactions || Purchase Order || Header ).
* Header:
** Select business partner (vendor/supplier) = McGiver
* Lines:
** Select Product = Beer
** Fill Order Quantity = 4 Packs (you make your order in packs of beer): Ordered Quantity is changed to 6x4 = 24 Units
* Save and complete the record.

6. Go to Goods Receipt( Procurement Management || Transactions || Goods Receipt || Header )
* Create a new record.Select the Business Partner = McGiver
* Click on Create Lines From Button.
** Under the Order drop down select the order created previously.
** You can see Quantity = 24 and Secondary Quantity = 4
** Change Secondary Quantity to 3 (supplier only sends you 3 of the 4 packs ordered): Quantity is updated to 3x6 = 18 Units
** Click on OK button.

7. Go to the Goods Receipt Line and check that:
* Order Quantity = 3 packs
* Movement Quantity = 18 Units

8. Select an Attribute Set and a Storage Bin and save.

9. Go back to the Goods Receipt Header and complete it.
(0023631)
rafaroda (developer)
2010-01-20 18:14
edited on: 2010-01-26 13:48

Please notice that the conversions between the principal UOM and the secondary UOM are always driven by the secondary UOM. This implies the following:

* You can create an order/goods/invoice line and select the order quantity (in its secondary UOM) and the conversion is made in the quantity field (to the principal UOM).

* You can Create Lines From selecting the secondary quantity (in the secondary UOM) and the conversion is made in the quantity field (to the principal UOM).

* Reverse conversions from the principal UOM to the secondary UOM are not done since they would lead to an infinite loop of conversions.

See feature request 0011911 The conversion of UOM is performed only in one direction

(0023685)
sureshbabu (reporter)
2010-01-21 05:55

Tested working fine
(0023748)
hudsonbot (developer)
2010-01-22 17:05

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/ce9f54a31dc7 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/ba83bb4d9240 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15962.obx [^]
(0023756)
hudsonbot (developer)
2010-01-22 17:05

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/2b1b1af06f22 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/ba83bb4d9240 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15962.obx [^]

- Issue History
Date Modified Username Field Change
2010-01-15 09:37 networkb New Issue
2010-01-15 09:37 networkb Assigned To => rafaroda
2010-01-15 10:44 psarobe Status new => scheduled
2010-01-15 10:44 psarobe Note Added: 0023467
2010-01-15 10:44 psarobe fix_in_branch => pi
2010-01-17 16:50 rafaroda Relationship added related to 0011981
2010-01-17 16:52 rafaroda Relationship added related to 0011943
2010-01-19 13:55 rafaroda Relationship added related to 0010431
2010-01-19 13:55 rafaroda Relationship added related to 0010923
2010-01-19 13:55 rafaroda Relationship added related to 0011960
2010-01-20 10:17 harikrishnan Assigned To rafaroda => harikrishnan
2010-01-20 10:18 harikrishnan Note Added: 0023599
2010-01-20 10:35 hgbot Checkin
2010-01-20 10:35 hgbot Note Added: 0023600
2010-01-20 10:35 hgbot Status scheduled => resolved
2010-01-20 10:35 hgbot Resolution open => fixed
2010-01-20 10:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ce9f54a31dc75bfae397f94a85be80e17432d703 [^]
2010-01-20 12:54 rafaroda Relationship added related to 0011807
2010-01-20 17:36 rafaroda Note Edited: 0023599
2010-01-20 17:38 rafaroda Note Deleted: 0023599
2010-01-20 17:48 hgbot Checkin
2010-01-20 17:48 hgbot Note Added: 0023628
2010-01-20 17:48 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/ce9f54a31dc75bfae397f94a85be80e17432d703 [^] => http://code.openbravo.com/erp/devel/pi/rev/2b1b1af06f22a72f83199eb89c9747a0e08d92be [^]
2010-01-20 17:56 rafaroda Note Added: 0023629
2010-01-20 18:14 rafaroda Note Added: 0023631
2010-01-21 05:55 sureshbabu Note Added: 0023685
2010-01-21 05:55 sureshbabu Status resolved => closed
2010-01-21 05:55 sureshbabu Fixed in Version => 2.50MP11
2010-01-22 00:00 anonymous sf_bug_id 0 => 2936688
2010-01-22 17:05 hudsonbot Checkin
2010-01-22 17:05 hudsonbot Note Added: 0023748
2010-01-22 17:05 hudsonbot Checkin
2010-01-22 17:05 hudsonbot Note Added: 0023756
2010-01-26 08:51 rafaroda Relationship added related to 0011911
2010-01-26 13:48 rafaroda Note Edited: 0023631


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker