code change · fixManufacturingofficial - Microsoftreviewed - checked by Opus

#14014 Bug 648872: [UX][Manufacturing] Many actions are enabled on an empty "Released Produciton Orders" page resulting in errors when clicked

Actions on the Released Production Orders page are now disabled when the page opens with no records, preventing errors when users click them on an empty list.

Pull request · merged into main (BC30) on 2026-11-20 by ChethanT · 4 files (+225 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Page-level Boolean RecordActionsEnabled is set in OnAfterGetCurrRecord based on whether records exist
  • Disables navigation and processing action groups plus the Print Label action when no records are present
  • Individual action conditions still apply for stricter control, while group-level enablement handles nested and extension-added actions consistently
  • Transition from populated to empty list after initial load is not addressed as a known platform limitation
  • Test coverage includes initial empty and non-empty page states plus subcontracting extension actions
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#648872
  • Labels: AL: Apps (W1), Team: SCM
  • Systems: manufacturing
  • From the description: “Disable record-dependent actions on Released Production Orders when the page opens without any released production orders.”

No source states these links: they share an object, a model read them, or a person found the same subject.

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).