How to set up lot and serial number tracking in Business Central
A supplier recalls a lot, or a customer returns a unit and you need to know which batch it came from. Business Central's item tracking answers both questions, but only if each item has the right item tracking code and every receipt and shipment records its numbers.
This article covers the item tracking code settings, how to assign numbers on purchase lines and select them on sales lines, how to bring tracked stock in as an opening balance, and how to trace a number afterward.
For the CFO, in three lines
- Why it matters: Lot and serial tracking lets you answer a recall or a return question in minutes.
- What goes wrong: Tracking only works if numbers are recorded on every receipt and shipment; gaps break the trail.
- Ask your team: Could we trace a recalled lot from vendor to customer today?
The item tracking code sets the rules
An item tracking code holds your policy for serial and lot numbers. You create codes on the Item Tracking Codes page, then assign one to each item. The Serial No., Lot No. and Package Tracking FastTabs hold the policy for each kind of number, and the Misc. FastTab holds expiration and warranty rules.
| Field | What it does |
|---|---|
| SN Specific Tracking / Lot Specific Tracking | Tracks each serial number or lot for its whole life. Every outbound transaction must name the number, and the number assigned on the way in must follow the item on the way out. |
| SN Warehouse Tracking / Lot Warehouse Tracking | Required if you want to assign tracking numbers in warehouse activities such as picks and put-aways. |
| Use Expiration Dates | Calculates expiration dates for tracked numbers. |
| Require Expiration Date Entry | Forces an expiration date on the item tracking line. |
| Strict Expiration Posting | Respects the expiration date recorded when the number came into inventory when it leaves inventory. |
| Warranty Date Formula / Require Warranty Date Entry | Calculates the last day of warranty, or forces a warranty date to be entered. |
When you select a specific-tracking field, the individual inbound and outbound fields are selected too. Microsoft notes that those inbound and outbound fields don't control application across inventory. They only define when in your workflow numbers must be assigned.
Assigning the code and number series to an item
- Open the Item Card.
- On the Item Tracking FastTab, choose the Item Tracking Code.
- Choose a Serial Nos. and a Lot Nos. number series if you want Business Central to generate numbers.
Recording numbers when goods arrive
On a purchase order line, choose Line, then Item Tracking Lines. You can fill in numbers in several ways:
- Assign Serial No. or Assign Lot No. (under Process) generates numbers from the item's number series.
- Create Customized SN builds serial numbers from a starting value you enter (for example S/N-Vend0001), an Increment and a Quantity to Create. Select Create New Lot No. to group them in a new lot.
- Type numbers manually, such as the vendor's own lot numbers.
The totals at the top of the page must match the document line. The Undefined fields show 0 when they do. When you post, the tracking entries move to the item ledger entries.
Here's a worked example. A purchase line for 100 units of a lot-tracked item arrives as two vendor lots:
| Item tracking line | Lot No. | Quantity |
|---|---|---|
| 1 | L-2201 | 60 |
| 2 | L-2202 | 40 |
| Total | 100 (Undefined 0) |
When the receipt posts, both lot numbers are carried to the item ledger entries. A later sales line for 50 units can then select 50 from L-2201, or split the 50 across both lots with Selected Quantity.
Selecting numbers when goods leave
On a sales order line, choose Line, Related Information, Item Tracking Lines. If numbers were assigned on receipt, select from them: pick a value in the Serial No. or Lot No. field, or choose Process, Select Entries and enter a Selected Quantity for each number. If your process assigns numbers only at shipment, use Assign Serial No., Assign Lot No. or Create Customized SN on the sales line instead.
Business Central shows availability on these pages, including Total Quantity, Total Requested Quantity and Total Available Quantity, and a warning icon if a number is already used on another document. The availability is calculated when the page opens; use Refresh Availability if you've had it open a while.
Transfer orders use one set of item tracking lines for shipment and receipt. Numbers shipped from one location must be received unchanged at the other.
Bringing tracked stock in as an opening balance
For stock already on hand, create an item journal batch with the Item Tracking on Lines toggle turned on. The Lot No., Serial No., Expiration Date and Warranty Date fields then appear on the journal lines, and you can fill them with Edit in Excel. For locations with directed put-away and pick, use the Warehouse Physical Inventory Journal, register, and then synchronize with the item ledger.
Tracing a lot or serial number
Open Item Tracing, enter the number in Serial No. Filter or Lot No. Filter, and choose a Trace Method:
- Usage -> Origin starts from where the item went (for example a sales shipment) and works back to where it came from.
- Origin -> Usage starts from where it entered inventory and works forward to every use.
Show Components adds the components of produced items (No, Item-tracked Only or All). Choose Trace to run it. To see open documents as well as posted entries for a number, use Find Entries with Search for item references.
Things to check
- Item Tracing only shows applied transactions. If the same lot was received on several transactions, not all of them may appear.
- Posted numbers can't be edited. To change a serial or lot number, or an expiration date, use an Item Reclassification Journal with New Serial No., New Lot No. or New Expiration Date. Leaving New Expiration Date blank clears the date.
- Merging lots needs one expiration date. When you merge several lots into a new lot, give them all the same new expiration date.
- Get Receipt Lines locks the numbers. When a purchase invoice pulls receipt lines, you can change tracking quantities but not the serial or lot numbers.
- Don't fill in numbers you don't track. If only SN Specific Tracking is on, leave Lot No. and Package No. empty, or warehouse flows may not line up.
- Block a bad number. Select Blocked on a serial or lot number information card to exclude it from transactions.
Microsoft's articles on setting up item tracking, working with serial and lot numbers and tracing item-tracked items have the full detail.
Pick the tracking code carefully, record numbers on every receipt, and Item Tracing can follow any lot from vendor to customer.
Item tracking checklist
- Each tracked item has an Item Tracking Code on the Item Tracking FastTab.
- Specific tracking is on for items that must be traced through their whole life.
- Warehouse tracking is on if tracked items move through picks and put-aways.
- Expiration rules are set on the Misc. FastTab for items that expire.
- Opening balances were posted from a batch with Item Tracking on Lines turned on.
- A test trace with Item Tracing returns the expected receipt and shipment.
