Recalculate stock cost
Somdul works out the cost of each sale when you post it, from the stock you had on that date. If a stock document is entered later but dated earlier (a goods receipt keyed in a week late, say), the sales in between keep the cost they were given. Recalculate stock cost works it all out again in date order and puts any difference through cost of sales in one adjustment.
Open in Somdul: Stock → Recalculate stock cost
Before you start
Section titled “Before you start”- Only an Admin or Accountant can see this page and post the adjustment.
- Stock on hand and the Inventory report show a note when a product has stock entered out of date order. That’s your sign to come here.
Step by step
Section titled “Step by step”-
Go to Stock → Recalculate stock cost. Somdul replays each product’s stock in date order, with your company’s costing method (moving average or FIFO).
-
Check the list. For each product whose cost needs correcting it shows the quantity, the stock value In the books, the Recalculated value and the Difference. The total shows how much more (or less) cost of sales there should be.

-
Choose the Date of the adjustment. It must be on or after the last stock movement of those products.
-
Click Post the adjustment.
Each product’s stock card gets a line for the adjustment, and its running cost (the average, or the FIFO layers) is corrected, so the next sale is costed right. If everything already matches, the page says so.
What happens in the accounts
Section titled “What happens in the accounts”Good Box Co., Ltd. bought 10 boxes at 10 baht on 1 October and sold all 10 on 5 October, costed at 100 baht. Later someone entered a receipt dated 3 October: 10 more boxes at 30 baht. With moving average, the sale on 5 October should have cost 200 baht (20 boxes worth 400 baht, half sold). Recalculating posts:
| Account | Debit | Credit |
|---|---|---|
| Cost of goods sold | 100.00 | |
| Inventory | 100.00 |
The 10 boxes left are now worth 200 baht, as they should be.
Common mistakes
Section titled “Common mistakes”- Dating the adjustment too early → Somdul asks for a date on or after the last stock movement it covers.
- Recalculating every day → there’s no need. Do it when the note appears, or before closing a month.
Questions
Section titled “Questions”Does it change my old sales documents?
Section titled “Does it change my old sales documents?”No. Posted documents stay as they are. The difference is one adjustment on the date you choose, with a line on each product’s stock card explaining it.
Why doesn’t a product I changed appear?
Section titled “Why doesn’t a product I changed appear?”Only products whose recalculated value differs from the books are listed. If the late document didn’t change any sale’s cost, there’s nothing to correct.