AWRA OpsHub Search

A Tonne Is Not Yet Twenty Bags

Every item now carries a unit of measure, and an item held in tonnes, kilograms or litres takes a quantity to three decimals. What our system still does not do is the conversion: buying maize by the tonne and selling it by the fifty-kilo bag as one item is the piece that remains, and for a bulk business it is where the margin lives.

Inventory Insights AWRA OpsHub Team 12 min read

A warehouse in Lusaka holds 412 bags of fertiliser, 18,600 litres of diesel and 6.4 tonnes of maize. Our system now holds all three numbers, each in its own unit.

Updated 15 October 2026: fractional quantities and a unit on every item

When this post was first published, every quantity column was a whole number and there was no unit of measure anywhere in the product, so 6.4 tonnes could not be recorded at all. That changed on 14 October 2026. Each item now carries a unit from a fixed list — bags, cartons, bottles and other count units stay whole; tonnes, kilograms, litres and metres take up to three decimals — and stock is decimal across receipts, issues, transfers, counts, the till and purchase orders. The other half of the argument still stands: one item holds one unit, so buying in tonnes and selling in bags is still a conversion done by a person.

It holds 412 bags as a whole number, because a bag is a count unit and the item refuses 412.5. It holds 18,600 litres and 6.4 tonnes as measured quantities, to three decimal places. What it still cannot record is that one maize item is both tonnes and fifty-kilo bags with a ratio between them.

That remaining gap is a design question rather than a bug. A product built for organisations that count discrete objects grew a unit and a fraction when weighed goods arrived; the conversion between two units of the same thing is the next step, and it is the one this post is now about.

What was actually checked

Two things, both mechanical, both easy for you to ask any vendor to reproduce in front of you.

First: is there a unit of measure? Yes, as a field on the item, chosen from a fixed list and shown beside stock on the web and in the mobile app. It is held on the item only: invoice lines, purchase order lines and printed documents carry the quantity without the unit. And there is one unit per item, with no pack size or conversion factor beside it, which is why a catalogue that buys and sells in different units still reads Maize (50kg bag).

Second: can a quantity be fractional? Yes, for a measured unit. Every quantity column in the stock path — the item's stock figure, the per-location quantity, the transfer quantity, and the check-in and check-out quantities that move them — holds three decimal places, and the item's unit decides whether a fraction is accepted.

The product is now as precise about amount as it is about money. What it does not yet know is that a tonne is twenty bags.

The unit question has been published from a different direction: a catalogue is not a text field argues that a coded value is not a free-text field with rules. A unit chosen from a fixed list on the item is now the coded half of that; a unit on the invoice line, from a statutory catalogue, is still the open half.

Why this lands hardest here

Because the Zambian economy that buys software is disproportionately an economy of bulk. Maize and soya through the milling and stockfeed chain. Fertiliser and agro-chemicals inbound. Fuel in and out of tanks. Copper concentrate, cathode, cobalt hydroxide. Cement and aggregate. Timber. In every one of those, the thing you own is a mass or a volume, and the number that matters has a fractional part.

It is also an economy of two units at once. You buy in one and sell in another, and the conversion between them is where the margin lives. That is the part a single unit per item cannot help you with, because the system does not know there are two units to convert between.

What you actually hold What the system can hold What is still lost
6.4 tonnes of maize 6.4, on an item stocked in tonnes Nothing, as long as the item is held in tonnes
18,600 litres in a 20,000L tank 18,600 litres, on an item stocked in litres Nothing
A 25kg bag bought by the tonne One number, in one unit The purchase unit, the sales unit, and the ratio between them
A drum that is two-thirds full Two-thirds of its litres, if the item is stocked in litres Nothing in litres; still 0 or 1 if the item is stocked as drums
412 bags of fertiliser 412 Nothing — this is the case the product was built for

The third row is the one left. Most items in most catalogues look like the last row, and measured items now look like the first two, which is exactly why the remaining gap is easy to miss: it only appears where the unit you buy in differs from the unit you sell in.

What a single unit fixes, and what it leaves

  1. Shrinkage becomes measurable

    Grain loses weight to drying; fuel loses volume to temperature and evaporation. With the item held in kilograms or litres to three decimals, a 0.4% loss on a 6-tonne movement is a figure on the transfer record rather than something below the resolution of the instrument. This one is fixed.

  2. Valuation stops inheriting a rounding

    Cost is held per unit and multiplied by quantity. With the quantity held exactly, the value is exact too. This one is fixed.

  3. The conversion still gets done by a person

    Somebody buys 30 tonnes and books in 600 bags. Somebody else sells 12 bags and the tonnage report is produced in a spreadsheet on Friday. The arithmetic is trivial and correct nine times out of ten, which is what makes the tenth expensive — nothing in the system can check it, because the system has not been told that a tonne is twenty bags. This one is open.

  4. Two sites on two units is now refused

    The unit belongs to the item, not to the depot, so Lusaka and Kitwe cannot book the same item in bags and tonnes. What they can still do is create two items for one product, one per unit, and that is the habit to stop at go-live.

The old workaround, and when to keep it

This post used to recommend defining every item in the smallest unit you ever transact in — kilograms rather than tonnes — so a fraction of a tonne became a whole number of kilograms. It is no longer needed for the fraction: an item in tonnes takes 6.4 directly. It is still a sound choice for the two-unit problem, though. If you buy in tonnes and sell in 50kg bags, stock the item in kilograms; both sides are then whole multiples of one unit and the ratio is easy to check by eye.

One caution on it. Agree each item's unit before go-live and do not change it afterwards. The system will not switch an item holding a fractional quantity to a count unit until the stock is adjusted, and every historical figure keeps the unit it was recorded in.

The verdict

If your catalogue is things, this changes nothing about your evaluation. If your catalogue is mass or volume in one unit, set the unit on each item and the fraction is handled. If you buy in one unit and sell in another, treat that conversion as a first-round question rather than a detail — it is the piece we would scope with you.

Where we stand on this, precisely

What AWRA OpsHub does today

  • Stock tracked in each item's own unit — whole for count units, to three decimals for kg, l, m — per item, warehouse and bin.
  • A unit of measure on every item, from a fixed list, shown beside stock on the web and in the mobile app.
  • Fractional quantities through every stock path: receipts, issues, transfers, counts, holds, reservations, till sales and returns, and purchase order lines.
  • Shrinkage on a transfer recorded in the item's unit, so a drying or evaporation loss on a measured item is a figure rather than a rounding.
  • Batch and expiry tracking, with allocation ordered oldest-expiry-first on every issue path by default, or first-received-first per item.
  • Moving-average cost per item, blended on every receipt, with landed cost apportioned across what actually arrived on each delivery.
  • Money held to three decimal places, and per-line rates to two.

More we can add to your workspace

  • Buying in one unit and selling in another — a purchase unit, a stock unit and a conversion factor on one item, so the ratio stops being applied by a person on every transaction. Commission it
  • The item's unit on invoice and purchase order lines, printed beside the quantity it describes. Commission it
  • Catch weight, recording the actual weight of each bag or carton sold against a nominal unit. Commission it

Where we point you to a specialist

  • Whole quantities are correct behaviour for discrete goods, which is most catalogues, and the count units keep enforcing them. We are describing a fit question, not a defect.
  • The smallest-unit approach still closes most of the two-units problem for a business that buys and sells in multiples of one unit. It does not close it where the ratio varies by supplier or by delivery.
  • This is market-neutral. It applies wherever goods are weighed rather than counted; Zambia is where our own reader is most likely to be holding a tonne.

More we can add for you

What we can build for Southern Africa on top of the standard product

Everything listed above as something we can add describes what ships in the standard product today — it is a starting point for Southern Africa, not a limit on what AWRA OpsHub can do there. Kenya's eTIMS integration and its maintained payroll engine are in the product because Kenyan clients needed them and commissioned them; neither appeared by itself. The same door is open here. If a revenue authority pipeline, a bank or mobile money feed, a statutory return format, a rule specific to how your operation runs, or a link to a system you already have is what stands between you and a decision, tell us and we will scope it as a build — written spec, timeline and price — before you commit to anything.

Tax pipelines and return output

Return output in the shape your revenue authority expects and electronic invoicing against any prescribed interface, with retries, a failure queue and a reconciliation report.

Banks, EFT and card acquirers

Bank statement feeds, EFT and debit-order files and card acquirer settlements pulled into the Payments Register so receipts match invoices without re-keying.

The operational work, which is what most commissions actually are

An extra approval stage in a chain that does not match the standard one, a custom field set on employees or assets that only your sector needs, an expiry that has to block an order rather than send an email, a report your board asks for in a shape nothing produces, or a scanner or weighbridge feeding the goods-in door. These are the commissions we are asked for most often and the smallest ones we quote — and unlike a revenue-authority pipeline, none of them waits on a regulator.

Payroll and statutory returns

Payroll tax and social security schedules produced in the layout your filing body expects, generated from live payroll records rather than rebuilt each month.

Systems you already run

The accounting package, CRM, online store or custom database you intend to keep — connected through our API so a fact is entered once and appears everywhere it is needed.

How it works: you describe the requirement, we return a written scope, timeline and cost, and once agreed it is built into your environment and maintained as part of the product. No roadmap slide, and no pretending in a demo that something exists when it does not.

Tell us what you need integrated

What to ask any vendor, including us

Four questions that separate a real unit engine from a text field

Show me an item held in kilograms and sold in 50kg bags, with the conversion in the system.

A good answer sounds like

They configure a base unit and a sales unit with a ratio, then sell one bag and show 50 leaving stock.

What it actually means

If the demo is a naming convention and a mental calculation, they have what we have today: one unit per item. That is not disqualifying — it is just not what you asked.

Book in 6.4 tonnes. Not 6, not 6400.

A good answer sounds like

The field accepts it and the stock figure reads 6.4.

What it actually means

Fractional quantity is a schema property. Ours holds three decimals for an item in a measured unit.

What happens to the fraction when I move stock between sites?

A good answer sounds like

The same precision survives the transfer and the receipt.

What it actually means

Some systems hold decimals on the item and round them on movements, which is the worst of both — the balance drifts and nothing reports why. Ours carries the same three places through the transfer.

Can two depots record the same item in different units?

A good answer sounds like

No, because the unit belongs to the item, not to the depot.

What it actually means

If the answer is yes, you have a consolidation problem waiting for its first group report.

Talk to us about a bulk catalogue

If you move grain, fuel, chemicals or concentrate, tell us what your two units are and what the ratio is. We will tell you honestly whether one unit per item carries your operation or whether the conversion is worth building with you.

Start the conversation

Frequently asked questions

Can I record 6.4 tonnes?

Yes. Set the item's unit to tonnes, kilograms, litres or another measured unit and stock, receipts, issues, transfers, counts and the till take up to three decimals. Items in a count unit such as bags or cartons stay whole and refuse a fraction.

Do I still need to enter grams instead of kilograms to get a decimal?

No. A measured unit takes three decimals directly. Stocking in a smaller unit is still useful where you buy and sell in multiples of it, because the system holds one unit per item and does not convert between two.

Does the point-of-sale side use the unit?

The till sells the same item records as everything else, so it takes the same quantities: an item in kilograms can be sold as 2.5, an item in pieces cannot. What the till cannot do yet is sell an item by the bag when it is stocked by the kilogram.

Is the conversion something you would build for a specific customer?

Yes. A purchase unit, a stock unit and a conversion factor on one item builds on the unit and decimal quantities that already exist. Describe your units and ratios and we will come back with a written scope, timeline and cost before you commit to anything.

Share this article

LinkedIn X WhatsApp

Help Center

Need a quick answer while you read?

Run inventory, procurement, assets, sales, and field work with approved AWRA guidance for setup, migration, integrations, security, pricing, and support.

Search all approved AWRA public help articles.

Open Help Center