Dynamics 365 Supply Chain Traceability: Lot and Serial Tracking for Recalls
dynamics 365 supply chain traceability
Also searched as
- d365 lot traceability recall
- d365 batch number tracking dimension
- d365 serial number traceability
Short answer
Traceability in Dynamics 365 Supply Chain Management rests on tracking dimensions: batch number and serial number, switched on through a tracking dimension group on each item. Once active on receipts, production and shipments, the Item tracing function can trace a lot forward to customers or backward to suppliers, which is the core of a recall.
Applies to: Dynamics 365 Supply Chain Management, with or without WMS. Menu names may vary slightly between versions.
Enable lot and serial traceability
- 1Decide per item whether you track by batch number, serial number, or both, and decide at which points the number is required.
- 2Create tracking dimension groups (Product information management > Setup > Dimension groups > Tracking dimension groups) with Batch number or Serial number active, and set the physical and financial inventory options accordingly.
- 3Set Active in sales process and other process flags on the group so numbers are captured at the sales issue, not just at receipt.
- 4Assign the tracking dimension group to the released product, ideally before any transactions exist.
- 5Capture the numbers at receipt (product receipt or inventory registration) and in production (report as finished with batch).
- 6Record supplier lot references on batch records, plus attributes such as expiry or best-before.
- 7Test: receive a lot, consume it into a finished good, ship the finished good, then run Item tracing from the raw material lot.
Forward and backward tracing
Item tracing follows inventory transactions that carry the tracking dimension. Backward tracing starts from a finished good lot and shows the component lots and suppliers that went into it. Forward tracing starts from a supplier lot and shows which production orders consumed it and which customers received the output.
The trace is only as complete as the data entered. If operators substitute a different lot at the line and do not record it, the chain breaks silently. Process discipline matters more than any setting.
Recall workflow
When a supplier notifies you of a bad lot, run a forward trace to list affected finished goods and sales shipments. Then block the remaining stock using batch disposition codes or a quality order so it cannot be picked, and contact the customers from the trace results.
Practice this on a mock recall each year and time it. The question regulators and customers ask is how fast you can name every shipment that contains the lot.
Common design traps
Changing the tracking dimension group on an item after stock exists is restricted for good reason. Plan it before go-live. For regulated products also decide whether batch merging is allowed, since merging lots destroys the one-to-one link between a physical lot and its history.
Try it here, free
D365 F&O Inventory Dimensions Reference
Lookup table of the product, storage and tracking inventory dimensions in D365 F&O and the dimension group flags that control them.
Common pitfalls
- !Making batch number active at receipt but not at sales issue, so shipments do not carry the lot.
- !Allowing free-text batch numbers with no naming convention, which makes supplier lot matching manual.
- !Merging batches for convenience and losing the lot lineage.
- !Never rehearsing a trace, then finding in a real recall that production consumption was not recorded by lot.
How an ERP-grounded AI assistant handles this
An assistant over the ERP data can answer a recall question in one step: list every customer shipment containing components from supplier lot X, with quantities and dates, and show the query so quality can verify it. Netray's private deployments keep that lot and customer data inside your own environment.
Frequently asked questions
What is the difference between a batch and a serial number in D365?
A batch number identifies a quantity of identical units made or received together. A serial number identifies one individual unit. Many items use one or the other, and some use both for stricter traceability.
Can D365 trace forward and backward?
Yes. The Item tracing function lets you start from a batch or serial and trace forward to where it was sold or consumed, or backward to its sources, based on recorded inventory transactions.
Can I add traceability to existing items?
Changing the tracking dimension group on items with on-hand or open transactions is restricted. Typically you clear stock, change the setup, and re-receive, or follow a controlled data migration.
Does traceability need the warehouse management module?
No. Batch and serial tracking works with standard inventory management. Warehouse management adds location-level control, but the tracing itself relies on tracking dimensions.
Related
Dynamics 365 Supply Chain Wave Planning and Inventory Journals
In Dynamics 365 Supply Chain Management, a wave is a batch of shipment lines released to the warehouse together. A wave template defines which wave steps run (for example reserve, replenish, create work), and work templates plus location directives then turn the wave into pick work. Inventory journals are a separate tool: they post stock adjustments, movements, transfers and counts directly against on-hand without a sales or purchase order.
How-toDynamics 365 Supply Chain Landed Cost: Voyages, Charges and Allocation
Landed cost in Dynamics 365 Supply Chain Management lets you add freight, duty, insurance and similar costs to the inventory cost of imported goods. You group purchase lines into a voyage, attach shipping containers, add costs from charges codes, and the system allocates those costs back to the received items so item cost reflects the true cost to land them.
Error fixD365 Master Planning Ran but No Planned Orders Were Generated
If a master planning run produces no planned orders, check in this order: the item is included in the plan, coverage is not set to Manual, the item is not stopped for purchase or production, a default order type exists, and the demand falls inside the plan's and item's time fences. Also confirm whether the plan uses Planning Optimization.
Error fixFixing "Cannot create a record in (table). The record already exists" in D365 F&SCM data entity imports
This is the standard kernel duplicate-key exception, thrown when the Data Management Framework tries to insert a staging row into a target table whose unique or alternate key already matches an existing record. It almost always means the entity's insert-vs-update logic did not recognize the target row as an update, not that you have a true accidental duplicate in your source file.
Error fixFixing "There are currently no batch servers available for processing" in D365 F&SCM
This message means the batch framework cannot find any AOS instance flagged as a batch server and available for the batch group the job is assigned to. The fix is almost always in server configuration (System administration > Servers) or batch group assignment, not in the batch job itself.
Error fixFixing "You do not have the following permissions on TableData (table): (permission)" in Business Central AL
This runtime error means the current user's assigned permission sets do not grant the required Insert, Modify, Delete, Read, or Execute right on that specific table. It is most common right after installing or updating a custom AL extension, because Business Central checks object-level permissions even for tables an extension owns.
AI for ERPAI for Dynamics 365 Finance and Supply Chain beyond Copilot
AI for D365 Finance and Supply Chain beyond Microsoft Copilot: private LLM grounded on data entities and OData, on-prem-capable via Local Business Data.
Stuck on Microsoft Dynamics 365 Supply Chain Management?
Talk to engineers who work inside Microsoft Dynamics 365 Supply Chain Management every week, and who build private AI that answers these questions from your own ERP data.
Keep exploring
Free tools
- D365 F&O Inventory Dimensions ReferenceLookup table of the product, storage and tracking inventory dimensions in D365 F&O and the dimension group flags that control them.
- D365 Batch Job ChecklistA practical checklist to design, review and monitor batch jobs in D365 F&O, covering batch groups, recurrence, alerts, cleanup jobs and go-live checks.
- D365 Standard Cost Rollup CalculatorCheck a standard cost for one manufactured item, from material and scrap through setup, run time and overhead, and see how lot size moves it.
ERP fixes and how-tos
- Dynamics 365 Supply Chain Wave Planning and Inventory JournalsHow wave planning and inventory journals work in Dynamics 365 Supply Chain Management: wave templates, wave steps, work templates, journal names and posting.
- Dynamics 365 Supply Chain Management API: OData, Custom Services and Data PackagesD365 Supply Chain / F&O APIs explained: OData data entities, custom services, the data management package API, Entra ID authentication and when to use each.
- Dynamics 365 Supply Chain Warehouse Only Mode: What It Is and Its LimitsWhat warehouse management only mode is in Dynamics 365 Supply Chain Management, how to enable it, how orders arrive as shipment orders, and its limits.
AI on your ERP
- AI for Dynamics 365 Finance and Supply Chain beyond CopilotAI for D365 Finance and Supply Chain beyond Microsoft Copilot: private LLM grounded on data entities and OData, on-prem-capable via Local Business Data.
- AI for Dynamics 365 Supply Chain Management on Local Business DataAI for Dynamics 365 Supply Chain Management's Local Business Data option: ground a private LLM on production and warehouse data at the edge.
Integrations
- How to use ChatGPT with Dynamics 365 Finance and Supply ChainUsing ChatGPT with Dynamics 365 Finance and Supply Chain: custom GPT actions over OData, exports versus live access, data controls and when to go private.
- How to add WhatsApp to Dynamics 365 Finance and Supply ChainHow to add WhatsApp to Dynamics 365 Finance and Supply Chain: business events, OData entities, Cloud API templates, opt-in rules and two-way replies.
Software
- Microsoft Dynamics 365 Finance and Supply ChainDynamics 365 Finance and Supply Chain Management explained for manufacturers: modules, data entities, OData, deployment, strengths, limits and alternatives.
- Dynamics 365 Field ServiceDynamics 365 Field Service handles work orders, resource scheduling and mobile technicians on Microsoft Dataverse. Modules, integrations and alternatives.