Sell an Item in a different unit of measure
You can keep stock of an Item in one unit, for example Unit, and sell it in another, for example Carton. ERPNext converts the sold quantity into the stock unit with a conversion factor. Stock reports always use the stock unit.
Prerequisites
- The Units of Measure exist.
- You know how many stock units each selling unit holds.
Add the selling unit to the Item
- Open the Item and check its Default Unit of Measure (the stock unit).
- On the UOM tab, add a row to the UOM Conversion Details table with the selling unit.
- Enter the Conversion Factor: how many stock units one selling unit holds. For example, a Carton of 10 Units has a factor of 10.
- Save.
Price the selling unit
Choose one way:
- A separate price for each unit: create an Item Price with the Item, the selling Price List, the UOM (for example Carton), and the rate. Use this when a carton has its own price, not exactly 10 times the unit price.
- A price from the conversion factor: select Price Not UOM Dependent on the Price List. ERPNext multiplies the stock-unit price by the conversion factor.
Sell in the selling unit
- On a Quotation, Sales Order, Delivery Note, or Sales Invoice, add the Item.
- Open the row with the pencil icon and select the UOM.
- Check the UOM Conversion Factor, the Qty, the Qty as per Stock UOM, and the Rate.
- Save.
For example:
| Field | Value |
|---|---|
| UOM | Carton |
| Qty | 3 |
| UOM Conversion Factor | 10 |
| Qty as per Stock UOM | 30 Units |
The stock ledger records 30 Units.
Fractional quantities
A quantity such as 1.5 is allowed only if the unit allows it. If Must be Whole Number is selected on the UOM, ERPNext rejects fractions. Serialized Items normally sell in whole units.
Troubleshooting
| Problem | Cause and fix |
|---|---|
| The selling unit is not offered | Add it to the UOM Conversion Details table on the Item. |
| The stock quantity is wrong | Correct the conversion factor on the Item. |
| No rate is fetched | Create an Item Price for that unit, or select Price Not UOM Dependent on the Price List. |
| A fraction is rejected | The unit has Must be Whole Number selected. |