If you void a shipment which was posted correctly /FIFO/at historical costs/ the value (amount) which is voided is calculated as quantity x current cost.
The correct amount should be quantity x historical costs
To reproduce in GardenWorld:
- Switch a product category to FIF
- Create a new product and assign it to this category and create prices
- Create invoice and receipt of Qty 1 and price 20 (for example) and post them
- Create second invoice and receipt of price 19 and Qty you want to and post them
- Create sales order, shipment and invoice for Qty 1 and post them
- Check FIFO price for the product. Should now be 19.
- Open posting for shipment. It will show 20 in balance.
- Void the shipment and post the reversed shipment.
- Check the posting for the reversed document. It shows 19 in balance instead of 20 because it uses the current cost.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We are moving all Open Support Requests, Bugs and Feature Requests to Compiere Case Management. Please refer to the following link for information on creating new Support Requests. http://www.compiere.com/support/community.php
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1784380
Originator: NO
Replicated.
To reproduce in GardenWorld:
- Switch a product category to FIF
- Create a new product and assign it to this category and create prices
- Create invoice and receipt of Qty 1 and price 20 (for example) and post them
- Create second invoice and receipt of price 19 and Qty you want to and post them
- Create sales order, shipment and invoice for Qty 1 and post them
- Check FIFO price for the product. Should now be 19.
- Open posting for shipment. It will show 20 in balance.
- Void the shipment and post the reversed shipment.
- Check the posting for the reversed document. It shows 19 in balance instead of 20 because it uses the current cost.
Logged In: YES
user_id=329831
Originator: NO
We are moving all Open Support Requests, Bugs and Feature Requests to Compiere Case Management. Please refer to the following link for information on creating new Support Requests.
http://www.compiere.com/support/community.php
Thank you