Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028286Openbravo ERP04. Warehouse managementpublic2014-11-26 10:352014-12-30 23:26
aferraz 
aferraz 
normalminorhave not tried
closedfixed 
30Professional Appliance
 
 
aferraz
Core
No
0028286: [Costing] Landed Cost Receipt Line Amount should always be created in the same order
Landed Cost Receipt Line Amount should always be created in the same order

In order to help JUnit tests assert landed cost, Landed Cost Receipt Line Amount should always be created in the same order.
In "QA Testing" client, create a Landed Cost with more than one Landed Cost Cost and insert a Receipt with more than one line. Realize that Receipt Line Amount lines don't follow any order.
The order should be:
1.- Landed Cost Receipt Goods Receipt document number
2.- Landed Cost Cost line number
3.- Landed Cost Receipt Goods Receipt Line line number
No tags attached.
Issue History
2014-11-26 10:35aferrazNew Issue
2014-11-26 10:35aferrazAssigned To => Sandrahuguet
2014-11-26 10:35aferrazModules => Core
2014-11-26 10:35aferrazTriggers an Emergency Pack => No
2014-11-27 18:39aferrazSummary[Costing] Landed Cost Receipt Line Amount and Accounting should always be created in the same order => [Costing] Landed Cost Receipt Line Amount should always be created in the same order
2014-11-27 18:39aferrazDescription Updatedbug_revision_view_page.php?rev_id=7171#r7171
2014-11-27 18:39aferrazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7173#r7173
2014-11-27 18:39aferrazProposed Solution updated
2014-11-28 14:46SandrahuguetAssigned ToSandrahuguet => aferraz
2014-12-04 20:51hgbotCheckin
2014-12-04 20:51hgbotNote Added: 0072290
2014-12-04 20:51hgbotStatusnew => resolved
2014-12-04 20:51hgbotResolutionopen => fixed
2014-12-04 20:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1f26de8763c01883bfe0da27593442c2fd944782 [^]
2014-12-04 20:52aferrazReview Assigned To => aferraz
2014-12-04 20:52aferrazStatusresolved => closed
2014-12-05 11:47aferrazStatusclosed => new
2014-12-05 11:47aferrazResolutionfixed => open
2014-12-05 14:12hgbotCheckin
2014-12-05 14:12hgbotNote Added: 0072311
2014-12-05 14:34aferrazStatusnew => scheduled
2014-12-05 14:34aferrazfix_in_branch => pi
2014-12-05 14:35aferrazStatusscheduled => resolved
2014-12-05 14:35aferrazResolutionopen => fixed
2014-12-05 14:35aferrazNote Added: 0072313
2014-12-05 14:35aferrazStatusresolved => closed
2014-12-30 23:26hudsonbotCheckin
2014-12-30 23:26hudsonbotNote Added: 0073176
2014-12-30 23:26hudsonbotCheckin
2014-12-30 23:26hudsonbotNote Added: 0073181

Notes
(0072290)
hgbot   
2014-12-04 20:51   
Repository: erp/devel/pi
Changeset: 1f26de8763c01883bfe0da27593442c2fd944782
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Dec 01 16:49:43 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1f26de8763c01883bfe0da27593442c2fd944782 [^]

Fixes bug 28286 LandedCostLineAmt should always be created in the same order

In order to help JUnit tests assert landed cost, an orderBy clause has been added when creating Landed Cost Receipt Line Amount lines, to be always created in the same order.

---
M src/org/openbravo/costing/LandedCostDistributionByAmount.java
M src/org/openbravo/costing/LandedCostProcess.java
---
(0072311)
hgbot   
2014-12-05 14:12   
Repository: erp/devel/pi
Changeset: cd56a855a806fe08a09c6ae3c88e48fcb65d55e9
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Dec 05 14:11:17 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cd56a855a806fe08a09c6ae3c88e48fcb65d55e9 [^]

Related to bug 28286 LandedCostLineAmt should always be created in the same order

The field in the order by clause must appear in the group by clause to prevent fail in Postgresql 8.4

---
M src/org/openbravo/costing/LandedCostDistributionByAmount.java
---
(0072313)
aferraz   
2014-12-05 14:35   
Verified
(0073176)
hudsonbot   
2014-12-30 23:26   
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
(0073181)
hudsonbot   
2014-12-30 23:26   
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