Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0044457 | Openbravo ERP | 03. Procurement management | public | 2020-06-23 15:01 | 2020-07-17 13:04 |
Reporter | gorkaion | ||||
Assigned To | inigo_lerga | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0044457: Wrong accounting dates on Landed Cost when Reference Date is before the documents being adjusted | ||||
Description | When a Landed Cost is posted the Reference Date is used as accounting date. If the Receipts added to the landed cost have a movement date after the reference date they have adjustments posted before the receipt. This is wrong as you are adjusting the accounting of a document before it is posted to the ledger. The same happen when the invoices are matched with the costs and the matching is posted. In this case it is used the accounting date in the cost tab, this date is defaulted to the Reference Date of the Landed Cost. If the invoice has a later accounting date you are posting the matching journal on a date before the invoice is posted. | ||||
Steps To Reproduce | 1. Create a Landed Cost Type: - Org: F&B España - Product: Electricidad. 2. Create a Purchase Invoice - Org: España Norte - Accounting date: 23-04-2020 - Product Electricidad - Amount of 320000 EUR 3. Create a Landed Cost: - Org: España Norte - Reference Date 01-10-2019 4. Add a Cost: - Landed Cost Type the one created on step 1. - Amount 300000EUR. - Accounting Date 01-01-2020 (change default value based on header) 5. Add a Receipt: - Select one with movement date after 1-10-2019 (for example 10000629 - 10-03-2020 - Bebidas Alegres, S.L.) 6. Process Landed Cost. 7. Post the Landed Cost. 8. Check the dates in the accounting tab under header are 01-10-2019. -- KO! They should be the date of the receipt 9. Go to created purchase invoice line. 10. Click on March LC Costs and select created Landed Cost. Match the full amount of hte invoice line 320000. 11. Process it checking the create adjustment flag. 12. Go to Landed Cost Cost tab. If matching is not processed process it and check the create adjustment flag. 13. Post it. 14. Check the dates in the accounting tab under Cost tab are 01-01-2020. -- KO! They should be the date of the invoice. 14. Check the dates in the accounting tab | ||||
Proposed Solution | It should follow the same logic than in Cost Adjustment document. - On the case of the Landed Cost accounting. It has to use the latest date form Receipts accounting date and Landed Cost Reference date. - On the case of the Matching Cost accounting. It has to use the latest date from Matched Invoice accounting date and Landed Cost Cost accounting date. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-06-23 15:01 | gorkaion | New Issue | |||
2020-06-23 15:01 | gorkaion | Assigned To | => Triage Finance | ||
2020-06-23 15:01 | gorkaion | Modules | => Core | ||
2020-06-23 15:01 | gorkaion | Resolution time | => 1594677600 | ||
2020-06-23 15:01 | gorkaion | Triggers an Emergency Pack | => No | ||
2020-06-23 17:17 | dmiguelez | Assigned To | Triage Finance => inigo_lerga | ||
2020-06-24 09:15 | inigo_lerga | Status | new => scheduled | ||
2020-07-06 11:06 | inigo_lerga | Note Added: 0121260 | |||
2020-07-16 10:11 | hgbot | Note Added: 0121487 | |||
2020-07-17 10:15 | hgbot | Resolution | open => fixed | ||
2020-07-17 10:15 | hgbot | Status | scheduled => closed | ||
2020-07-17 10:15 | hgbot | Note Added: 0121500 | |||
2020-07-17 10:15 | hgbot | Note Added: 0121501 | |||
2020-07-17 13:04 | hgbot | Note Added: 0121507 | |||
2020-07-17 13:04 | hgbot | Note Added: 0121508 | |||
2020-07-17 13:04 | hgbot | Note Added: 0121509 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|