Inspection Status
Release: Inspection Status – 26.0.9692.58519
Description
This release delivers the integration of Inspection Status with the Advanced Planning Layer (APL) module, enabling lots to be excluded from supply planning calculations based on their inspection status. It also includes a fix for default inspection status resolution via TLS, broad-based code quality improvements (string overflow guards, type-safe document resolution, base app event signature alignment), new API fields, UI hardening, compiler-correctness fixes, permission set updates, and updated FR/NL/PT translations.
This release is particularly relevant for Food & Beverage customers who leverage both Inspection Status and Advanced Planning, as it ensures that lots under quarantine or inspection are properly excluded from regenerative planning calculations.
User Stories
| Title | Description | Setup Instructions | Impact on previous version |
|---|---|---|---|
| [22586] – Integration with Inspection Status - Calculate Regenerative Plan | Adds a new “Exclude from Planning” Boolean field on the Lot Inspection Status table and card/list pages. When enabled, lots carrying that inspection status are excluded from the Calculate Regenerative Plan. A new codeunit briINS_APLIntegrationHandler (8087095) detects APL installation and conditionally displays the field. New procedures InspectionStatusExcludedFromPlanning, NextInspectionStatusExcludedFromPlanning, and GetDefaultInspectionStatus are added to INSIntegrationImpl and wired via new event subscribers in INSIntegrationSubscr. |
The “Exclude from Planning” field appears automatically on the Inspection Status Card and List pages when the APL (Advanced Planning) app is installed. No manual setup required. Impacted objects: Table 8087062 (briINS_LotInspectionStatus), Page 8087062, Page 8087063, Codeunit 8087095 (NEW), Codeunit 8087068, Codeunit 8087067, Codeunit 8087078. | Breaking changes: SetInspectionStatusOnEntrySummary in Codeunit 8087071 has a new TrackingSpecification parameter. OnCreateEntrySummary2OnBeforeInsertOrModify subscriber in Codeunit 8087069 has an updated signature. OnBeforeCheckLines and OnAfterCheckWarehouseActivityLine subscribers in Codeunit 8087073 have updated signatures. OnAfterIsItemTrackingBlocked subscriber in Codeunit 8087091 has an updated signature. Extensions subscribing to or calling these symbols with the old signatures must be recompiled. |
| [22595] – Definition of Done - Release Tasks | Release preparation tasks including app dependency updates, script updates (replaced Unzip-Translations.ps1 with Update-Translations.ps1), permission set updates, compiler-correctness fixes (TableCaption → TableCaption(), AppInfo.Id → AppInfo.Id(), Count → Count()), CopyStr overflow guards on all selection filter assignments, Setup page hardening (DeleteAllowed = false, InsertAllowed = false), Codeunit 8087090 (InvtPickPageSubscriber) marked ObsoleteState = Pending with tag 26.0.0.0, new lastModifiedDateTime API field on pages 8087070 and 8087071, and updated FR/NL/PT translations. |
No setup required. Permission sets briINS_Basic (8087063) and briINS_Setup (8087062) are updated automatically. Impacted objects: PermissionSet 8087062, PermissionSet 8087063, Page 8087068 (Setup), Codeunit 8087064, Codeunit 8087087, Codeunit 8087075, Codeunit 8087062, Codeunit 8087088, Codeunit 8087090. |
briINS_InvtPickPageSubscriber (Codeunit 8087090) is now ObsoleteState = Pending — plan migration away from this codeunit. PermissionSetMgt subscriber signatures simplified (parameters removed). AssistedSetup subscriber RunReRunOfCompletedSetup has ObjectType parameter removed. |
Bugs
No bug fixed in this release.
⚠️ Note: Work item #22629 (FIX - Find Default Inspection Status via TLS) is linked to User Story #22586 and is addressed as part of the
GetDefaultInspectionStatusprocedure added toINSIntegrationImpl. The fix ensures that default inspection status is correctly resolved through the TLS integration layer rather than direct lookup.
Events
| Status | Type | Object Name | Event Name | Description |
|---|---|---|---|---|
| New | IntegrationEvent | briINS_APLIntegrationHandler | OnBeforeAdvancedPlanningInstalled | New event allowing external code to override the APL installation detection result before the default NAV App Installed App lookup is executed. |
| Updated | IntegrationEvent | briINS_DefaultInspStatusMgt | OnBeforeSetDefaultInspectionStatusOnAutomaticLotNoInformationCreation | Present in both versions with identical signatures — no breaking change. |
| Updated | IntegrationEvent | briINS_DefaultInspStatusMgt | OnBeforeFindDefaultInspectionStatus | Present in both versions with identical signatures — no breaking change. |
| Updated | IntegrationEvent | briINS_DefaultInspStatusMgt | OnAfterSetDefaultInspectionStatusOnAutomaticLotNoInformationCreation | Present in both versions with identical signatures — no breaking change. |
| Updated | IntegrationEvent | briINS_ValidationMgt | OnAfterSetDefaultInspectionInitialFilters | Present in both versions with identical signatures — no breaking change. |
| Updated | IntegrationEvent | briINS_ValidationMgt | OnBeforeFillValidationBuffer | Present in both versions with identical signatures — no breaking change. |
| Updated | IntegrationEvent | briINS_ValidationMgt | OnBeforeFindValidationBufferBestMatch | Present in both versions with identical signatures — no breaking change. |
| Updated | IntegrationEvent | briINS_ValidationMgt | OnBeforeInsertValidationBuffer | Present in both versions with identical signatures — no breaking change. |
| Updated | IntegrationEvent | briINS_LotSelectionMgt | OnAfterGetDocumentType | Present in both versions with identical signatures — no breaking change. |