#11425 Bug 650137: [29.x] Expense Locations and Per-diem rules in configuration - Backport
Backport to 29.x that adds more expense locations and per-diem rules to the Expense Agent's default and demo data. Three new setup codeunits create the default expense locations, rule headers and rule conditions.
- 22files
- 15AL files
- 15objects
Pull request · merged into releases/29.x (BC29) on 2026-09-15 by BardurKnudsen · 22 files (+2891 -197), 15 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Backport from main to releases/29.x
- New setup codeunits Create Expense Locations, Create Expense Rule Headers and Create Expense Rule Conditions
- Demo data codeunits for locations, rules and categories were reworked to use the new defaults
- Small changes to the Expense Agent Setup page, the setup wizard, the rule tables and permission sets
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 6914 “Expense Event Subscriber AT”, ExpenseAgent_AT (AT layer): modified
- Codeunit 6952 “Exp. Attach. Buffer Handler”, ExpenseAgent: modified
- Table 6900 “Expense”, ExpenseAgent: modified
- Codeunit 6983 “Create Expense Report”, ExpenseAgent: modified
- Codeunit 6984 “Release Exp. Report Document”, ExpenseAgent: modified
- Table 6926 “Expense Rule Condition”, ExpenseAgent: modified
- Table 6927 “Expense Rule Header”, ExpenseAgent: modified
- Permission set 6952 “Expense Agent - Objects”, ExpenseAgent: modified
- Permission set 6904 “Expense Management - Objects”, ExpenseAgent: modified
- Codeunit 6973 “Create Expense Categories”, ExpenseAgent: modified
- Codeunit 7124 “Create Expense Locations”, ExpenseAgent: added
- Codeunit 7126 “Create Expense Rule Conditions”, ExpenseAgent: added
- Codeunit 7128 “Create Expense Rule Headers”, ExpenseAgent: added
- Page 6996 “Expense Agent Setup”, ExpenseAgent: modified
- Page 6991 “Expense Agent Setup Wizard”, ExpenseAgent: modified
Context
- Work items: AB#650137
- Labels: AL: Apps (W1), Team: Finance
- Systems: development
- From the description: “More expense locations and rules added to demo/default data.”
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).