Calculating cost for inventory reconciliation
The cost of the receipt and issue store transactions resulting from an Inventory Reconciliation is calculated according to the availability at the Transaction Timestamp of the Inventory Reconciliation.
Before applying this algorithm, the system determines which store transactions participate in the original cost calculation. For details, see Original cost calculation.
The cost is determined in the following order:
The current availability of the Product in the Store is calculated at the Transaction Timestamp of the Inventory Reconciliation.
If the available quantity is different from zero, the average cost of the availability is used.
The average cost is calculated as:
Accumulated Cost / Available QuantityIf the available quantity is different from zero but the accumulated cost is zero, the average cost is zero. In this case, the Standard Cost Per Lot is not used.
If the available quantity is zero, the unit cost of the last preceding issue store transaction is used.
If there is no preceding issue store transaction, the Standard Cost Per Lot from the Product definition is used.
If none of the preceding sources provides a cost, the Inventory Reconciliation transaction is created with zero cost.
Example: Available quantity with zero accumulated cost
Before an Inventory Reconciliation receipt, the Store contains 1 PCS of the Product with zero accumulated cost.
The available quantity is different from zero, so the system uses the average cost:
0 / 1 PCS = 0
The Inventory Reconciliation receipt is therefore created with zero cost.
The Standard Cost Per Lot is not used because the available quantity is not zero.