#13259 Protect from runtime error if Item Availability looses date filter
The Sales Order Agent's multi-item availability page now guards against runtime errors when the date filter is missing by checking that the filter exists before comparing shipment dates.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-28 by VolodySyn · 1 file (+6 -21), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Prevents runtime error when Date Filter is absent from the SOA Multi Items Availability page
- Checks that Date Filter is nonempty before calling GetRangeMax
- Preserves existing behavior when the date filter is present
- No changes to schema, permissions, or upgrade logic
- Low-risk defensive programming change
- Behaviour changes for users or extensions.
AL objects touched
- Page 4410 “SOA Multi Items Availability”, SalesOrderAgent: modified
Context
- Work items: AB#650540
- Labels: AL: Apps (W1), Team: SCM
- Systems: copilot
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Get an availability overview — possibly related: Documents item availability overview by period, location, and related filtering requirements. (model-linked)
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).