Table of Contents

Cost correction

The current article describes the calculation (and recalculation) of the actual cost. The article Original cost calculation describes how the original cost is calculated. Those calculations are accurate as long as the store transactions are entered in their original chronology. If the order is incorrect, so will be the cost.

Example 1:

There are two receipt transactions and one issuing transaction entered in the system:

  • receipt, Timestamp: 05 Jan 2020 12:45, 4 PCS, total cost: 100 EUR;

  • receipt, Timestamp: 05 Jan 2020 17:27, 3 PCS, total cost: 75 EUR;

According to the original cost calculation for average cost, the issuing transaction should be:

  • issue, Timestamp: 08 Jan 2020 11:29, 5PCS, total cost: 5 * (175/7) = 125 EUR;

There is another receipt transaction not entered on time. It happened on 07 Jan 2020 and was entered on 08 Jan 2020:

  • receipt, Timestamp: 07 Jan 2020 23:59, 3PCS , total cost: 105 EUR;

If the third receipt transaction is entered on time, then the unit cost on 08 Jan 2020 would be 280/10 = 28, not 25, as it was originally calculated in the issuing transaction. This is happening due to the late entering of the transaction in the system. The cost of the issuing transaction is incorrect and a recalculation is needed.

The effect of the incorrect cost from example 1 may influence not only issuing transactions. If the issuing operation was about ingredient consumption from the Production module, for example, then the cost of the production output would be incorrect as well. This leads to incorrect cost when issuing the production output.

If you don't enter the transactions in the system on time, there will be negative consequences. To correct them, there is a basic algorithm for cost correction calculation. This algorithm changes the costs as if they were entered on time. There is a document named cost correction, where the results from this calculation should be saved. Тhe rows of the document show how the cost is changed (base cost, product cost, store cost, and document cost) for each Transaction row affected.

Cost corrections allow the original cost to be changed. In each transaction row the fields are as follows:

[actual/corrected cost] = [original cost] + [adjustment cost]

where:

[original cost] = the product, store, document, and base cost saved in the transaction row;

[adjustment cost] = the sum of all product, store, document, and base cost values saved in the rows of all the released, non-voided cost corrections referring to the current transaction row.

For more specific information, see: