Units of measure
UOMs, UOM categories, conversion factors and an item's own UOM table.
Every Item has a stock UOM, its Default Unit of Measure. Vouchers may use another UOM; ERP converts each row to stock UOM with a conversion factor.
ERP installs ERPNext's 239 UOMs, 18 UOM Categories and 232 UOM Conversion Factors.
| RecType | Fields |
|---|---|
| UOM | UOM Name, Symbol, Common Code, Category, Enabled, Must be Whole Number |
| UOM Category | A kind of measure, such as Mass or Length |
| UOM Conversion Factor | Category, From, To and Value: one From is Value To |
Nos has Must be Whole Number on. Product Bundles, Packing Slips, Pick Lists, putaway, reorder and stock reservations refuse a fraction of such a UOM.
The item's UOM table
The UOM tab lists the UOMs an item may use, each with its factor to the stock UOM.
On Item FLOUR, Default Unit of Measure is Kg.
Add a UOMs row Gram. Leave Conversion Factor empty and save. ERP fills it from UOM Conversion Factor: 0.001, the inverse of the installed Kg to Gram factor of 1000.
Add a row Bag with Conversion Factor 25 for a 25 kg bag.
Save keeps a stock UOM row with factor 1, and refuses the same UOM twice.
A Purchase Order row of 4 Bag then carries 100 Kg in stock quantity.
How ERP finds a factor
For a row's UOM and the item's stock UOM:
- The item's own UOMs row.
- A UOM Conversion Factor from the row's UOM to the stock UOM.
- One the other way round, inverted.
- Two factors through a third UOM in the same category.
Price lookups use the same factor. See Price lists.
Adding a factor
A UOM Conversion Factor pair can exist once. A second factor for the same From and To is refused, and the record keeps its name across fixture syncs.