Set up standard cost for an item ​

Version 17

This feature is in ERPNext version 17, which is in development. ERPNext version 16 does not have it.

Use these steps to value an item at a fixed standard rate. To learn how the method works, see How standard cost valuation works.

Prerequisites ​

  • The item is a stock item with Maintain Stock selected.
  • The item has no stock transactions yet in the company. You cannot switch an item with stock transactions to standard cost.
  • A serialized item uses Serial No wise valuation. Without it, a serialized item must use Moving Average. See Serial No wise valuation.

Set the variance accounts ​

  1. Open the Company.
  2. Set Default Purchase Price Variance Account. ERPNext books purchase rate differences here.
  3. Set Default Manufacturing Variance Account. ERPNext books Manufacture and Repack differences here.
  4. Check that Stock Adjustment Account is set. ERPNext books revaluation gains and losses here.

Usually these are expense accounts. Choose them with your accountant.

To use other accounts for one item, set Purchase Price Variance Account and Manufacturing Variance Account in the Item Defaults table of the item, for the company.

If ERPNext finds no variance account on the item or the company, it stops the transaction and asks you to set one.

Choose the Standard Cost method ​

In the Item, set Valuation Method to Standard Cost.

Set the method on each item. The Default Stock Valuation Method of the Company has no Standard Cost option, and ERPNext uses the company default for an item with no valuation method.

Publish the first standard rate ​

  1. Create a new Item Standard Cost.
  2. Select the Item and the Company. The list shows only items that use the Standard Cost method.
  3. Enter the Standard Valuation Rate. It must be greater than zero.
  4. Set the Effective Date. It cannot be in the future.
  5. Save and submit.

You must create the first Item Standard Cost before any stock transaction of the item in the company. Then receive, issue, transfer, and manufacture the item as usual. ERPNext values every entry at the standard rate on its posting date.

Change the standard rate ​

  1. Make sure that all transactions dated before the new effective date are posted. After you submit, ERPNext blocks stock transactions dated before the effective date.
  2. Create a new Item Standard Cost for the item and company, with the new Standard Valuation Rate.
  3. Set an Effective Date after the effective date of the previous Item Standard Cost, and on or after the date of the last stock transaction of the item.
  4. Submit. ERPNext creates and submits a Stock Reconciliation that revalues the stock in all warehouses to the new rate, and links it in Revaluation Entry.

A Stock Reconciliation that sets a different Valuation Rate for a standard cost item also creates a new Item Standard Cost, effective on its posting date.

Troubleshooting ​

MessageCauseFix
Standard Cost can only be set up for ... before any stock transaction exists.The first Item Standard Cost is created after stock movement.Use a new item, or set up standard cost before the first transaction.
Valuation Method of Item ... must be set to 'Standard Cost'.The item does not use the Standard Cost method.Set Valuation Method to Standard Cost in the item.
Effective Date must be after ... (the last Standard Cost ...).The effective date is not later than the previous one.Choose a later effective date.
Effective Date cannot be before the last stock transaction date ...A transaction exists after the new effective date.Use the date of the last transaction or later.
Item ... has negative stock in ...A warehouse has negative stock.Bring the stock to zero or more, then submit the new rate.
Cannot post Standard Cost item ... on ...: it is before ..., the effective date of its latest Standard Valuation Rate ...A transaction is dated before the latest effective date.Post it on or after the effective date.
Valuation Method cannot be changed to or from 'Standard Cost' for ... because stock transactions already exist for it.The item already has stock transactions.Create a new item for standard cost.