Packaging Management
Release: Packaging Management – 25.0.9683.65401
Description
This release delivers critical bug fixes for the Packaging Management extension. The primary focus is on preventing accidental deletion of Item Packaging records during background processes (such as Adjust Cost – Item Entries) and fixing runtime errors that could occur when creating inventory put-away documents on sales return orders. Additionally, defensive code improvements have been applied to prevent potential text overflow errors in packaging line operations.
User Stories
No User Story developed in this release.
Bugs
| Title | Description | Impact on previous version |
|---|---|---|
| [24225] – Item Packaging records deleted during extension upgrade | When the Packaging Management extension was updated, the OnItemDelete subscriber in codeunit briPCK_ItemPackaging Subscr (71925831) could be triggered by temporary Item records created by background processes, causing real briPCK_ItemPackaging records to be erroneously deleted. The fix adds guard clauses: if Rec.IsTemporary() then exit and if Rec."No." = '' then exit, plus an IsEmpty check before DeleteAll. Additionally, DeleteAll(false) was changed to DeleteAll(true) to ensure OnDelete triggers fire correctly. |
Medium breaking risk: The change from DeleteAll(false) to DeleteAll(true) means OnDelete triggers on briPCK_ItemPackaging will now fire during cascading deletions. Any custom subscribers to OnDelete on this table will now be invoked. Customers with extensions subscribing to this table’s deletion events should verify compatibility. |
| [24238] – Item Packaging Records Deleted During Adjust Cost – Item Entries Process | Background processes such as “Adjust Cost – Item Entries” internally create and delete temporary Item records. Without the IsTemporary() guard, the OnItemDelete subscriber would match real packaging records and delete them. This fix (same code change as bug 24225) prevents this scenario. |
Same impact as bug 24225 above. |
Events
No event added or updated in this release.