#9747 [Subcontracting] Bug 641607: Fix misleading error message when disabling Legacy Subcontracting with open WIP purchase orders
Fixed the error message when disabling Legacy Subcontracting to correctly state that only purchase orders with WIP Items block the operation, not all subcontracting purchase orders.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-28 by ChethanT · 2 files (+51 -1), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Error message now accurately reflects the actual filter condition that checks only WIP Items
- Wording aligned with the sibling transfer order error message for consistency
- Added test scenario to verify the corrected error message wording
- No changes to the underlying business logic or filtering condition
- Ensures users see accurate messaging about what prevents disabling Legacy Subcontracting
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 99008501 “Legacy Subc. Feature Handler”, Base Application (IT layer): modified
Context
- Work items: AB#641607
- Labels: 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).