Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #34055 All Revisions ] Back to Issue ]
Summary 0034055: Wrong cost adjustment is made when stock reaches 0 but stock valuation is not 0 due to rounding issues
Revision 2016-10-11 15:12 by aferraz
Steps To Reproduce As system admin role:
   Set Cost Precision of the currency to 6
As group admin role:
   Set the following two preferences as Y:
      Allow to persist Unit Cost
      Enable Negative Stock Corrections
   Create a new product
   Create a physical inventory and add the previously created product:
      Quantity count: 19
      Cost: 26.24069
   Create two Goods Shipments: one of 10 units and one of 9 units
   Launch the Costing Background Process
   Check the Stock is 0.00 and Stock Valuation is 0.00 in Product - Unit Cost tab
   Launch the Reset Unit Cost process and check Stock Valuation is updated to -0.01, which is wrong.
   Create a new physical inventory:
      Quantity count: 19
      Cost: null
   Launch the Costing Background Process
   Check the Stock is 19 and the Stock Valuation is 498.55378
   Launch the Reset Unit Cost process and check the Stock is updated to 38, which is wrong.
Revision 2016-10-11 15:02 by aferraz
Steps To Reproduce As system admin role:
   Set Cost Precision of the currency to 6
As group admin role:
   Set the following two preferences as Y:
      Allow to persist Unit Cost
      Enable Negative Stock Corrections
   Create a new product
   Create a physical inventory and add the previously created product:
      Quantity count: 19
      Cost: 26.24069
   Create two Goods Shipments: one of 10 units and one of 9 units
   Launch the Costing Background Process
   Check the Stock is 0.00 and Stock Valuation is 0.00 in Product - Unit Cost tab
   Launch the Reset Unit Cost process and check Stock Valuation is updated to -0.01, which is wrong.
   Create a new physical inventory:
      Quantity count: 19
      Cost: null
   Launch the Costing Background Process
   Check the Stock is 19 but Stock Valuation is -0.00622, which is wrong
   Launch the Reset Unit Cost process and check the Stock is 38 and Stock Valuation is 498.55378, which is wrong.
   A negative stock correction Cost Adjustment of -0.006220 is created
Revision 2016-10-10 18:49 by aferraz
Steps To Reproduce As system admin role:
   Set Cost Precision of the currency to 6
As group admin role:
   Set the following two preferences as Y:
      Allow to persist Unit Cost
      Enable Negative Stock Corrections
   Create a new product
   Create a physical inventory and add the previously created product:
      Quantity count: 19
      Cost: 26.24069
   Create two Goods Shipments: one of 10 units and one of 9 units
   Launch the Costing Background Process
   Check the Stock is 0.00 and Stock Valuation is 0.00 in Product - Unit Cost tab
   Launch the Reset Unit Cost process and check values remain the same
   Create a new physical inventory:
      Quantity count: 19
      Cost: null
   Launch the Costing Background Process
   Check the Stock is 19 but Stock Valuation is -0.00622, which is wrong
   Launch the Reset Unit Cost process and check the Stock is 38 and Stock Valuation is 498.55378, which is wrong.
   A negative stock correction Cost Adjustment of -0.006220 is created
Revision 2016-10-10 18:41 by aferraz
Steps To Reproduce As system admin role:
   Set Cost Precision of the currency to 6
As group admin role:
   Set the following two preferences as Y:
      Allow to persist Unit Cost
      Enable Negative Stock Corrections
   Create a new product
   Create a physical inventory and add the previously created product:
      Quantity count: 19
      Cost: 26.24069
   Create two Goods Shipments: one of 10 units and one of 9 units
   Launch the Costing Background Process
   Check the Stock Valuation is 0.00 in Product - Unit Cost tab
   Launch the Reset Unit Cost process and check the stock valuation is updated to 0
   Create a new physical inventory:
      Quantity count: 19
      Cost: null
   Launch the Costing Background Process
   Check the Stock Valuation is 498.55378, which is wrong
   Launch the Reset Unit Cost process and check the values remain the same
   A negative stock correction Cost Adjustment of -0.006220 is created
Revision 2016-09-23 10:32 by ngarcia
Steps To Reproduce As system admin role:
   Set Cost Precision of the currency to 6
As group admin role:
   Set the following two preferences as Y:
      Allow to persist Unit Cost
      Enable Negative Stock Corrections
   Create a new product
   Create a physical inventory and add the previously created product:
      Quantity count: 19
      Cost: 26.24069
   Create two Goods Shipments: one of 10 units and one of 9 units
   Launch the Costing Background Process
   Check the Stock Valuation is -0.01 in Product - Unit Cost tab
   Launch the Reset Unit Cost process and check the stock valuation is updated to 0
   Create a new physical inventory:
      Quantity count: 19
      Cost: null
   Launch the Costing Background Process
   Check the Stock Valuation is 498.55378, which is wrong
   Launch the Reset Unit Cost process and check the values remain the same
   A negative stock correction Cost Adjustment of -0.006220 is created
Revision 2016-09-22 13:20 by ngarcia
Steps To Reproduce As system admin role:
   Set Cost Precision of the currency to 6
As group admin role:
   Set the following two preferences as Y:
      Allow to persist Unit Cost
      Enable Negative Stock Corrections
   Create a new product
   Create a physical inventory and add the previously created product:
      Quantity count: 19
      Cost: 26.24069
   Create two Goods Shipments: one of 10 units and one of 9 units
   Check the Stock Valuation is -0.01 in Product - Unit Cost tab
   Launch the Reset Unit Cost process and check the values remain the same
   Create a new physical inventory:
      Quantity count: 19
      Cost: null
   Check the Stock Valuation is 498.55378, which is wrong
   Launch the Reset Unit Cost process and check the values remain the same
   A negative stock correction Cost Adjustment of -0.006220 is created
Revision 2016-09-22 13:11 by ngarcia
Steps To Reproduce As system admin role:
   Set Cost Precision of the currency to 6
As group admin role:
   Set the following two preferences as Y:
      Allow to persist Unit Cost
      Enable Negative Stock Corrections
   Create a new product
   Create a physical inventory and add the previously created product:
      Quantity count: 19
      Cost: 26.24069
   Create two Goods Shipments: one of 10 units and one of 9 units
   Check the Stock Valuation is -0.01 in Product - Unit Cost tab
   Create a new physical inventory:
      Quantity count: 19
      Cost: null
   Check the Stock Valuation is 498.55378, which is wrong
   A negative stock correction Cost Adjustment of -0.006220 is created
Revision 2016-09-22 13:11 by ngarcia
Steps To Reproduce As system admin role:
   Set Cost Precision of the currency to 6
As group admin role:
   Set the following two preferences as Y:
      Allow to persist Unit Cost
      Enable Negative Stock Corrections
   Create a new product
   Create a physical inventory and add the previously created product:
      Quantity count: 19
      Cost: 26.24069
   Create two Goods Shipments: one of 10 units and one of 9 units
   Check the Stock Valuation if -0.01 in Product - Unit Cost tab
   Create a new physical inventory:
      Quantity count: 19
      Cost: null
   Check the Stock Valuation is 498.55378, which is wrong
   A negative stock correction Cost Adjustment of -0.006220 is created


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker