This article explains how to fix stock value when the weighted average cost per stock unit is missing or incorrect on an article card. During a stock count, the quantity you enter overwrites the current on-hand balance. The stock value is calculated as quantity × weighted average cost per stock unit. Any value entered in the Cost per sales unit field is ignored by the standard stock count action. Use the steps below to reset and restore the correct weighted average cost and stock value.

Scenario A: The weighted average cost per stock unit is incorrect.
If the weighted average cost per stock unit is wrong, the stock value will also be wrong. A normal stock count cannot correct this because the system uses the current weighted average cost value to calculate stock value. Follow the steps below to reset and restore the correct value.
Open the inventory function on the article card. Enter the full on-hand quantity in the Quantity field. Select Type: Withdrawal. In the cost field, enter the value currently shown in the Weighted average cost per stock unit field.
Describe the reason for this action in the comment field (for example: “Reset due to incorrect weighted average cost”). Click OK.
The on-hand quantity is now 0 and the stock value is 0.
Add the correct quantity back. Select Type: Inbound delivery. Fill in Cost per sales unit using the price from the price row.
State the reason for the restoration in the comment field. Click OK.
The on-hand quantity is restored. The stock value and the weighted average cost per stock unit are now correct.

If the weighted average cost per stock unit is missing, the stock value will be wrong. A normal stock count cannot correct this because the calculation uses the (missing) weighted average value. Follow the steps below to reset and restore the correct value.
Open the stock inventory function using the button at the top right of the article card.
Enter the on-hand quantity. Select Type: Withdrawal. Leave the cost field empty (the value is 0).
Enter the reason in the comment field. Click OK.
The on-hand quantity is now 0.
Open the inventory function again. Enter the correct quantity. Select Type: Inbound delivery.
Fill in Cost per sales unit using the price from the price row. Add the reason in the comment field. Click OK.
The on-hand quantity is restored. The weighted average cost per stock unit and the stock value are now correct.
