In brief
An inventory discrepancy rarely means lost goods. Most often it is a document that reached one system but not another: a receipt not posted, a transfer between warehouses still in transit, a reservation in the online store, a different unit of measure. An AI Worker compares stock in the ERP, the warehouse management system and sales channels every day, looks for the cause of each difference in the documents and picks locations to recount. A person approves stock adjustments, write-offs and batch blocks.
Three systems, three stock levels
In a mid-sized distributor or manufacturer, the same item has a stock level in at least two places. The ERP keeps book stock per warehouse, the warehouse management system (WMS) keeps stock per location and batch, and the online store and marketplaces show stock available for sale. Each updates at a different pace and from different events.
The consequences are concrete. The store sells goods that are not there and the order has to be cancelled. The warehouse cannot issue goods the ERP shows, because they sit in a blocked location. Purchasing orders too much because the ERP does not see a receipt that is already on the shelf. That problem was the starting point of the case study on integrating an online store with marketplaces and a warehouse system, where stock synchronized with a delay led to selling products that were not available.
The most common causes
| Cause | How the difference looks | Where to find evidence |
|---|---|---|
| receipt in the WMS with no goods receipt (PZ) in the ERP | WMS shows more than the ERP | open purchase orders, receipts from recent days |
| goods issue note (WZ) posted, goods still at the dock | ERP shows less than the WMS | issues without a loading confirmation |
| transfer (MM) in transit | missing in one warehouse, surplus in another or nowhere | transfers with no receipt at the destination |
| store reservations and orders | the store shows less than the ERP | paid orders not yet shipped |
| different units of measure | a difference by a fixed multiple, such as 12 | the item record, pack conversion factor |
| customer returns | goods physically there, not in the system | returns put away without a document |
| picking error | surplus of one item, shortage of a similar one | issues of items with similar codes or looks |
| batch or expiry date | total stock matches, batch stock does not | batch history in the WMS |
Most of these causes are visible in the documents without walking the warehouse. That is why the order of work matters: documents first, then recounting locations.
How the AI Worker works
The Stock level checker reads stock and receipt, issue and transfer documents from the ERP, locations and batches from the WMS, stock in the store and on marketplaces, and stocktake results. Every day it runs four steps:
- Lines up stock levels. The same item in the ERP, the WMS and sales channels, in the same unit of measure.
- Flags discrepancies. Differences above the threshold in the rules card, negative stock and items with no movement for a long time.
- Looks for the cause in documents. For each difference it checks the causes in the table above and gives the most likely one with a document number, for example "receipt for purchase order 4512 recorded in the WMS on 12 Nov, missing in the ERP".
- Picks locations to recount. When documents do not explain the difference, it points to locations where the item is or could have been put away, and to locations of items with similar codes.
The result is a daily list of discrepancies with a likely cause and locations to recount. Some differences disappear on their own once someone completes a document. The rest go to the warehouse as a short list of locations to check, not an instruction to recount a whole zone.
What stays with a person, and how this relates to stocktaking
Stock adjustments in the ERP, write-offs or markdowns, and blocking a batch for sale wait for a person. These decisions change the financial result or product availability, so the AI Worker does not make them.
Daily checking does not replace stocktaking, but it makes it easier. The Polish Accounting Act allows stock held in guarded storage and covered by quantity and value records to be counted once every two years. A company that explains differences daily and recounts the suggested locations comes to the count with fewer surprises, and differences found are easier to explain because the history is in the log. The stocktaking rules themselves are set by the company with its chief accountant and auditor.
Master data decides the result
Some discrepancies are not movement errors but bad data in the item master: a missing pack conversion factor, two item codes for the same product, different codes in the ERP and the store. The AI Worker will point out such cases, but fixing them is separate work, covered in Item and business partner records in the ERP. A broader view is in Data quality.
For a pilot, stock exports from the ERP, WMS and store for a few days plus warehouse documents from two or three months are enough. The AI Worker shows a list of differences with causes, and the warehouse checks how many it got right. DYNAMINDS Labs starts with a free diagnosis, and the pilot usually takes 4 weeks on your company's data.
Questions and answers
Does the AI Worker correct stock in the ERP by itself?
No. Stock adjustments, write-offs and batch blocks wait for a person's approval. The AI Worker shows the difference, the likely cause and the document that explains it, and the warehouse clerk or manager makes the decision.
How long does it take to start daily stock checks?
A pilot on file data usually takes 4 weeks. Most of the work is agreeing which store item corresponds to which ERP item, what the units of measure are and which difference threshold matters. After the pilot, the AI Worker gets access to system exports or APIs.
Will it work if an outside logistics provider runs the warehouse?
Yes, if the provider shares a stock and movement report, even as a file. Differences between the provider's stock and the ERP are a common problem, and a list with causes makes the conversation with the provider easier.
Will the AI Worker detect theft?
It can point to patterns worth checking from that angle, such as repeated shortages of the same item in the same zone. It does not decide what happened. Explaining it is up to people, and a list of discrepancies with evidence helps narrow the search.