code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#10515 [Payables Agent] Fix stale Payables Agent setup save

The Payables Agent Setup now persists instruction updates in a single final modification to prevent stale-record errors when applying agent instructions during setup.

Pull request · merged into main (BC30) on 2026-08-27 by dayland · 1 file (+28 -14), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Separated instruction application and hash calculation from immediate setup-record persistence
  • Consolidated user ID, E-document service code, and instruction hash updates into one final modification
  • Preserved existing hash persistence for upgrade and configuration-drift scenarios
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #10733 into releases/29.x on 2026-09-01

Context

  • Work items: AB#647307
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: development

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