#13730 [Expense Agent] Initialize missing vendor numbering after upgrade
A per-company upgrade initializes missing vendor number series for the Expense Agent, ensuring merchant-driven expense creation works after upgrades when defaults were applied but vendor numbering remained blank.
- 7files
- 5AL files
- 5objects
Pull request · merged into main (BC30) on 2026-11-09 by Alexander-Ya · 7 files (+423 -30), 5 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Adds a tagged per-company upgrade step to the existing upgrade codeunit that fills only blank Expense Vendor Nos. values
- Vendor-only initializer preserves configured number series and existing counters
- Repairs the same missing value through default settings and the setup wizard
- Enables the default-settings action when the vendor numbering field is empty
- Adds tests for upgrade, number series preservation and merchant expense creation (not yet run per the description)
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 6972 “Create Expense No. Series”, ExpenseAgent: modified
- Codeunit 6978 “Upgrade Expense Agent Setup”, ExpenseAgent: modified
- Page 6996 “Expense Agent Setup”, ExpenseAgent: modified
- Page 6991 “Expense Agent Setup Wizard”, ExpenseAgent: modified
- Table 6930 “Expense Agent Setup”, ExpenseAgent: modified
Also merged into
- #13731 into
releases/29.xon 2026-11-09
Context
- Work items: AB#658051
- Labels: AL: Apps (W1), ExpenseManagement, Team: Finance
- Systems: copilot
- From the description: “Existing companies can have default number series marked as applied while Expense Vendor Nos. remains blank.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Create number series — possibly related: Documents creating and managing number series for vendors and sequential identification codes. (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).