#14122 [Subcontracting] Refresh the transfer order lines without saving in SetIsSubcontracting
SetIsSubcontracting on the Subc. Trans. Order Sub. page extension now calls CurrPage.Update(false), so it refreshes the transfer lines subform without saving the current line. This stops a failed line save from being raised inside the Transfer Order's record-fetch trigger and closing the page.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-17 by Franco111000 (community contribution) · 1 file (+1 -1), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- CurrPage.Update() replaced by CurrPage.Update(false) in SetIsSubcontracting
- Transfer Order calls it from OnOpenPage and OnAfterGetCurrRecord, so before this each header fetch saved the current line
- A save error no longer surfaces inside OnAfterGetCurrRecord and closes the page
- Edited lines are still saved by the normal page save, for example when leaving the row
- Matches how SetPerTaskBillingFieldsVisible refreshes the Job Task Lines subform from the Job Card
- Behaviour changes for users or extensions.
AL objects touched
- Page extension 20529 “Subc. Trans. Order Sub.”, Subcontracting: modified
Also merged into
- #14291 into
releases/29.xon 2026-12-05
Context
- Fixes: #12063 [Bug]: Subcontracting: SetIsSubcontracting calls CurrPage.Update() with SaveRecord = true from OnAfterGetCurrRecord, aborting the Transfer Order page (closed)
- Work items: AB#659627
- Labels: ADO: Sync, AL: Apps (W1), From Fork, 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.
- Manage components in subcontracting — possibly related: Documents managing components and transfer orders in subcontracting. (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).