#12599 [Master] - Slice 629913: [Expense Agent][VENDOR] Enforced background itemization required for approvals
Expense Agent now requires itemization when an enabled Expense Policy with policy text applies to the expense category, regardless of the Expense Detail Required setting. Policy-enforced itemizations can skip subcategories, and the non-refundable amount becomes editable for such itemizations.
- 13files
- 11AL files
- 11objects
Pull request · merged into main (BC30) on 2026-10-21 by v-rohangarg20 · 13 files (+957 -80), 11 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Policy-enforced itemization is required when an enabled policy with text applies to an expense category, independent of Expense Detail Required
- Policy-enforced itemizations allow blank subcategories, while regular itemizations require them
- Policy-enforced itemizations are preserved through auto-population and rule validation
- Non-refundable amounts can be edited for policy-enforced itemizations but remain read-only for ordinary itemizations
- Comprehensive test coverage added for all Expense Detail Required values and policy scenarios
- Behaviour changes for users or extensions.
AL objects touched
- Page 6988 “Expense”, ExpenseAgent: modified
- Table 6900 “Expense”, ExpenseAgent: modified
- Table 6902 “Expense Itemization”, ExpenseAgent: modified
- Page 6999 “Expense Report SubPage”, ExpenseAgent: modified
- Page 6993 “Posted Expense Report SubP.”, ExpenseAgent: modified
- Table 6907 “Expense Report Line”, ExpenseAgent: modified
- Table 6911 “Expense Report Line Item”, ExpenseAgent: modified
- Table 6916 “Posted Expense Report Line”, ExpenseAgent: modified
- Table 6921 “Expense Category”, ExpenseAgent: modified
- Codeunit 6912 “Expense Auto Population”, ExpenseAgent: modified
- Codeunit 6902 “Expense Rule Validation”, ExpenseAgent: modified
Context
- Work items: AB#629913, AB#651059
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Create and Manage Expenses in Business Central — possibly related: touches Page 6988 “Expense”
- Set Up Mileage Rates for Expense Management — possibly related: touches Page 6988 “Expense”
- Expense Agent Overview in Business Central — possibly related: Documents Expense Agent automating expense lifecycle including categorization, itemization, and approval workflows. (model-linked)
- Review and Approve Expense Reports — possibly related: Documents reviewing and approving expense reports with compliance rule validation before posting. (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).