#10072 [main] - Serial and Lot number mismatch when item is produced via Production Order and moved to inventory through an Internal Put-away
Registering a warehouse put-away now checks each line that has a Serial No. against the open Item Ledger Entry for that item, variant, location and serial number. If that entry has a Lot No., the line's Lot No. must match it, so a blank or wrong lot can no longer be registered, for example after an internal put-away of produced items.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-11 by MSNehaNawal · 2 files (+86 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- New CheckItemTrackingRequiredForPutAway check added to CheckLines in Whse.-Activity-Register
- The check uses the posted Item Ledger Entry instead of item tracking configuration flags
- For put-away lines with a Serial No., the open ledger entry is found by Item, Variant, Location and Serial No.
- If that entry has a Lot No., the put-away line’s Lot No. must match it
- Fixes blank lots getting through when a production output is put away with an internal put-away; a test is added
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 7307 “Whse.-Activity-Register”, Base Application: modified
Context
- Work items: AB#642316
- Labels: Team: SCM
- Systems: warehouse
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).