code change · featureCopilot & Agentsofficial - Microsoftreviewed - checked by Opus

#10155 Slice 641293: [Expense Agent] Expense Locations and Per-diem rules in configurationAdded more locations

Expense Agent now includes comprehensive expense locations for all country/regions with corresponding expense rule headers and conditions to support more detailed per-diem and rule configuration.

Pull request · merged into main (BC30) on 2026-09-10 by BardurKnudsen · 22 files (+2867 -197), 15 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • New codeunit 7124 Create Expense Locations adds locations for essentially all countries and regions
  • New codeunits 7126 and 7128 create the matching expense rule conditions and rule headers
  • Expense category creation code was reworked
  • Demo data codeunits were reduced and adjusted alongside the new setup codeunits
  • Permission sets updated for the new objects
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#641293
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: copilot
  • From the description: “Adds more locations (basically all country/regions) and corresponding expense rule headers and expense rule conditions.”

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).