code change · fixManufacturingofficial - Microsoftreviewed - checked by Opus

#12986 Fix Work Center field persistence when auto-save is disabled

When auto-save is disabled, validating Subcontractor No. on the Work Center Card now saves pending changes before refreshing, preventing field values from being discarded.

Pull request · merged into main (BC30) on 2026-10-21 by alexei-dobriansky · 2 files (+112 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Validation of Subcontractor No. now saves the record before refreshing the page
  • Pending changes like Unit Cost Calculation are preserved instead of being lost
  • Subcontractor pricing actions remain immediately enabled or disabled based on field state
  • Added UI regression tests covering field persistence and action state behavior
  • Low-risk change with no schema or API modifications
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #13136 into releases/29.x on 2026-10-27

Context

  • Work items: AB#651344
  • Labels: AL: Apps (W1), Subcontracting, Team: SCM
  • Systems: manufacturing
  • From the description: “Change the refresh to save the record before updating the page.”

No source states these links: they share an object, a model read them, or a person found the same subject.

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