Move stock with a Stock Entry
A Stock Entry records stock that moves in, out, or between your warehouses when no purchase or sale is involved. Use it to issue material to a department, receive stock without a Purchase Receipt, move stock from one warehouse to another, or repack items.
Each Stock Entry has a Stock Entry Type. The type sets the purpose of the entry, and the purpose decides which warehouses ERPNext asks for. For the full list of purposes, see Stock Entry types and purposes.
Prerequisites
- The warehouses that the stock moves from and to.
- The Items that you move, with Maintain Stock selected.
Create a Stock Entry
Manufacturing entries usually come from a Work Order, and subcontracting entries come from the order. Create other entries by hand:
- Open the Stock Entry list and select New.
- In Stock Entry Type, select the type, for example Material Transfer.
- Optional: set Default Source Warehouse and Default Target Warehouse. ERPNext copies them into each row of the Items table.
- In the Items table, add each Item and its Qty. Set the Source Warehouse, the Target Warehouse, or both, as the purpose needs. Rows can use different warehouses.
- Check the Basic Rate (as per Stock UOM). ERPNext fills it from the valuation rate of the Item and calculates the amount.
- Save and submit the Stock Entry. ERPNext updates the stock ledger, and, with perpetual inventory, the general ledger.
| Purpose | Source Warehouse | Target Warehouse |
|---|---|---|
| Material Issue | Required | Not used |
| Material Receipt | Not used | Required |
| Material Transfer | Required | Required |

Optional fields on the Stock Entry
- Edit Posting Date and Time: lets you post the entry on an earlier date or time. Use it to back-date a movement.
- Inspection Required: asks for a Quality Inspection for each row before you can submit.
- From BOM: fetches the Items from a BOM No for the Finished Good Quantity that you enter. Select Get Items to fill the table. Available for purposes such as Material Issue, Manufacture, and Repack.
- Apply Putaway Rule: sets the target warehouses from your putaway rules. Available for Material Receipt and Material Transfer.
- Work Order: links a manufacturing entry to its Work Order.
Options in the Items table
- Allow Zero Valuation Rate: lets you submit a row when the valuation rate of the Item is zero, for example for a free sample from a supplier.
- Difference Account and Cost Center: the accounts that take the other side of the stock value. They show when perpetual inventory is on.
- Use Serial No / Batch Fields or Add Serial / Batch No: for Items with serial numbers or batches. See Serial and Batch Bundle.
Add costs to the valuation rate
Add costs such as freight, customs duty, or handling to the stock that comes in. ERPNext adds them to the valuation rate of the received Items.
- Open the Additional Costs tab.
- In the Additional Costs table, add a row for each cost. Enter the Expense Account, the Description, and the Amount.
- Save the Stock Entry.
ERPNext splits the Total Additional Costs across the rows that have a Target Warehouse, in proportion to their Basic Amount. Each row shows its share in Additional Cost, and the Valuation Rate includes it.
With perpetual inventory, ERPNext credits the Expense Account of each cost and debits the stock account of the target warehouse.

Record scrap, by-products, and process loss
On a Manufacture or Repack entry, you can record output other than the main finished good, and quantity lost in the process.
- Type (in an output row of a Manufacture entry): marks the row as a Co-Product, By-Product, Scrap, or Additional Finished Good. The row goes into its target warehouse at its own valuation rate. Set Valuation Type to decide how ERPNext values it.
- Process Loss Qty: the finished good quantity that you planned but did not produce. Process loss does not create a stock movement. ERPNext spreads the cost of the lost quantity over the quantity that you produced. For example, if you plan 100 units, use all the raw material, and produce 80, the 80 units carry the cost of all the raw material.
To record which raw material serial numbers or batches went into each finished good on a Manufacture or Repack entry, see Map raw materials to finished goods.
To learn more about manufacturing entries, see Work Order and material consumption.
Other fields on the Stock Entry
The Accounting Dimensions tab tags the entry with a Project, a Cost Center, and your other accounting dimensions.
The Other Info tab holds these fields:
- Print Heading and Letter Head: the heading and the letterhead of the printed entry. See Print Headings and Letter Head.
- Is Opening: marks the entry as an opening stock entry.
- Remarks: notes about the movement.
- Per Transferred: the share of a goods-in-transit entry that has arrived at its destination.
- Total Amount: the total value of the Items in the entry.
Move stock in two steps through a transit warehouse
When goods take time to travel between warehouses, select Add to Transit on a Material Transfer. The stock goes into a transit warehouse first, and a second entry receives it at the destination. See Track goods in transit between warehouses.
Change a submitted Stock Entry
You cannot edit a submitted Stock Entry. Cancel it, select Amend, make the changes, and submit the amended entry.
WARNING
Cancelling a Stock Entry reverses its stock ledger and general ledger entries. If later transactions depend on that stock, ERPNext reposts their valuation.