Project:
View Revisions: Issue #35209 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0035209: Negative average cost after validating a costing rule in the past | ||
Revision | 2017-04-03 11:23 by ngarcia | ||
Steps To Reproduce | As group admin role: Launch the Initial Organization Setup process and create a new legal with accounting organization Create a new fiscal calendar Add 2016 and 2017 years to it and create its periods Assign the calendar to the organization and set it as ready Open the periods Create a new warehouse in that organization Add 4 storage bins to it Create a new product in that organization Increase its stock in the 4 storage bins by a physical inventory: Movement Date: 31-12-2016 Quantities: 8916, 4099, 3921 and 4329 Set the following preferences to Y: Enable Negative Stock Corrections Enable automatic Price Difference Corrections Create a new costing rule for that organization: Starting date: 01-01-2017 Select the option of Backdated Transactions Fixed Add an average cost of 241.8 to the product Starting date: 01-01-2017 Ending date: 31-12-9999 Launch the Costing Background Process and check it finishes successfully Check a negative average cost has been calculated for the product (-175.05) Create a new physical inventory in which stock is decreased, launch the costing background process and check the cost of the transaction is negative |
||
Revision | 2017-03-17 10:54 by ngarcia | ||
Steps To Reproduce | As group admin role: Launch the Initial Organization Setup process and create a new legal with accounting organization Create a new fiscal calendar Add 2016 and 2017 years to it and create its periods Assign the calendar to the organization and set it as ready Open the periods Create a new warehouse in that organization Add 4 storage bins to it Create a new product in that organization Increase its stock in the 4 storage bins by a physical inventory: Movement Date: 31-12-2016 Quantities: 8916, 4099, 3921 and 4329 Set the following preferences to Y: Enable Negative Stock Corrections Enable automatic Price Difference Corrections Create a new costing rule for that organization: Starting date: 31-12-2016 Select the option of Backdated Transactions Fixed Add an average cost of 241.8 to the product Starting date: 31-12-2016 Ending date: 31-12-9999 Launch the Costing Background Process and check it finishes successfully Check a negative average cost has been calculated for the product (-175.05) Create a new physical inventory in which stock is decreased, launch the costing background process and check the cost of the transaction is negative |
Copyright © 2000 - 2009 MantisBT Group |