Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015676Openbravo ERP03. Procurement managementpublic2011-01-17 11:242011-03-01 12:49
maite 
dalsasua 
urgentmajoralways
closedfixed 
5
2.50MP25 
2.50MP272.50MP27 
OBPS
Core
No
0015676: 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"
No tags attached.
related to defect 00145132.50MP22 closed harikrishnan Create Lines From Goods Receipt loads quantity of primary unit in both primary and secondary unit 
related to defect 00156592.50MP26 closed adrianromero Create Lines From Goods Receipt loads quantity of primary unit in both primary and secondary unit 
blocks defect 0016011 closed dalsasua Create Lines From Goods Receipt should load quantities (main and secondary) directly from the order 
Issue History
2011-01-17 11:24maiteNew Issue
2011-01-17 11:24maiteAssigned To => adrianromero
2011-01-17 11:24maiteModules => Core
2011-01-17 11:24maiteOBNetwork customer => Yes
2011-01-17 11:24maiteRelationship addedrelated to 0014513
2011-01-17 11:24maiteRelationship addedrelated to 0015659
2011-02-04 12:45adrianromeroNote Added: 0034054
2011-02-04 12:45adrianromeroAssigned Toadrianromero => maite
2011-02-04 12:45adrianromeroStatusnew => feedback
2011-02-07 11:22networkbStatusfeedback => new
2011-02-17 10:21dalsasuaAssigned Tomaite => dalsasua
2011-02-18 16:10adrianromeroStatusnew => scheduled
2011-02-18 16:10adrianromerofix_in_branch => pi
2011-02-18 16:10adrianromeroTypedefect => backport
2011-02-18 16:10adrianromerofix_in_branchpi =>
2011-02-18 16:10adrianromeroIssue cloned0016011
2011-02-18 16:10adrianromeroRelationship addedblocks 0016011
2011-02-18 16:11adrianromeroNote Added: 0034272
2011-02-18 16:11adrianromeroStatusscheduled => resolved
2011-02-18 16:11adrianromeroFixed in SCM revision => https://code.openbravo.com/erp/stable/2.50/rev/253b27c5a8e0 [^]
2011-02-18 16:11adrianromeroResolutionopen => fixed
2011-02-18 16:13adrianromeroNote Added: 0034273
2011-02-25 11:14adrianromeroRelationship addedblocks 0016055
2011-02-25 11:14adrianromeroRelationship deletedblocks 0016055
2011-03-01 12:49dalsasuaStatusresolved => closed
2011-03-01 12:49dalsasuaFixed in Version => 2.50MP27

Notes
(0034054)
adrianromero   
2011-02-04 12:45   
Could you please be more specific in the steps to test:

* What are the value fields in the document created
* What is the result obtained.
* What is the result expected

Thanks.
(0034272)
adrianromero   
2011-02-18 16:11   
https://code.openbravo.com/erp/stable/2.50/rev/253b27c5a8e0 [^]
changeset 9223 253b27c5a8e0
parent 9222 efd9369d413c
Fixes issue 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
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
(0034273)
adrianromero   
2011-02-18 16:13   
* 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.