Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0040863 | Openbravo ERP | 04. Warehouse management | public | 2019-05-13 14:17 | 2019-07-05 11:38 | |||||||
Reporter | gorkaion | |||||||||||
Assigned To | nonofrancisco | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR19Q3 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | Sandrahuguet | |||||||||||
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 | 0040863: When cost of a void receipt is calculated only unit cost amount should be considered. | |||||||||||
Description | When a receipt has a cost adjustment. For example a negative stock correction. If this receipt is voided the cost of the negative receipt created to void it is calculated considering all the adjustment amount. This generates a balance in the "Non-Invoiced Receipts" account when posting the receipts. | |||||||||||
Steps To Reproduce | Create a Goods Receipt and process it. - BPartner: Bebidas Alegres - Product: Agua Sin Gas - Quantity: 100 Ensure that its cost is calculated. On the Transactions Tab of the Agua sin Gas product. Search the transaction of the created Goods Receipt and add a manual adjustment: - Amount: 20 - Incremental: True - Unit Cost: false Check that the total cost of the transaction is 20EUR higher than the unit cost. Go back to the Goods Receipt and void it. Execute the cost calculation background. Go back to the Transaction tab of the product and refresh it. Note that the cost of the receipt is the total cost of the original transaction instead of the unit cost. | |||||||||||
Proposed Solution | When calculating the cost of the void receipt it should only take the original cost of the receipt. If the original receipt has any adjustment that it is Unit Cost then a new Cost Adjustment should be automatically generated when the cost of the void receipt is calculated to include those. To ensure that the inventory valuation after the void is the same. For example: Goods receipt original cost: 100USD Price difference correction: 10USD unit cost true. Manual correction 15USD unit cost true. Negative Stock Correction: -20USD unit cost false. When it is voided the cost of the receipt should be 100USD. Then a cost adjustment needs to be created with 2 lines: - Price difference correction 10USD. - Manual correctoin 15USD. So the inventory valuation balance is: -20USD from the negative stock correction. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-05-13 14:17 | gorkaion | New Issue | ||||||||||
2019-05-13 14:17 | gorkaion | Assigned To | => Triage Finance | |||||||||
2019-05-13 14:17 | gorkaion | Modules | => Core | |||||||||
2019-05-13 14:17 | gorkaion | Resolution time | => 1559512800 | |||||||||
2019-05-13 14:17 | gorkaion | Triggers an Emergency Pack | => No | |||||||||
2019-05-13 14:47 | gorkaion | Status | new => feedback | |||||||||
2019-05-13 15:01 | gorkaion | Status | feedback => new | |||||||||
2019-05-13 15:01 | gorkaion | Description Updated | bug_revision_view_page.php?rev_id=18758#r18758 | |||||||||
2019-05-13 15:01 | gorkaion | Proposed Solution updated | ||||||||||
2019-05-13 15:32 | Sandrahuguet | Assigned To | Triage Finance => nonofrancisco | |||||||||
2019-05-14 20:23 | nonofrancisco | Status | new => scheduled | |||||||||
2019-05-27 21:35 | nonofrancisco | Note Added: 0112187 | ||||||||||
2019-05-30 09:02 | hgbot | Checkin | ||||||||||
2019-05-30 09:02 | hgbot | Note Added: 0112256 | ||||||||||
2019-05-30 09:02 | hgbot | Status | scheduled => resolved | |||||||||
2019-05-30 09:02 | hgbot | Resolution | open => fixed | |||||||||
2019-05-30 09:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/05d253f229e406a616de41fa8cba87c95062fb84 [^] | |||||||||
2019-05-30 10:10 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
2019-05-30 10:10 | Sandrahuguet | Note Added: 0112258 | ||||||||||
2019-05-30 10:10 | Sandrahuguet | Status | resolved => closed | |||||||||
2019-05-30 10:10 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 | |||||||||
2019-05-30 18:24 | hudsonbot | Checkin | ||||||||||
2019-05-30 18:24 | hudsonbot | Note Added: 0112284 | ||||||||||
2019-07-05 11:38 | gorkaion | Issue cloned | 0041295 | |||||||||
2019-07-05 11:38 | gorkaion | Relationship added | related to 0041295 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|