Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055836 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | unable to reproduce | 2024-06-25 13:26 | 2024-07-23 09:25 | |||
Reporter | sdossantos | View Status | public | |||||
Assigned To | aferraz | |||||||
Priority | high | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | PR22Q2 | SCM revision | ||||||
Review Assigned To | aferraz | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0055836: Processing order of cost adjustment lines | |||||||
Description | In the case of the price adjustment, the Cost Adjustment will be generated with the 2 lines of the good shipment that have the same transaction process date. So the process is going to take them according to line no. It will depend on the order in which they have been generated, whether they are taken in the same order in which they must be processed, taking into account whether the backdated ones are active, in that case they would have to be sorted first by movement date. | |||||||
Steps To Reproduce | When a landed cost is processed, the lines are ordered as follows: critLines.addOrder(Order.asc("trx." + MaterialTransaction.PROPERTY_TRANSACTIONPROCESSDATE)); critLines.addOrder(Order.asc("ca." + CostAdjustment.PROPERTY_DOCUMENTNO)); critLines.addOrder(Order.asc(CostAdjustmentLine.PROPERTY_LINENO)); critLines.addOrder(Order.asc(CostAdjustmentLine.PROPERTY_ADJUSTMENTAMOUNT)); critLines.addOrder(Order.asc("trx." + MaterialTransaction.PROPERTY_MOVEMENTDATE)); By: 1. trxProcessData: OK 2 document no: (they should all have the same because it is filtered by cost adjustment id) 3. line not ok 4. adjustment amount (there should be no line not equal) 5. movement date (??) | |||||||
Proposed Solution | Fix: they should be ordered by the same parameters as the transactions. And if you have 2 cost adjustment lines for the same transaction then order by line no. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0166307) frank_gonzalez (developer) 2024-06-25 13:51 |
Jira: https://openbravo.atlassian.net/browse/RM-14958 [^] |
(0166709) hgbot (developer) 2024-07-05 10:34 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1294 [^] |
(0167134) aferraz (manager) 2024-07-18 14:56 |
The problem raised by the customer is reported and fixed in 0055837 |
(0167253) hgbot (developer) 2024-07-23 09:25 |
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1294 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2024-06-25 13:26 | sdossantos | New Issue | |
2024-06-25 13:26 | sdossantos | Assigned To | => Triage Omni OMS |
2024-06-25 13:26 | sdossantos | Modules | => Core |
2024-06-25 13:26 | sdossantos | Triggers an Emergency Pack | => No |
2024-06-25 13:51 | frank_gonzalez | Note Added: 0166307 | |
2024-06-25 13:56 | Practics | Issue Monitored: Practics | |
2024-07-05 08:49 | aferraz | Relationship added | related to 0055837 |
2024-07-05 08:49 | aferraz | Assigned To | Triage Omni OMS => igor_trebol |
2024-07-05 10:34 | hgbot | Note Added: 0166709 | |
2024-07-12 10:04 | aferraz | Assigned To | igor_trebol => aferraz |
2024-07-18 14:56 | aferraz | Review Assigned To | => aferraz |
2024-07-18 14:56 | aferraz | Note Added: 0167134 | |
2024-07-18 14:56 | aferraz | Status | new => closed |
2024-07-18 14:56 | aferraz | Resolution | open => no change required |
2024-07-23 09:25 | hgbot | Note Added: 0167253 |
Copyright © 2000 - 2009 MantisBT Group |