#13671 Expense Agent: configure posting groups per subcategory
Expense subcategories can now override posting groups from their parent category, allowing different G/L accounts for hotel rooms, meals, parking, and other subcategory types. The optional posting group field is exposed in setup pages and APIs, with blank values inheriting the category default.
- 9files
- 7AL files
- 7objects
Pull request · merged into main (BC30) on 2026-11-26 by Alexander-Ya · 9 files (+843 -67), 7 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New optional Posting Group field on Expense Subcategory table that overrides the parent category posting group
- Posting group is exposed in subcategory setup page, preview page, and read-only API
- Financial itemizations split across separate accounts when subcategory override is configured
- Blank posting group field maintains backward compatibility by inheriting category posting group
- Posting groups referenced by subcategories are protected from deletion
- Behaviour changes for users or extensions.
AL objects touched
- Page 6925 “Expense Subcategories API”, ExpenseAgent: modified
- Codeunit 6987 “Expense Report-Post”, ExpenseAgent: modified
- Page 6973 “Expense Subcategories”, ExpenseAgent: modified
- Table 6921 “Expense Category”, ExpenseAgent: modified
- Table 6928 “Expense Posting Group”, ExpenseAgent: modified
- Table 6929 “Expense Subcategory”, ExpenseAgent: modified
- Page 6967 “Exp. Subcategories Preview”, ExpenseAgent: modified
Context
- Work items: AB#623814
- Labels: AL: Apps (W1), ExpenseManagement, Team: Finance
- Systems: copilot
- From the description: “Allow hotel room, meals, parking, and other expense subcategories to use different expense G/L accounts.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Set Up Expense Categories, Rules, and Policies — possibly related: touches Page 6973 “Expense Subcategories”
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).