On this page

Inventory costing ​

Purpose ​

This screen shows how inventory is costed in the current company. It also lets you recalculate costs after back-dated movements and, under the periodic method, run the periodic close.

Where to find it ​

  • Menu: Inventory → Costing.
  • URL: /inv/costing

Permissions ​

ActionPermission keyLabel in roles
Viewinv.costing.viewInventory costing - View
Recalculate costsinv.costing.recalculateInventory costing - Recalculate costs
Periodic FIFO closeinv.costing.periodic_closeInventory costing - Periodic close

Costing method ​

The first line shows the method and the average scope, for example "Costing: perpetual moving average, average per company." There are two methods:

  • perpetual moving average (the default): every receipt recalculates the average, every issue is valued at the running average, and each movement posts its own entry.
  • periodic FIFO: movements are charged to purchases, and the closing value is calculated at the periodic close.

The average scope is either company (one average per item across all warehouses) or warehouse. The method and scope are set in the inv.costing setting before the first movement, and can't change after that (MB1).

Recalculating costs ​

A movement posted with a date earlier than the item's latest movement changes the cost of the movements after it. The system queues a recalculation request for the item, and the number of pending requests is shown on the screen as Cost recalculation pending: … (IV6).

  • Requests run automatically every hour, or straight away when you select Recalculate costs.
  • The item's movements are replayed from the start. Value differences are recorded as cost adjustments, with one entry per item.
  • The adjustment entry takes the affected document's date if its period is open; otherwise it takes the first open period after it (D15, D7a).
  • A general ledger period can't be closed while it has a pending request.

Periodic close ​

This appears only under the periodic method. Enter the Period end (the last day of a period) and select Periodic FIFO close. The system then:

  1. Values each item's balance on a first-in, first-out basis.
  2. Takes the lower of FIFO cost and net realisable value (IV9).
  3. Posts the difference from the book value as an adjustment entry (inventory against purchases or cost of sales, and the write-down account).

Running the close again for the same period cancels and reverses the earlier close. A period with movements can't be closed until its periodic close has run.

The Periodic closes table shows Period end, Ending value, Adjustment and Superseded.

Business rules ​

  • Unit cost has six decimal places, and values use the currency's decimal places. The last units of a balance take whatever value remains (D6).

Error messages ​

MessageCause
The costing method cannot change after the first stock posting.You tried to change inv.costing after posting
A cost recalculation reaching into this period is pending.When closing a period: run the recalculation first
The periodic inventory close of this period is missing.When closing a period under the periodic method
The periodic close date must be the last day of a period.The date isn't valid