#14645 [29.x][Subcontracting] Create Return includes components and WIP from unrelated purchase orders- #14502
Return transfer orders in subcontracting now correctly filter by purchase order number to prevent including lines from unrelated orders.
- 2files
- 1AL files
- 1objects
Pull request · merged into releases/29.x (BC29) on 2026-11-30 by Shikhverma · 2 files (+232 -10), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Return transfer headers are now filtered by Subcontr. Purch. Order No. to isolate purchase orders
- Prevents lines from different purchase orders being incorrectly included in return transfers
- Regression test coverage expanded to verify purchase order isolation
- Affects the Subc. Create SubCReturnOrder report logic
- Behaviour changes for users or extensions.
AL objects touched
- Report 20502 “Subc. Create SubCReturnOrder”, Subcontracting: modified
Context
- Work items: AB#653930
- Labels: AL: Apps (W1), Team: SCM
- Systems: manufacturing
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Process sales return orders — possibly related: Documents sales return orders process, relevant to subcontracting return order creation (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).