Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045838 | Openbravo ERP | 04. Warehouse management | public | 2021-02-03 10:55 | 2021-02-19 10:35 |
|
Reporter | azabaleta | |
Assigned To | markmm82 | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR21Q2 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 21532 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045838: "Fix Backdated" process does not take into account previous manual adjustments |
Description | The "Fix backdated transactions" process can calculate incorrect costs for transactions that had a manual cost adjustements |
Steps To Reproduce | -Create a goods receipt at a price of 10€ for a new product at day 1. Calculate costs
-Create a goods receipt at a price of 20€ for a new product at day 10. Calculate costs.
-Create a shipment for that product at day 5. Calculate costs
----> At this point the transaction has a cost calculated of 15.
-Create a manual cost adjustement for the second receipt transaction to set the cost to 30 instead of 20.Calculate costs
- Execute fix backdated transactions process
----> The shipment transaction should have been corrected to 10 but it remains at 15, as the "Fix backdated" should have seen the manual cost adjustment, but he didnt.
|
Proposed Solution | Make the "Fix backdated transaction" process more intelligent to take into account these manual adjustements |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-02-03 10:55 | azabaleta | New Issue | |
2021-02-03 10:55 | azabaleta | Assigned To | => a_singh |
2021-02-03 10:55 | azabaleta | OBNetwork customer | => OBPS |
2021-02-03 10:55 | azabaleta | Modules | => Core |
2021-02-03 10:55 | azabaleta | Resolution time | => 1612911600 |
2021-02-03 10:55 | azabaleta | Triggers an Emergency Pack | => No |
2021-02-03 15:13 | gorkaion | Support ticket | => 21532 |
2021-02-03 15:13 | gorkaion | Resolution time | 1612911600 => 1614121200 |
2021-02-03 15:13 | gorkaion | Assigned To | a_singh => Triage Finance |
2021-02-03 15:13 | gorkaion | Priority | urgent => high |
2021-02-03 23:25 | markmm82 | Assigned To | Triage Finance => markmm82 |
2021-02-04 01:02 | markmm82 | Status | new => scheduled |
2021-02-12 00:28 | markmm82 | Note Added: 0126082 | |
2021-02-12 15:23 | hgbot | Merge Request Status | => open |
2021-02-12 15:23 | hgbot | Note Added: 0126097 | |
2021-02-16 16:25 | dmiguelez | Note Edited: 0126082 | bug_revision_view_page.php?bugnote_id=0126082#r22129 |
2021-02-17 15:04 | hgbot | Merge Request Status | open => approved |
2021-02-19 10:35 | hgbot | Resolution | open => fixed |
2021-02-19 10:35 | hgbot | Status | scheduled => closed |
2021-02-19 10:35 | hgbot | Note Added: 0126202 | |
2021-02-19 10:35 | hgbot | Fixed in Version | => PR21Q2 |
2021-02-19 10:35 | hgbot | Note Added: 0126203 | |
2021-02-19 10:35 | hgbot | Note Added: 0126204 | |
Notes |
|
(0126082)
|
markmm82
|
2021-02-12 00:28
(edited on: 2021-02-16 16:25) |
|
Test Plan:
As F&B Admin:
Create a new product and define a sales and purchase prices of 10.00 EUR
Create a purchase order with created product and quantity 1.
Be sure the price in the line is 10.00EUR.
Set date as 01/02/2021
Complete.
Create a Goods receipt from previously created purchase order (Set date as 01/02/2021). Complete.
Go to the Process Request window and schedule the "Costing Background process" to be executed immediately. Execute it to calculate costs.
Go to the Transactions tab after selecting the created product and check the transaction cost is 10.
Create another purchase order with same created product and quantity 1.
This time change the price in the line to 20.00EUR.
Set date as 10/02/2021
Complete.
Create a Goods receipt from previously created purchase order. Complete.
Go to the Process Request and execute "Costing Background process" to calculate costs.
Go to the Transactions tab after selecting the created product and check the transaction cost is 20.
Create a goods shipment with same created product and quantity 1.
Set date as 05/02/2021
Complete.
Go to the Process Request and execute "Costing Background process" to calculate costs.
Go to the Transactions tab after selecting the created product and check the transaction cost is 15.
Select the second receipt transaction and create a manual cost adjustement for it.
Set the cost to 30 instead of 20.
Go to the Process Request and execute "Costing Background process" to calculate costs.
Go to Costing Rules and enable Backdated Transactions from 01/01/2021
Go to the Transactions tab after selecting the created product and check the transaction cost for the shipment transaction have been corrected to 10
|
|
|
(0126097)
|
hgbot
|
2021-02-12 15:23
|
|
|
|
(0126202)
|
hgbot
|
2021-02-19 10:35
|
|
|
|
(0126203)
|
hgbot
|
2021-02-19 10:35
|
|
|
|
(0126204)
|
hgbot
|
2021-02-19 10:35
|
|
|