#12766 Release Spend Request: declare indirect modify permission on Spend Request
Release Spend Request codeunit now declares indirect modify permission on Spend Request, allowing the Expense Agent to submit and reject travel requests through proper permission inheritance.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-13 by claudiuciumedean · 2 files (+61 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Added permission declaration for indirect modify on Spend Request table to codeunit 6840
- Enables Expense Agent (S2S) to perform writes through the codeunit when direct permission is not granted
- Added two new tests verifying submit and reject operations work with restricted permission set
- Follows same pattern used by Release Sales Document and Release Purchase Document
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 6840 “Release Spend Request”, Base Application: modified
Context
- Work items: AB#626966
- Labels: AL: Apps (W1), Team: Finance
- Systems: finance
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Define granular permissions — possibly related: Documents defining granular permissions including indirect modify permissions on objects, directly related to permission declaration. (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).