Skip to content

ERP · 11 min read

Inventory Management System: How It Works

The stock ledger, the documents that move stock, valuation and reorder rules, explained by a team that builds them, plus when a custom module pays.

Abidhusain ChidiFounder and CEO

Inventory management system drawn in chalk as a stock ledger of four movements fed by a stack of boxes

Key takeaways

  • An inventory management system stores stock movements, not quantities: on hand is the sum of the ledger rows.
  • Receipts, deliveries, transfers, adjustments, production issues and receipts, and returns move stock; orders only reserve it or put it on order.
  • Reorder rules should read projected stock, available plus on order, or they raise a fresh purchase order every day until the first one lands.
  • Under IAS 2, interchangeable stock is costed FIFO or by weighted average, so agree the formula with your accountant before go-live.
  • A custom inventory module pays off for unusual units, batch tracking, stock-based pricing, approval rules or consignment; standard stock rules belong in a package.

An inventory management system keeps one ledger of stock movements and works out three figures from it: what you hold, its value and when to reorder. Every goods receipt, delivery, transfer and count adds a row to that ledger, and nothing ever overwrites a quantity. That single rule is what separates a system from a spreadsheet. Below we walk through the ledger, the documents that write to it, valuation and reorder rules.

Inventory management system drawn in chalk as a stock ledger of four movements fed by a stack of boxes

We build inventory management systems inside a custom ERP, so this is the view from the database up: stock across locations, batches and serials, barcodes, reorder levels and counts, all tied to purchase, sales, production and accounts. For the wider picture, our guide to what an ERP system is shows where inventory sits among the other modules. Feature checklists and warehouse management systems, which plan bins and picking routes, are separate subjects. This post stays with how the stock records work.

What an inventory management system is

An inventory management system is software that knows, for each item in each location, how many you hold, how many are promised to customers, how many are on order and what they cost. It knows this because every physical movement is recorded against a document at the moment it happens.

In most businesses it replaces three things. First, the spreadsheet someone updates when they remember. Second, the physical count used as the only source of truth, which means the figure is right on one day a quarter. Third, the storekeeper’s memory, which works well until that person is on leave.

It is not your accounting package, though. Accounting records what stock is worth in total. The inventory side records which units sit where, and which receipt they came from. The two meet, as we explain further down, but they answer different questions.

Types of inventory management system

Two choices define the type. The first is when the records update. The second is whether the system stands alone or shares its data with the rest of an ERP.

Periodic and perpetual inventory

A periodic system counts stock at intervals, monthly or quarterly, and then works backwards. Cost of goods sold for the period is opening stock plus purchases minus closing stock. Between counts, nobody knows the true figure. A perpetual system, by contrast, posts each document as it happens. So the figure stays current, and the count becomes a check on the records rather than their source.

PeriodicPerpetual
When the stock figure is rightOn the day of the countAfter every posted document
Cost of goods soldDerived: opening plus purchases minus closingPosted with each issue
Losses show upAt the next count, as one lumpItem by item, as a variance on each cycle count
What it needsA count and a spreadsheetEvery movement recorded, usually by scanning
Who it suitsFew items, one location, slow turnoverSeveral locations, batches, or stock that turns weekly

Software exists to make perpetual tracking practical, so the rest of this post assumes it. Even so, a periodic count is still a sensible choice for a business with a few dozen items on one set of shelves.

Standalone or inside an ERP

A standalone inventory app keeps its own item list and syncs with your accounting tool and online store. It is quick to start. The cost appears later, because purchase, sales and production each keep a copy of the item and the customer, and the copies drift apart.

Inside an ERP, by contrast, inventory shares one item master, one list of suppliers and customers and one set of locations with every other module. A sales order reserves stock in the same database the purchase module reads when it suggests what to buy. That is the version we build, and it is the one described below.

How an inventory management system records stock

The design has four layers: the masters, the ledger, the documents that write to it and the rules that read from it. When we design an ERP, the masters and the document flows are agreed before any screen is built, because every report depends on them.

Items, units and locations

The item master holds what stays fixed from one transaction to the next. That means the code and description, the unit you count in and how it converts from the unit you buy in. It also says whether the item carries a batch or serial number, and what its reorder settings are.

Units need particular care. A fastener bought in boxes of 500 and issued by the piece needs the conversion stored on the item, not done in someone’s head. Fabric bought by the roll and sold by the metre is harder still, because no two rolls are the same length. So the real length has to be recorded at receipt.

Finally, locations are anywhere stock can sit and be counted: a warehouse, a shop, a van, the production floor, or a customer’s site holding consignment stock you still own.

The stock ledger

The ledger is the core of the system. Each row says: this item, this location, this quantity in or out, at this cost, on this date, because of this document. The system never stores on-hand quantity as a number someone can type over. Instead, on hand is simply the sum of the rows.

For example, take one item in a main store. A goods receipt brings in 120. A delivery to a customer takes out 45, and a transfer sends 20 to a second store. Then a count finds only 52 on the shelf, three short of the 55 expected, so an adjustment posts minus 3. Four rows, and the balance is 52.

Inventory management system stock ledger: a receipt of 120, a delivery of 45, a transfer of 20 and a count adjustment of 3 leave 52 on hand
On hand is the sum of the ledger rows; a count correction is a new row

Because nothing is overwritten, every number has a history. When a count disagrees with the records, you can see which document made the difference and who posted it. We design the database with strict constraints around stock for the same reason. A correction is always a new, dated row with a reason attached, never an edited total.

The documents that move stock

Only a handful of documents change the ledger, and orders are not among them. A purchase order or a sales order is a promise. It changes what is on order or reserved, never what is on hand.

DocumentWhat it does to the ledgerWhen it is posted
Goods receipt noteStock in, at the purchase costA supplier delivery is checked against its purchase order
Delivery noteStock out, valued by the cost formulaGoods leave for a customer
Stock transferOut of one location, into anotherStock moves between sites, or into a van
Stock adjustmentIn or out, with a reason codeA count, damage, expiry or a write-off
Material issueRaw materials out to productionA work order starts
Production receiptFinished goods in, at their built-up costA work order is completed
ReturnIn from a customer, or out to a supplierGoods come back, or go back

Each document also has a status. A delivery note in draft moves nothing, because posting it is what writes the rows. That matters for approvals. For example, an adjustment above a set value can wait for a manager before it posts, while the ledger stays clean in the meantime.

On hand, reserved, available and on order

One ledger produces several quantities. A screen that shows only one of them will mislead whoever reads it, so a good system shows them side by side:

  • On hand: the sum of the ledger rows, meaning what is physically there if the records are honest.
  • Reserved: stock promised to confirmed sales orders or work orders but not yet issued.
  • Available: on hand minus reserved, which is what sales can promise today.
  • On order: open purchase orders that have not been received yet.
  • Projected: available plus on order. This is the figure reorder rules should read.

Valuation: what the stock is worth

Every receipt row carries a cost, and every issue row takes cost out. Then the cost formula decides how much. According to the IFRS Foundation’s summary of IAS 2, the IFRS standard for inventories (read on 25 November 2026), interchangeable items are costed by weighted average or first-in, first-out (FIFO). Meanwhile, items that are not interchangeable use specific identification, and LIFO is not among the formulas it names. The same page counts the cost of bringing stock to its present location and condition as part of its cost. That is why a good system lets freight be added to a receipt as landed cost.

Here is how the formula changes the numbers. Say you receive 100 units at $4.00, then 100 more at $5.00, and then issue 150.

FIFOWeighted average
Cost of the 150 issued$650 (100 at $4.00, then 50 at $5.00)$675 (150 at $4.50)
Value of the 50 left$250$225
Total$900$900

The total is the same either way, but the split between cost of sales and closing stock is not. So agree the formula with your accountant before go-live. Changing it later is an accounting decision, not a setting someone flips.

Reorder rules in an inventory system

A reorder rule answers two questions: when to order, and how much. The usual answer to the first is a reorder point. That is average daily usage multiplied by the supplier’s lead time in days, plus a safety stock for the days that run above average.

Say an item sells 40 a day, the supplier takes 7 days and you keep 80 as safety stock. The reorder point is 40 × 7 + 80, which is 360. With a fixed order of 600, stock that starts at 680 falls to 360 on day 8 and the order goes out. If usage holds at the average, it lands on day 15 just as stock touches the safety level of 80.

Reorder point drawn to scale: stock falls 40 a day from 680, an order of 600 goes out at 360 on day 8 and lands at 80 on day 15
Reorder point 360 = 40 a day x 7 days + 80 safety stock

The rule must read projected stock, though, not on hand. Between day 8 and day 15, on hand sits below 360. A rule that reads on hand would raise a fresh purchase order on each of those days. A rule that reads projected stock sees the 600 already on order and waits.

Alternatively, many items run on minimum and maximum levels. When projected stock falls below the minimum, the system suggests enough to bring it back up to the maximum. Either way, the numbers only hold while lead times and usage stay current. That is why the system should compare the actual lead time of every receipt with the one stored on the item.

What an inventory management system connects to

Inventory is the module the others write to. In an ERP, one sales order updates stock, purchase, production and accounts, and nobody types it in twice. This is what each connection carries.

ModuleWhat it sends to inventoryWhat it reads back
PurchasePurchase orders (on order), goods receipts (stock in, at cost)Projected stock and reorder suggestions
SalesSales orders (reserved), delivery notes (stock out), returnsAvailable quantity to promise
ProductionWork orders (materials reserved), issues and production receiptsMaterial availability and batch details
AccountingNothing that moves stockThe value of each movement, for the stock and cost-of-sales accounts

The goods receipt also lets accounts match a supplier invoice to what actually arrived, rather than to what was ordered. Meanwhile, accounting itself usually stays where it is. We keep the product a finance team already runs, because its staff and auditors trust it, and we sync stock values to it. QuickBooks Online, Xero and Zoho Books offer modern APIs, so that sync can run in real time. Tally, however, is different. It takes XML over HTTP with no webhooks, so it needs a middleware layer that checks both sides still agree.

Who does not need an inventory management system

Plenty of businesses are better off without one, or need less than a custom build:

  • A service business whose only stock is printer paper.
  • A business with a few dozen items, one location and one person who places every order. A spreadsheet and a monthly count will do.
  • A business that needs bookkeeping with simple stock counts. That is an accounting product, not an ERP.
  • A business whose stock rules are standard, with fewer than fifteen users and no unusual workflows. Buy a package and go live.

Also, if nobody will own the data, no system will help. Item codes go stale, counts stop, and within months the spreadsheet is back.

When a custom inventory system beats a package

A packaged inventory product works when your rules match its settings. A custom module pays off when the rules that make your business work are the ones the package cannot express. These are the signals we look for:

  • Unusual units. Bought by weight and sold by count, rolls of different lengths, or one item stocked in two units at once.
  • Batches that matter. Expiry dates, recall tracing and batch genealogy, which records which raw batch went into which finished one.
  • Pricing tied to stock. A selling price set per batch, or worked out from the landed cost of the receipt it came from.
  • Approval rules. Adjustments above a value, transfers signed off at both ends, and permissions limited to a user’s own locations.
  • Stock you hold but do not own. Consignment stock, or raw material sitting with a subcontractor for job work.
  • Allocation across locations. Deciding which site ships an order when several hold the item.

In practice, the right answer is often a hybrid. Keep the accounting product, build the inventory module around your own rules, and connect the two. Our guide to custom ERP development cost breaks down the price of a module by scope. To test the decision against your own user count and licence fees, try the build vs buy calculator.

Before you choose an inventory management system

Whichever route you take, do this groundwork first. It makes any vendor’s answers easier to compare, including ours.

  1. First, count your items and locations, and list every unit you buy and sell in.
  2. Next, list the documents that move stock today, including the informal ones. A phone message telling a driver to take ten boxes to the second shop is a transfer.
  3. Decide which items need batch or serial tracking, and why.
  4. Agree the cost formula with your accountant.
  5. Count your top items and record the gap between the shelf and the records. Then measure it again three months after go-live. That cycle-count variance is the clearest sign the system is working.
TagsAccountingcustom erperp for smeOperational efficiency

Written by

Abidhusain Chidi

Founder and CEO

Founder of QalbIT Infotech and the engineer who still scopes most of its projects. Writes about what custom software really costs, how build-versus-buy decisions play out two years in, and the delivery habits that keep a product shipping, drawn from CRM, ERP, SaaS and MVP work Abid has been building since 2014 and the products QalbIT runs itself today.

FAQ


Frequently asked questions

Software that records every stock movement, such as a goods receipt, delivery, transfer or count adjustment, as a row in a ledger. From those rows it works out how much of each item you hold in each location, what it is worth and when to reorder.
A periodic system counts stock at intervals and works out cost of goods sold as opening stock plus purchases minus closing stock. A perpetual system posts every document as it happens, so the stock figure is current all the time and counts become a check on the records.
Usually with a reorder point: average daily usage times the supplier lead time in days, plus safety stock. An item selling 40 a day with a 7-day lead time and 80 in safety stock reorders at 360. The rule should compare that point with projected stock, not on hand.
No. A standalone inventory app syncs with your accounting tool and online store and is quick to start. Inside an ERP, inventory shares one item master, one list of parties and one set of locations with purchase, sales and production, so the copies cannot drift apart.
Under IAS 2, interchangeable items are costed first-in, first-out or by weighted average, and items that are not interchangeable by specific identification. The total stays the same, but the split between cost of sales and closing stock differs, so agree the formula with your accountant before go-live.
Yes. QuickBooks Online, Xero and Zoho Books offer modern APIs, so stock values can sync in real time. Tally takes XML over HTTP with no webhooks, so it needs a middleware layer that checks both sides still agree.
When the rules that make your business work are ones a package cannot express: unusual units, batch genealogy or expiry, prices tied to batches, approval rules, or consignment and job-work stock. With standard rules and fewer than fifteen users, buy a package. See custom ERP development.

Newsletter

Join 1,000+ smart readers

One email a month on building software that ships. Unsubscribe anytime.

Next step


Want the same clarity for your product?

A short call. A written range. No obligation.

Talk to us
Book a call

A written response within 48 hours.

Clutch 5.0Google 4.9