#8752 [Bug Fix] #638531: Disable Open TO from PO actions on non-subcontracting lines
The Open TO from PO actions on subcontracting purchase order lines are now properly disabled for non-subcontracting lines instead of appearing enabled but doing nothing.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-17 by ventselartur · 2 files (+75 -1), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Transfer Order and Return Transfer Order actions disabled on purchase lines without production order numbers
- Action enablement now depends on line-level subcontracting status via OnAfterGetCurrRecord trigger
- Prevents confusing UI behavior where actions appear available but execute no operation
- Regression test added to verify correct action state for both subcontracting and non-subcontracting lines
- Behaviour changes for users or extensions.
AL objects touched
- Page extension 20524 “Subc. PO Subform”, Subcontracting: modified
Context
- Work items: AB#638531
- Labels: AL: Apps (W1), Subcontracting, Team: SCM
- Systems: manufacturing
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).