Skip to main content

Reference unit cost and last direct cost

The module adds two "reference" costs to the item, calculated periodically by a dedicated batch job that can be limited to one or more locations:

  • Reference Unit Cost: average inventory cost, obtained by dividing the inventory value by the quantity on hand.
  • Reference Last Cost: unit cost of the latest posted purchase.

Unlike the standard Unit Cost and Last Direct Cost fields, these values can be calculated considering only the selected locations.

Field Where Description
Reference Unit Cost Item Card, after Unit Cost; Items list (hidden column, can be added with Personalize) Average inventory cost in the locations considered by the latest calculation.
Reference Last Cost Item Card, after Last Direct Cost; Items list (hidden column) Unit cost of the latest purchase receipt in the locations considered.

Blank fields mean a zero value (not yet calculated).

  1. Search for Calculate Reference Costs (lightbulb icon / Tell me).
  2. On the request page, optionally filter the Code field of the locations to consider. With no filter, all locations are considered.
  3. Choose OK. A progress window shows the item being processed.

The batch job processes all items that are not blocked:

  • Reference Unit Cost: total inventory value (actual plus expected cost) divided by the quantity on hand in the filtered locations. It is updated only if both quantity and value are positive; otherwise the previous value is kept.
  • Reference Last Cost: taken from the most recent inbound purchase item ledger entry (from a purchase receipt or invoice) in the filtered locations, as purchase amount (actual plus expected) divided by quantity. If there are no purchases, the previous value is kept.

The item is saved only if at least one of the two values has changed.