Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016011Openbravo ERP03. Procurement managementpublic2011-02-18 16:102011-05-24 10:55
adrianromero 
dalsasua 
urgentminoralways
closedfixed 
5
pi 
 
Core
No
0016011: Create Lines From Goods Receipt should load quantities (main and secondary) directly from the order
As conversion is already performed in order line values should be charged directly from there.
Due to that user should only define conversion from main unit to secondary unit in the application.
1. Define conversion in Master Data Management || Product Setup || Unit of Measure || Unit of Measure >> Conversion
2. Create purchase order using this conversion
3. Create receipt and press "Create Lines From"
closingMay2011
depends on backport 00156762.50MP27 closed dalsasua Create Lines From Goods Receipt should load quantities (main and secondary) directly from the order 
Issue History
2011-02-18 16:10adrianromeroNew Issue
2011-02-18 16:10adrianromeroAssigned To => dalsasua
2011-02-18 16:10adrianromeroModules => Core
2011-02-18 16:10adrianromeroIssue generated from0015676
2011-02-18 16:10adrianromeroRelationship addeddepends on 0015676
2011-02-21 17:34hgbotCheckin
2011-02-21 17:34hgbotNote Added: 0034287
2011-02-21 17:34hgbotStatusnew => resolved
2011-02-21 17:34hgbotResolutionopen => fixed
2011-02-21 17:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6ded4aab750f9182b5141b29fc4fceb329c9cca2 [^]
2011-02-21 17:34adrianromeroNote Added: 0034288
2011-05-24 10:11dalsasuaTag Attached: closingMay2011
2011-05-24 10:55dalsasuaStatusresolved => closed

Notes
(0034287)
hgbot   
2011-02-21 17:34   
Repository: erp/devel/pi
Changeset: 6ded4aab750f9182b5141b29fc4fceb329c9cca2
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Feb 21 17:32:41 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6ded4aab750f9182b5141b29fc4fceb329c9cca2 [^]

Fixes issue 16011 Create Lines From Goods Receipt should load quantities (main and secondary) directly from the order

It has been reviewed the SQL sentenced that retrieves the order lines to calculate the pending quantity to receipt in the secondary uom to calculate it based on the same quantity of the secondary uom in the order

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0034288)
adrianromero   
2011-02-21 17:34   
* Testing the issue

1. Master Data Management || Product Setup || Unit of Measure || Unit of Measure >> Conversion : define conversion from Unit to Bag. Multiple Rate by: 2
2. Procurement Management || Transactions || Purchase Order || Header : create order for Mcgiver and Beer. set 30 bags --> 15 unit. Complete.
3. Procurement Management || Transactions || Goods Receipt || Header : create record for Mcgiver and press "Create Lines From" button. Select previous Order.

Realize that grid shows:
15 Ud
30 Bag

Verify also that if there is not selected a secondary uom the dialog create lines from continues working properly

* Other areas affected

Only the "Create Lines From" dialog has been modified. No other areas affected.