#10253 Avoid starting a write transaction under `ShowCanCreateAgent`
Payables Agent Setup no longer starts a write transaction when computing ShowCanCreateAgent. This avoids problems when third-party code commits, asks for confirmation and then opens a page, while a separate platform bug remains open.
- 2files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-08-19 by mynjj · 2 files (+32 -7), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Computing ShowCanCreateAgent no longer starts a write transaction
- Covers cases where third-party code modifies records, commits, then shows a Confirm dialog and opens a page
- Interim fix while platform bug 646707 is handled separately
- Changes made in both the Payables Agent Setup codeunit and table
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 3307 “Payables Agent Setup”, PayablesAgent: modified
- Table 3303 “Payables Agent Setup”, PayablesAgent: modified
Context
- Work items: AB#641849
- 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).