Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028387Openbravo ERP04. Warehouse managementpublic2014-12-11 14:072014-12-30 23:27
aferraz 
umartirena 
lowminorsometimes
closedfixed 
30Professional Appliance
 
pi 
umartirena
Core
No
0028387: [Costing] Bill of Materials Production Accounting should always be created in the same order
Bill of Materials Production Accounting should always be created in the same order

In order to help JUnit tests assert Bill of Materials Production accounting, its lines should always be created in the same order.
In "QA Testing" client:

- Create a product with name "BOM - part 1", "Finished Goods" product category, "Purchase" price list version and 15.00 unit/lis price.

- Create another product with name "BOM - part 2", "Finished Goods" product category, "Purchase" price list version and 25.00 unit/lis price.

- Create another product with name "BOM", "Bill of Materials" product category and bill of materials checkbos selected. Navigate to Bill of Materials tab and create two new lines:
    BOM Product: BOM1 - part 1, BOM Quantity: 3
    BOM Product: BOM1 - part 2, BOM Quantity: 2
Click on Verify BOM button.

- Go to Bill of Materials Production window and create a new record. Navigate to Production Plan tab and create a new record with BOM product, quantity 10 and storage bin L01. Click on Create/Process Production button. Click on Create/Process Production button again. Click on Post button.

Navigate to Accounting tab and realize that Accounting lines don't follow any order.
The order should be:
1.- I/O Products line number
No tags attached.
Issue History
2014-12-11 14:07aferrazNew Issue
2014-12-11 14:07aferrazAssigned To => aferraz
2014-12-11 14:07aferrazModules => Core
2014-12-11 14:07aferrazTriggers an Emergency Pack => No
2014-12-15 10:01hgbotCheckin
2014-12-15 10:01hgbotNote Added: 0072491
2014-12-15 10:01hgbotStatusnew => resolved
2014-12-15 10:01hgbotResolutionopen => fixed
2014-12-15 10:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9a54bcd074e84f3d65db0aea2a3381049e77f3f3 [^]
2014-12-15 10:09aferrazReview Assigned To => umartirena
2014-12-15 10:09aferrazStatusresolved => closed
2014-12-15 10:12aferrazStatusclosed => new
2014-12-15 10:12aferrazResolutionfixed => open
2014-12-15 10:12aferrazStatusnew => scheduled
2014-12-15 10:12aferrazfix_in_branch => pi
2014-12-15 10:12aferrazStatusscheduled => resolved
2014-12-15 10:12aferrazResolutionopen => fixed
2014-12-15 10:12aferrazAssigned Toaferraz => umartirena
2014-12-16 13:55umartirenaNote Added: 0072549
2014-12-16 13:55umartirenaStatusresolved => closed
2014-12-16 13:55umartirenaFixed in Version => pi
2014-12-30 23:27hudsonbotCheckin
2014-12-30 23:27hudsonbotNote Added: 0073214

Notes
(0072491)
hgbot   
2014-12-15 10:01   
Repository: erp/devel/pi
Changeset: 9a54bcd074e84f3d65db0aea2a3381049e77f3f3
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Dec 11 14:13:06 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9a54bcd074e84f3d65db0aea2a3381049e77f3f3 [^]

Fixes bug 28387 BillofMaterialsAccounting should always be created in the same order

In order to help JUnit tests assert Bill of Materials Production accounting, an orderBy clause has been added when creating Bill of Materials Production Accounting lines, to be created always in the same order

---
M src/org/openbravo/erpCommon/ad_forms/DocLineProduction_data.xsql
---
(0072549)
umartirena   
2014-12-16 13:55   
Code Review and Testing Done.
(0073214)
hudsonbot   
2014-12-30 23:27   
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/6525fe229e06 [^]
Maturity status: Test