code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#10603 [Expense Agent] Grant policy builder execute permission

Expense Management roles now have execute permission on the policy builder codeunit to prevent access denied errors when calculating policy status on the Expense Report subpage.

Pull request · merged into main (BC30) on 2026-08-27 by encimita · 2 files (+21 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Added execute permission for codeunit 7107 (Exp. Policies To Eval Builder) to Expense Management - Objects permission set
  • Fixes DB:ExecuteObjDenied error when Expense Report SubPage calculates policy status
  • Issue occurred because policy builder calls happened without necessary permissions for interactive users
  • Includes test coverage to verify the permission grant
  • Validated using automated permission verification script
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #10605 into releases/29.x on 2026-08-27

Context

  • Work items: AB#647696
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: development

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