Release Date: 24. October 2025
Release Summary
This release improves the accuracy, traceability, and performance of shortage calculations in Business Central:
New timestamp field tracks when shortage status was last calculated, improving filtering and transparency.
Production Orders are now correctly included in supply calculations, resolving a key bug.
Enhanced filtering logic in the Calculate Shortage Report ensures more relevant and accurate results.
Refactored notification and license warning logic improves maintainability and error handling.
These updates support better decision-making and operational control for planners working with demand-driven shortages.
New Feature
Shortage Status
New Timestamp Field for Shortage Status Calculation on Sales and Production Orders
This field is automatically populated when the Calculate Shortage Status report is executed and updates the shortage status on orders. The timestamp reflects the exact moment the calculation was performed.
Key Benefits:
Traceability: Users can now see when an order’s shortage status was last calculated.
Filtering: Enables filtering of already-calculated orders in subsequent report runs.
Efficiency: Reduces redundant processing and improves performance in high-volume environments.
Transparency: Enhances user confidence in the accuracy and freshness of shortage status data.
This enhancement supports better operational control and decision-making by providing visibility into the timing of shortage status updates.
.png)
Bug Fixes
General
Production Orders Now included in Supply Calculation for Shortage on Demand Orders
A bug was identified in the Shortage on Demand Orders functionality where Production Orders were not included in the supply calculation, potentially leading to inaccurate shortage assessments. This issue has now been resolved.
The correction ensures that all relevant supply sources—including Production Orders—are properly considered when calculating shortages. The fix has been thoroughly tested and will be demonstrated in upcoming video content to provide clarity and guidance on the updated behavior.
Refactors
General
Refactored SCB Notification Scope Handling and License Warning Logic
The Scope field in the SCB Notification table within App Manager has been updated to use an enum for improved type safety and clarity. This change required a refactor of the GetNotificationScope function to align with the new enum structure.
Additionally, the logic for displaying license-related warnings has been updated. The function call has been changed to use NotificationMgt.ShowLicenseErrorWarning(AppModInfo.Id) in codeunit 6082940 "SCB 682 Notific. Management", ensuring consistent handling of license error notifications across the application.
These changes improve maintainability and reduce the risk of runtime errors related to scope handling and license warnings.
Redesign
Shortage Calculation
Improved Filtering and Status Calculation in Calculate Shortage Report
The Calculate Shortage Report now provides more accurate results when a shipment date filter is applied. Sales lines with shipment dates later than the specified filter date are excluded from the calculation, and their Shortage Status field is left blank. This ensures that only relevant sales lines within the filtered timeframe are considered.
Additionally, the Shortage Status on the report header now reflects the most critical status among the included (non-blank) lines, giving a clear overview of current shortages. Before recalculating, the status of all lines on the filtered orders is reset to prevent outdated statuses from affecting the report. These Improvements help avoid misleading results from future-dated sales lines and ensure the report accurately represents shortages for the selected period.