Advanced Lot Management
Release: Advanced Lot Management – 25.0.9678.54440
Description
This release of Advanced Lot Management addresses two critical bug fixes related to lot management in Food & Beverage and other inventory-intensive scenarios:
-
Scoped Expiration Date Update: The “Update Expiration Date” feature was incorrectly applied to all lot records sharing the same lot number across different items and bins. It is now correctly scoped to the selected line’s item and bin context, preventing unintended cross-item/cross-bin updates.
-
Audit Trail for Expiration Date on Lot Creation: The audit trail was missing entries for the “Expiration Date” field when a lot was first created or when a sublot was created. This release ensures that audit trail log entries are properly generated for the Expiration Date upon initial lot and sublot creation, improving traceability and quality control compliance.
User Stories
No User Story developed in this release.
Bugs
| Title | Description | Impact on previous version |
|---|---|---|
| [23800] – Update Expiration Date applied to all lot records regardless of item/bin | The “Update Expiration Date” feature was incorrectly applied to all lot records associated with the same lot number, even when they related to different items or bins. The confirmation prompt “Multiple locations/bins exist…” was triggered incorrectly. Fix: The bin-level filter (Bin Code) is now propagated through the selection buffer and applied via FilterGroup(2) on Lot No. Information records. The multiplicity detection logic in UpdateExpDateAction now anchors comparisons to the selected line’s bin, and only considers bins with positive net quantity. Impacted objects: Page 8086963, Page 8086978, Codeunit 8086965, Codeunit 8086966. |
Low risk. The bin-scoped filtering now affects all actions consuming the selection buffer (Update Expiration Date, Update Inspection Status, Print Lot Label, Update Lot Attribute Values). Users who previously relied on the cross-bin update behavior will now see updates applied only to the selected item/bin combination. |
| [24144] – Audit Trail – Expiration Date insertion is missing | When a lot was first created with an Expiration Date, no audit trail entry was recorded for the Expiration Date field. Similarly, when a sublot was created from a source lot carrying an expiration date, the audit trail for the new sublot did not capture the Expiration Date. Fix: A new first-time-creation branch was added in ItemJnlPostLineSubscrbr (OnAfterPostItemJnlLine subscriber) that detects unique ILE entries for a lot and generates an audit trail “new record” entry. A similar audit trail block was added in the CreateNewSublotWizard FinishAction. Impacted objects: Codeunit 8086985, Page 8086968. |
Low risk. New audit trail entries will now appear retroactively for any new lot or sublot creation with expiration dates. No impact on existing audit trail records. |
Events
No event added or updated in this release.