Blended Lot Traceability: user guide
Version 1.29.1.0 for Business Central 29.
1. What the app assumes
- Vessels (tanks, silos) are bins in a location with Bin Mandatory on and Directed Put-away and Pick off.
- Each vessel holds one item, and that item uses an item tracking code with Lot Specific Tracking (and Lot Warehouse Tracking). Lots of the same item are mixed in the vessel; a different item needs a production order.
- Every quantity into or out of a vessel bin is posted as a tank movement. Any other posting into a vessel bin (item journal, purchase receipt, warehouse journal, physical inventory) is blocked, so the blend composition can never be incomplete.
- The original lots stay real, costed inventory. The app never renames a lot and never changes a posted quantity, cost or lot number.
2. Setup
Search for Blended Lot Traceability Setup.
| Field | What it does | Default |
|---|---|---|
| Posting Quantum | Smallest quantity a movement posts against one lot. Every movement quantity must be a whole multiple. | 0.00001 |
| Exhaustion Tolerance | Largest remainder a draw may clear completely instead of leaving an unpostable crumb. | 0.001 |
| Max. Live Lots per Vessel | Receipts that would add a lot beyond this number are blocked. | 50 |
| Block Unsupported Postings | Keep on. Blocks postings into vessel bins that are not tank movements. | On |
| Source Code, Draw Reason Code, Loss Reason Code | Stamped on the item ledger entries. | blank |
| Hold Propagation | All Ancestry: a blocked lot stops draws as long as the vessel physically contains it. Lots with Stock: only lots with posted stock count. | All Ancestry |
| Measurement Age Warning (Days) | Vessels with stock and no reading within this many days show on the role centre. | 7 |
| Allow Transfers Between Locations | Lets a vessel transfer move stock to a vessel in another location as one direct reclassification, with no stock in transit. | Off |
Then create Vessels: code, location, an empty bin, the item and optionally a capacity. A vessel cannot change location, bin or item once movements are posted; block it instead.
Assign permission sets: GSO BLT READ (view and trace), GSO BLT EDIT (post movements, record measurements, run recall cases), GSO BLT SETUP (setup and corrections). Users also need their normal permissions to post item journals. The Tank Operator profile gives the role centre.
3. Tank movements
Open Tank Movement. One line is one movement; preview the allocation, then post.
| Movement type | What it posts | Fields needed |
|---|---|---|
| Receipt | Positive adjustment of one lot into the vessel bin | Lot No., Quantity, optional Unit Cost |
| Draw | Negative adjustment, one line per lot, proportional to the blend | Quantity |
| Loss | Negative adjustment with the loss reason code, proportional | Quantity, Loss Reason |
| Vessel Transfer | Bin reclassification, lot by lot, into another vessel of the same item (same location, or another location when allowed in setup) | Quantity, To Vessel Code |
| Consumption | Production consumption against a released production order component, lot by lot | Quantity, Prod. Order No., Line No., Comp. Line No. |
| Cleaning | Nothing in Business Central; the next blend version has no lots | none (vessel must be empty) |
| Correction | Nothing in Business Central; the next blend version equals the bin stock | none (run from Vessel Reconciliation) |
Every outbound movement takes a proportional share of every lot in the vessel, posts whole posting quanta per lot, and records for each lot the attributed (physical) share at full precision, the posted quantity, the rounding difference and the rounding carry. The posted quantities always add up exactly to the movement quantity.
Expected Version No. protects against stale data: the preview fills it, and posting is refused if another movement changed the vessel in between.
4. Blend versions
Every movement creates the next blend version of the vessel (and, for a transfer, of the destination vessel too). A version lists each lot with its attributed quantity, its posted quantity and its share. Versions are never changed or deleted. A lot whose posted quantity reaches zero stays in the version as ancestry until a cleaning is recorded, because rounding does not prove the lot is physically gone.
5. Trace
Blended Lot Trace traces a lot forward through every vessel, transfer, draw, loss, consumption, correction and cleaning that involved it, or a movement (or any item ledger entry it posted) backward to its source lots and the movements that brought them in.
6. Recall cases
Recall Cases > New, enter item and lot, Run. The lines show vessel stock, every movement that carried a share, the production output lots of each production order the lot was consumed for, the customers that received the output, further consumption and output found by standard item tracing, and output still on hand. The header totals exposure. Run again to refresh; Close Case freezes the lines as evidence. Use Open in Excel on the lines to export.
7. Quality holds
Block a lot on Lot No. Information (standard). Draws, losses, consumptions and transfers are then refused from every vessel that contains the lot within the hold propagation policy; the error names the lots. Receipts of a blocked lot are refused. Standard Business Central refuses any posting of a blocked lot, so to record a loss from a held vessel (a leak or a spill), release the hold, post the loss and block the lot again.
8. Measurements
From the vessel card, Measurements: record type, value, unit, source, method, instrument and a note. The blend version, time and user are recorded. Measurements are never changed; record a new one with Corrects Entry No. to correct a reading.
9. Reconciliation and corrections
Vessel Reconciliation compares each vessel’s blend version with the warehouse entries in its bin and lists lot drift, foreign stock and missing versions. Post Correction creates a correction movement for one vessel: the next blend version takes the bin quantities and the movement is kept as an auditable fact. Foreign stock must be moved out with a warehouse reclassification first.
10. API
Base path: /api/gmsoft/bulkTraceability/v1.0/companies({id})/
GET vessels: code, location, bin, item, capacity, current version, quantity, live lots.POST tankMovementRequests:requestKey,movementType(Receipt, Draw, Loss, Vessel Transfer, Consumption, Cleaning, Correction),vesselCode,quantity,postingDate, and depending on the typelotNumber,unitCost,lossReason,toVesselCode,prodOrderNumber,prodOrderLineNumber,prodOrderCompLineNumber,expectedVersionNumber,externalDocumentNumber.
The request is posted at once. The same key with the same data returns the original movement without posting again; the same key with different data is refused. A failed posting stores nothing.
11. Frequently asked questions
Why does a draw refuse with "blend and bin stock differ"? A posting bypassed the tank movement. Run Vessel Reconciliation and post a correction.
Why is a drained lot still listed in traces and recall cases? Because rounding to zero stock is not physical proof. Record a cleaning when the empty vessel has been verified clean.
Why can I not change the posting quantum? A lot in a vessel holds a quantity that is not a whole multiple of the new quantum. Drain that vessel first.
Which costing methods are supported? Average costing is validated. Standard and FIFO post through the same standard routines but are not part of the release tests yet.
