How-toMicrosoft Dynamics 365 Supply Chain ManagementInventory tracking dimensions / Item tracing

Dynamics 365 Supply Chain Traceability: Lot and Serial Tracking for Recalls

Question
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

  1. 1Decide per item whether you track by batch number, serial number, or both, and decide at which points the number is required.
  2. 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.
  3. 3Set Active in sales process and other process flags on the group so numbers are captured at the sales issue, not just at receipt.
  4. 4Assign the tracking dimension group to the released product, ideally before any transactions exist.
  5. 5Capture the numbers at receipt (product receipt or inventory registration) and in production (report as finished with batch).
  6. 6Record supplier lot references on batch records, plus attributes such as expiry or best-before.
  7. 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

Open full tool

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

How-to

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-to

Dynamics 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 fix

D365 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 fix

Fixing "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 fix

Fixing "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 fix

Fixing "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 ERP

AI 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

ERP fixes and how-tos

AI on your ERP

Integrations

Software