Stock Settings ​

Stock Settings holds the defaults and rules that apply to every stock document in ERPNext. Open Stock Settings from the search bar. The settings are grouped in tabs.

Defaults tab ​

Item Defaults ​

SettingDescription
Item Naming ByHow ERPNext names a new Item. Item Code (default) uses the code you enter. Naming Series hides the Item Code field and names Items from a naming series. When you select Naming Series, the Naming Series options field and the Configure Series button appear.
Default Item GroupThe Item Group that ERPNext sets on a new Item.
Default Valuation MethodThe valuation method for Items that have no method of their own: FIFO, Moving Average, or LIFO. ERPNext does not let you change it after stock transactions exist for Items that use this default. Learn about FIFO and moving average valuation and how to change the valuation method.

Price List Defaults ​

SettingDescription
Auto insert Item Price if missingWhen you use an Item in a transaction and the selected price list has no Item Price for it, ERPNext creates the Item Price from the rate in the transaction. Selling transactions use the selling price list, and buying transactions use the buying price list. Learn more about Item Prices.
Update existing Price List RateShown when Auto insert Item Price if missing is selected. Also updates an Item Price that already exists.
Update Price List based onShown when Auto insert Item Price if missing is selected. Rate (default) or Price List Rate: the transaction field that ERPNext copies into the Item Price.

WARNING

If Use prices from Default Price List as fallback is also selected in Selling Settings, prices from the default price list can be inserted into the transaction price list. ERPNext shows a message when you turn on both.

UOM Defaults ​

SettingDescription
Default Stock UOMThe stock unit of measure (UOM) that ERPNext sets on a new Item. Learn more about units of measure.
Allow to edit stock UOM qty for Sales documentsMakes the quantity in the stock UOM editable in sales documents. You enter the stock quantity, and ERPNext calculates the conversion factor.
Allow to edit stock UOM qty for Purchase documentsThe same, for purchase documents and Material Requests.
Allow to edit stock UOM qty for Stock EntryThe same, for Stock Entry rows.
Allow UOM with conversion rate defined in ItemIf selected, you can select a UOM in sales and purchase transactions only when the Item has a conversion factor for that UOM.

The three "Allow to edit" settings help when the stock UOM must stay a whole number and no exact conversion factor exists. For example, an Item is stocked in Nos and bought in boxes of uneven count. You enter the number of pieces, and ERPNext derives the conversion factor.

Warehouse Defaults ​

SettingDescription
Default WarehouseThe warehouse that ERPNext sets as the Default Warehouse on a new Item. A group warehouse is not allowed.
Sample Retention WarehouseThe warehouse that stores retained samples. A group warehouse is not allowed. Learn how to retain sample stock.

Stock Validations tab ​

Negative Stock ​

SettingDescription
Allow negative stockLets stock transactions take the quantity of an Item below zero. You can also allow this for a single Item in the Item form. ERPNext asks you to confirm, because FIFO and moving average valuation do not work while stock is negative. You cannot select it while Enable stock reservation is selected.

INFO

Allow negative stock does not apply to serialized or batched Items. For batches, see Allow negative stock for Batch on the Serial & Batch Item tab.

Learn how ERPNext adjusts the cost of goods sold for negative stock.

Quantity Tolerance ​

SettingDescription
Over Delivery/Receipt Allowance (%)The percentage by which you can receive or deliver more than the ordered quantity. For example, with an allowance of 10% on an order of 100 units, you can receive 110 units. Default 0.
Over Transfer Allowance (%)The percentage by which you can transfer more than the ordered quantity.
Over Picking Allowance (%)The percentage by which you can pick more than the ordered quantity in a Pick List.
Role Allowed to Over Deliver/ReceiveShown when Over Delivery/Receipt Allowance (%) is more than 0. Users with this role can deliver or receive more than the allowance.

Learn more about over-delivery and over-billing.

Display & Data Formatting ​

SettingDescription
Show barcode field in stock transactionsShows the barcode fields in Items and the Scan Barcode field in transactions. Selected by default. Learn more about barcodes.
Convert Item description to clean HTML in transactionsRemoves embedded styles from Item descriptions, for example styles copied from a website or a word processor. These styles can break print formats. When you turn the setting on, ERPNext also cleans the descriptions of existing Items. Selected by default. Clear it to keep custom HTML in descriptions.

Internal Transfer Rules ​

SettingDescription
Allow internal transfers at user-defined rateThe Item rate in an internal transfer does not change to the valuation rate. The accounting entries still use the valuation rate. Use it to show a different rate for printing or tax. Learn about internal transfers.
Validate Material Transfer warehousesIn a Material Transfer Stock Entry, the source and target warehouses must be different. If you use inventory dimensions, the warehouses can be the same when at least one dimension field is different.

Serial & Batch Item tab ​

SettingDescription
Activate Serial / Batch No for ItemTurns on serial and batch tracking. The other settings on this tab appear only when this setting is selected. You cannot clear it after any Serial and Batch Bundle is submitted, or while any Item has Has Serial No or Has Batch No selected.

Learn how serial numbers and batches work.

Serial Item settings ​

SettingDescription
Pick Serial / Batch Based OnThe order in which ERPNext picks serial numbers and batches for outward transactions: FIFO (default), LIFO, or Expiry. Shown when Auto create Serial and Batch Bundle for outward is selected.
Allow existing Serial No to be Manufactured/Received againLets a serial number that already exists be received or manufactured again. Selected by default.
Use Serial / Batch fieldsShows the Serial No and Batch No fields in transaction rows. On submit, ERPNext creates the Serial and Batch Bundle from these fields. Selected by default.
Disable Serial No and Batch selectorYou enter serial and batch data by hand instead of in the selector dialog. ERPNext keeps this selected while Use Serial / Batch fields is selected.

Batch Item settings ​

SettingDescription
Allow negative stock for BatchAllows negative stock for a batch only when a back-dated entry causes it. ERPNext blocks negative batch stock in every other case. Negative batch stock can give wrong valuation rates, so avoid this setting.
Do not use Batch-wise ValuationValues batched Items with the moving average method instead of the incoming rate of each batch. You cannot clear it after any Serial and Batch Bundle is submitted.
Have default Naming Series for Batch ID?Names new batches from a naming series. ERPNext uses it only when the Item has no batch naming series of its own.
Naming Series PrefixShown when Have default Naming Series for Batch ID? is selected. The prefix for batch IDs. Default BATCH-.

Learn more about batches and serial numbers.

Serial and Batch Bundle ​

SettingDescription
Auto create Serial and Batch Bundle for outwardCreates the Serial and Batch Bundle for outward transactions. Selected by default.
Do not update Serial / Batch on creation of auto bundleWhen ERPNext creates a bundle, it does not write the serial and batch values back into the transaction rows. Selected by default.
Auto Map Raw Materials to Finished GoodsOn submit of a Manufacture or Repack Stock Entry, maps the raw material serial and batch numbers that were not mapped in the draft to the finished goods, in order. Learn how to map raw materials to finished goods.
Set Serial and Batch Bundle Naming Based on Naming SeriesNames Serial and Batch Bundles from a naming series. When selected, the Naming Series options field and the Configure Series button appear.

Stock Reservation tab ​

SettingDescription
Enable stock reservationLets you keep aside a quantity of stock for a specific order. You cannot select it while Allow negative stock is selected. You cannot clear it while reserved stock exists. Learn about stock reservation.
Auto reserve stockReserves stock when you submit a Sales Order, Work Order, or Production Plan.
Allow partial reservationReserves the available stock when it is less than the order quantity. For example, for a Sales Order of 100 units with 90 units available, ERPNext reserves 90 units. Selected by default.
Auto reserve Stock for Sales Order on PurchaseReserves stock when you submit a Purchase Receipt created against a Material Request for a Sales Order.

Serial and Batch Reservation ​

SettingDescription
Auto reserve Serial and Batch NosReserves serial numbers and batches based on Pick Serial / Batch Based On. Selected by default. Shown when Enable stock reservation is selected.

Quality tab ​

SettingDescription
Allow to make Quality Inspection after Purchase / DeliveryLets you create a Quality Inspection after the Purchase Receipt or Delivery Note is submitted.
Action if Quality Inspection is rejectedStop (default) blocks the submission of the transaction. Warn shows a message and allows it.
Action if Quality Inspection is not submittedStop (default) or Warn, as above.

Learn more about Quality Inspection.

Stock Planning tab ​

SettingDescription
Raise Material Request when stock reaches re-order levelCreates Material Requests when the stock of an Item falls to the re-order level set in the Item.
Notify by email on creation of automatic Material RequestSends an email when ERPNext creates an automatic Material Request.

Learn how to set up automatic Material Requests.

Stock Closing tab ​

Control Historical Stock Transactions ​

SettingDescription
Freeze stocks older than (days)Stock transactions older than this number of days cannot be modified.
Stock frozen up toNo stock transactions can be created or modified on or before this date.
Role allowed to edit frozen stockShown when a freeze is set. Users with this role can create or modify frozen stock transactions.
Role allowed to create/edit back-dated transactionsIf set, only users with this role can create or modify a stock transaction dated earlier than the latest transaction for the same Item and warehouse. If blank, all users can.

Document Naming tab ​

This tab shows the naming series of the stock documents: Stock Entry, Purchase Receipt, Delivery Note, Material Request, Pick List, Stock Reconciliation, and Serial and Batch Bundle. The Item appears when Item Naming By is Naming Series. Learn more about naming series.

Errors ​

MessageCauseFix
Stock transactions before date are frozenThe posting date is on or before Stock frozen up to.Ask a user with the Role allowed to edit frozen stock, or change the date.
Not allowed to update stock transactions older than daysThe posting date is older than Freeze stocks older than (days).Ask a user with the Role allowed to edit frozen stock.
Can't change the valuation method, as there are transactions against some items which do not have its own valuation methodYou changed Default Valuation Method after stock transactions.Set the method on each Item instead. See Change the valuation method.
Group Warehouses cannot be used in transactionsDefault Warehouse or Sample Retention Warehouse is a group warehouse.Select a warehouse that is not a group.