#13012 [Subcontracting] Assign worksheet suggestions to existing purchase orders
Subcontracting worksheet users can now assign suggestions to existing open purchase orders instead of always creating new orders, with filtering and validation for purchase order compatibility.
- 32files
- 21AL files
- 13objects
Pull request · merged into main (BC30) on 2026-11-18 by stevengrossGOB (community contribution) · 32 files (+3730 -552), 21 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Adds purchase order targeting to requisition lines with compatibility checks for vendor, customer, shipping, currency and purchasing code
- Worksheet gains actions for assigning purchase orders, clearing targets, and showing assigned orders
- Reference semantics changed: Ref. Order Type now indicates Purchase with empty Ref. Order No., while Prod. Order No. tracks the production order
- Requisition Line Management codeunit removes target if action message changes from New
- Comprehensive test coverage with 27 new tests for assignment, validation, and edge cases
- Breaking: existing extensions can stop compiling or working.
AL objects touched
- Report 20505 “Subc. Calculate Subcontracts”, Subcontracting: modified
- Codeunit 20557 “Subc. Purchase Order Creator”, Subcontracting: modified
- Codeunit 20513 “Subc. Req.Line Extension”, Subcontracting: modified
- Table extension 20510 “Subc. RequisitionLine”, Subcontracting: modified
- Page 20504 “Subc. Subcontracting Worksheet”, Subcontracting: modified
- Codeunit 99000866 “Mfg. Requisition Line”, Base Application: modified
- Table extension 99000860 “Mfg. Requisition Line”, Base Application: modified
- Codeunit 333 “Req. Wksh.-Make Order”, Base Application: modified
- Report 99001020 “Carry Out Action Msg. - Plan.”, Base Application: modified
- Table 246 “Requisition Line”, Base Application: modified
- Codeunit 99000814 “Requisition Line Management”, Base Application: added
- Report 99001015 “Calculate Subcontracts”, Base Application: modified
- Page 9307 “Purchase Order List”, Base Application: modified
src/Layers/IT/BaseApp/Inventory/Requisition/ReqWkshMakeOrder.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/IT/BaseApp/Inventory/Requisition/RequisitionLine.Table.al: modified, not in the BC30 snapshotsrc/Layers/IT/BaseApp/Manufacturing/Planning/CalculateSubcontracts.Report.al: modified, not in the BC30 snapshotsrc/Layers/IT/BaseApp/Purchases/Document/PurchaseOrderList.Page.al: modified, not in the BC30 snapshotsrc/Layers/NA/BaseApp/Purchases/Document/PurchaseOrderList.Page.al: modified, not in the BC30 snapshot
Context
- Work items: AB#634223
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Subcontracting, Team: SCM
- Systems: inventory, manufacturing, purchasing
- From the description: “Users can now attach a new subcontracting suggestion in the Subcontracting Worksheet to an existing open purchase order.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Deprecated features in the application — possibly related: touches Report 20505 “Subc. Calculate Subcontracts”
- Scheduled Receipt Power BI Report — possibly related: touches Table 246 “Requisition Line”
- Order subcontracting — possibly related: Documents subcontracting purchase orders created from production routing, which the worksheet suggestion assignment feature enables. (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).