---
id: change/bcapps/14122
type: change
title: "#14122 [Subcontracting] Refresh the transfer order lines without saving in SetIsSubcontracting"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - pageextension subc. trans. order sub.
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-11-18T00:57:47.545Z"
  flags: []
generated:
  at: "2026-12-06T00:14:19.053Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 983bea8ea4a5917b41a5c33c091705cf91fd1e2e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14122
    title: "microsoft/BCApps#14122: [Subcontracting] Refresh the transfer order lines without saving in SetIsSubcontracting"
    date: "2026-11-17"
    commit: 983bea8ea4a5917b41a5c33c091705cf91fd1e2e
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/pageextension/20529
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/subcontract-components
      title: Manage components in subcontracting
      label: possibly related
      why: Documents managing components and transfer orders in subcontracting.
      by: model
number: 14122
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14122
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-17T13:08:04Z"
author: Franco111000
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - "AL: Apps (W1)"
  - From Fork
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 1
  additions: 1
  deletions: 1
  al: 1
apps:
  - Subcontracting
objects_touched:
  - key: pageextension/20529
    page: pageextension/20529
    type: pageextension
    id: 20529
    name: Subc. Trans. Order Sub.
    app: Subcontracting
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 14291
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/14291
fixes_issues:
  - 12063
work_items:
  - 659627
systems:
  - manufacturing
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #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.

[Pull request](https://github.com/microsoft/BCApps/pull/14122) · 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."](../../objects/pageextension/20529.md), Subcontracting: modified

## Also merged into

- [#14291](https://github.com/microsoft/BCApps/pull/14291) into `releases/29.x` on 2026-12-05

## Context

- Fixes: [#12063 [Bug]: Subcontracting: SetIsSubcontracting calls CurrPage.Update() with SaveRecord = true from OnAfterGetCurrRecord, aborting the Transfer Order page](https://github.com/microsoft/BCApps/issues/12063) (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](https://learn.microsoft.com/dynamics365/business-central/subcontract-components) — 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).
