Inventory · Units of measure

Units of measure: buy in one unit, sell in another

Units of measure in Daftiq let you keep a product's stock in one unit, such as pieces or kg, while buying and selling it in others, such as a carton of 12 or a 50 kg bag. Units belong to a category (weight, count, length, volume) with a conversion factor, and every purchase or sale line is converted to the stock unit when stock moves.

Last updated:

Inventory · Module page: Inventory

Where
Inventory → Units of measure
Standard units
kg, g, ton, bag-50kg, pcs, dozen, carton-12, m, cm, yard, ft, litre, ml
Per product
Stock unit, purchase unit and sales unit
Rule
Only units of the same category convert
Module
Inventory

Why do units of measure matter?

A grocery wholesaler buys oil in cartons and sells single bottles. A rice dealer buys by the ton and sells 50 kg bags. A cloth shop buys thaan by the metre and sells by the yard. If the system only knows one unit, someone has to convert by hand on every bill and invoice, and the stock goes wrong.

With units of measure, the product keeps its stock in one unit and each document line says which unit it is in. Daftiq does the arithmetic: 10 bag-50kg on a bill becomes 500 kg in stock.

How do I set up units of measure?

  1. Open Inventory → Units of measure and click Add standard units. Daftiq adds the Weight, Count, Length and Volume categories with their usual units. Units you already have keep their names and get a category and factor.
  2. To add your own, use Add a category (for example "Area") and Add a unit with its Name, Category, factor to the category's reference unit and the number of Decimals allowed (0 to 4).
  3. Under Product units, search a product and choose its Purchase unit and Sales unit. Only units in the same category as its Stock unit are accepted.
  4. On purchase orders, bills, goods receipts, sales orders, sales invoices and delivery orders, choose the line's unit. Stock always moves in the stock unit.

Units without a category do not convert. Give them a category and factor; the page lists them under Without a category so you can fix them.

How does the conversion work?

CategoryUnits and factorExample
Weight kg = 1, g = 0.001, ton = 1000, bag-50kg = 50 A bill for 2 ton adds 2,000 kg of stock
Count pcs = 1, dozen = 12, carton-12 = 12 Buy 5 carton-12, sell 60 pcs
Length m = 1, cm = 0.01, yard = 0.9144, ft = 0.3048 Stock in metres, sell by the yard
Volume litre = 1, ml = 0.001 Stock in litres, sell 500 ml bottles

What rules protect my stock?

  • Units of different categories never convert: Daftiq refuses a sale in kg of a product kept in pieces.
  • Once a unit is used by a product or a document line, its factor and category are locked, because changing them would change open documents. Create a new unit instead.
  • Each unit keeps its own number of decimals, so pieces stay whole while kg can have grams.

Which features use units of measure?

The weighbridge converts the weighed kg into the bill or invoice line's weight unit. Vehicle loading works out the load weight of a carton from the product weight per stock unit. Product variants copy the template's units to each variant. Purchase orders and sales orders carry the unit on each line through to the receipt, delivery and invoice.

Frequently asked questions

Can I buy in cartons and sell in pieces?

Yes. Keep stock in pcs, set the purchase unit to carton-12 and the sales unit to pcs. Daftiq converts both to pieces.

Can I add my own units?

Yes. Add a category and units with their factor to the category's reference unit and the decimals allowed.

Why can't I change a unit's factor?

Because it is already used on a product or a document. Changing it would alter open documents, so create a new unit instead.

Can a product be sold in a unit of another category?

No. Only units of the same category as the stock unit convert.

Do I need the Inventory module for units?

The Units of measure screen and per-product purchase and sales units are part of the Inventory module.

In this group: Inventory

Let Daftiq do the conversions

Add the standard units and set each product's purchase and sales unit once. See all Inventory features or the Inventory module.

Create a free account · Book a demo · Pricing