Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031095Openbravo ERP04. Warehouse managementpublic2015-10-08 11:062015-11-23 21:17
ngarcia 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
 
dmiguelez
OBPS
Core
38726
No
0031095: Cannot process a return material receipt if it has a line with a non stocked BOM product
Cannot process a return material receipt if it has a line with a non stocked BOM product
As group admin role:
   Create a product (Stocked = 'N', Bill of Materials = 'Y')
   Add two products in the Bill of Materials tab and Verify BOM
   Create a Goods Shipment with that product
   Explode it
   Add the storage bin where stock of the products is available to the new lines
   Complete the goods shipment
   Create a Return From Customer
   Check the three lines are available in the Pick/Edit lines
   Select the non stocked BOM and book it
   Check the product is exploded and the lines are orphan lines
   Create a Return Material Receipt
   Check the three lines are available in the Pick/Edit lines
   Select all of them
   Try to complete the receipt and check the following error message is shown:
      In line10 A BOM non-stocked is not exploded. Please, explode it manually.
No tags attached.
Issue History
2015-10-08 11:06ngarciaNew Issue
2015-10-08 11:06ngarciaAssigned To => Triage Finance
2015-10-08 11:06ngarciaOBNetwork customer => Yes
2015-10-08 11:06ngarciaModules => Core
2015-10-08 11:06ngarciaSupport ticket => 38726
2015-10-08 11:06ngarciaResolution time => 1447801200
2015-10-08 11:06ngarciaTriggers an Emergency Pack => No
2015-10-08 11:11heccamIssue Monitored: heccam
2015-11-17 09:30AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2015-11-18 14:38AtulOpenbravoStatusnew => scheduled
2015-11-18 15:47AtulOpenbravoNote Added: 0081958
2015-11-20 11:40hgbotCheckin
2015-11-20 11:40hgbotNote Added: 0082017
2015-11-20 11:40hgbotStatusscheduled => resolved
2015-11-20 11:40hgbotResolutionopen => fixed
2015-11-20 11:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4df3c3d106cdaf75dc55bdf527f6823fc9fca86d [^]
2015-11-20 11:40hgbotCheckin
2015-11-20 11:40hgbotNote Added: 0082018
2015-11-20 11:40dmiguelezReview Assigned To => dmiguelez
2015-11-20 11:40dmiguelezNote Added: 0082019
2015-11-20 11:40dmiguelezStatusresolved => closed
2015-11-23 10:20hgbotCheckin
2015-11-23 10:20hgbotNote Added: 0082059
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082259
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082260
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082262

Notes
(0081958)
AtulOpenbravo   
2015-11-18 15:47   
Test Plan
- Login as group admin role.
- Create a product (Stocked = 'N', Bill of Materials = 'Y').
- Add two products in the Bill of Materials tab and Verify BOM.
- Create a Goods Shipment with that product.
- Explode it.
- Add the storage bin where stock of the products is available to the new lines.
- Complete the goods shipment.
- Create a Return From Customer.
- Check the three lines are available in the Pick/Edit lines.
- Select the non stocked BOM and book it.
- Check the product is exploded and the lines are orphan lines.
- Create a Return Material Receipt.
- Check the three lines are available in the Pick/Edit lines.
- Select all of them.
- Complete the receipt and check that transaction is processed successfully.
(0082017)
hgbot   
2015-11-20 11:40   
Repository: erp/devel/pi
Changeset: 4df3c3d106cdaf75dc55bdf527f6823fc9fca86d
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Nov 18 19:56:37 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/4df3c3d106cdaf75dc55bdf527f6823fc9fca86d [^]

Fixes Issue 31095:Cannot process a return material receipt
if it has a line with a non stocked BOM product

Return material receipt lines is linked with bom parent references

---
M src-db/database/model/functions/M_EXPLODEBOMNOTSTOCK.xml
M src/org/openbravo/common/actionhandler/RMInOutPickEditLines.java
---
(0082018)
hgbot   
2015-11-20 11:40   
Repository: erp/devel/pi
Changeset: 33296d182063c7584eadaf8f506cafe2983e063b
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Nov 20 11:16:27 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/33296d182063c7584eadaf8f506cafe2983e063b [^]

Related to Issue 31095: Code Review changes.
Set the correct Parent BOM InoutLine.

---
M src/org/openbravo/common/actionhandler/RMInOutPickEditLines.java
---
(0082019)
dmiguelez   
2015-11-20 11:40   
Code Review + Testing Ok
(0082059)
hgbot   
2015-11-23 10:20   
Repository: erp/devel/pi
Changeset: 5f5ac0214dae9d842756f5910c58f0d1563e0644
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Nov 20 13:43:41 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5f5ac0214dae9d842756f5910c58f0d1563e0644 [^]

Related to Issue 31095. Latest Code Review changes.
If there are multiple non-Stocked BOM Products set the correct
Parent to each InOutLine.

---
M src/org/openbravo/common/actionhandler/RMInOutPickEditLines.java
---
(0082259)
hudsonbot   
2015-11-23 21:17   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7b56bebaaa88 [^]
Maturity status: Test
(0082260)
hudsonbot   
2015-11-23 21:17   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7b56bebaaa88 [^]
Maturity status: Test
(0082262)
hudsonbot   
2015-11-23 21:17   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7b56bebaaa88 [^]
Maturity status: Test