Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039454Openbravo ERP03. Procurement managementpublic2018-10-15 12:302018-10-17 09:28
plujan 
markmm82 
normalmajorhave not tried
closedfixed 
5
main 
3.0PR18Q43.0PR18Q4 
Sandrahuguet
Core
2017-11-06
3.0PR18Q1
https://code.openbravo.com/erp/devel/pi/rev/01c6dc6168f6 [^]
No
0039454: [PR18Q4] "Create Lines From" on Goods Receipt not working properly when using Alternate UOM
I've tried to create a partial receipt using the Create Lines From and when introducing the actual received quantity in AUoM the line is filled with the total quantity for the line.
1. Login as QA Admin user
2. Create a Purchase Order header with the following data:
-Type: Purchase Order
-Business Partner: Vendor A
-Warehouse: Spain warehouse
-Payment method: 1 (Spain)

3. Create three lines:
-Line 1: 10 Quantity of "Raw Material A"
-Line 2: 10 Quantity of "Raw Material B"
-Line 3: 10 Quantity of "Raw Material C"

4. Book the Order

5. Create a new Goods Receipt header with the same date of the Order
6. Click the "Create Lines From" button to open the pop up
7. Complete all the related data. Mark the line for Raw Material A to full return and set Raw Material B to 8 (as shown in the screenshot)
8. Accept the changes and check the result. Note the line for Raw Material B was set to 10 instead (as shown in the second screenshot)
No tags attached.
blocks defect 0039448 closed markmm82 [PR18Q4] "Create Lines From" on Goods Receipt not working properly when using Alternate UOM 
Issue History
2018-10-16 08:40SandrahuguetTypedefect => backport
2018-10-16 08:40SandrahuguetTarget Version => 3.0PR18Q4
2018-10-17 09:06hgbotCheckin
2018-10-17 09:06hgbotNote Added: 0107355
2018-10-17 09:06hgbotStatusscheduled => resolved
2018-10-17 09:06hgbotResolutionopen => fixed
2018-10-17 09:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR18Q4/rev/276b4538280238a63560eee71706f5badf597df1 [^]
2018-10-17 09:28SandrahuguetReview Assigned To => Sandrahuguet
2018-10-17 09:28SandrahuguetNote Added: 0107361
2018-10-17 09:28SandrahuguetStatusresolved => closed
2018-10-17 09:28SandrahuguetFixed in Version => 3.0PR18Q4

Notes
(0107355)
hgbot   
2018-10-17 09:06   
Repository: erp/backports/3.0PR18Q4
Changeset: 276b4538280238a63560eee71706f5badf597df1
Author: Mark <markmm82 <at> gmail.com>
Date: Tue Oct 16 10:10:47 2018 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR18Q4/rev/276b4538280238a63560eee71706f5badf597df1 [^]

Fixes issue 39454: "Create Lines From" on Goods Receipt not working properly
when using Alternate UOM

Was taking as the AUM Qty the original value from the line instead of the value
defned on the P&E, this way if the value is changed, for instance for partiall receipts
then the process will create a line with the selected quantity instead of the entire
quantity of the original line wich is creating from.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
---
(0107361)
Sandrahuguet   
2018-10-17 09:28   
Code review + testing OK