#14295 [Main] Expense Management: make core expense business objects public
Expense Management core business objects are now publicly accessible for extensions to read, extend, release and post expenses, while keeping agent-specific and policy-related functionality internal.
- 59files
- 59AL files
- 59objects
Pull request · merged into main (BC30) on 2026-11-20 by t-prda · 59 files (+514 -112), 59 AL · feature · tier official · reviewed (checked by Opus)
What changed
- 33 tables, 3 release and posting codeunits and 9 non-extensible enums in Expense Agent made public
- Corporate card, AI extraction, policy evaluation, alternate approver and Entra fields stay internal at field level
- On-behalf approval, raw Reopen, rule bypass and similar procedures made internal; local helpers made local
- Current-user release, check-and-release and reopen operations and posting via Codeunit.Run remain public
- XML documentation added to public procedures; BaseApp Spend Request objects get docs only
AL objects touched
- Enum 6920 “Exp. Report Comment Doc. Type”, ExpenseAgent: modified
- Enum 6914 “Expense Attachment Enforcement”, ExpenseAgent: modified
- Enum 6905 “Expense Detail Needed”, ExpenseAgent: modified
- Enum 6908 “Expense Justification”, ExpenseAgent: modified
- Enum 6978 “Expense Line Type”, ExpenseAgent: modified
- Enum 6986 “Expense Participant Type”, ExpenseAgent: modified
- Enum 6912 “Expense Reimbursement Type”, ExpenseAgent: modified
- Enum 6910 “Expense Report Status”, ExpenseAgent: modified
- Enum 6911 “Expense Rule Condition Type”, ExpenseAgent: modified
- Enum 6907 “Expense Status”, ExpenseAgent: modified
- Table extension 6902 “Exp. Document Attachment Ext”, ExpenseAgent: modified
- Codeunit 6980 “Release Expense Document”, ExpenseAgent: modified
- Table 6900 “Expense”, ExpenseAgent: modified
- Table 6902 “Expense Itemization”, ExpenseAgent: modified
- Table 6904 “Expense Participant”, ExpenseAgent: modified
- Table 6905 “Expense Per Diem”, ExpenseAgent: modified
- Table 6903 “Expense Rule Violation”, ExpenseAgent: modified
- Table 6918 “Expense VAT Specification”, ExpenseAgent: modified
- Codeunit 6987 “Expense Report-Post”, ExpenseAgent: modified
- Codeunit 6984 “Release Exp. Report Document”, ExpenseAgent: modified
- Table 6901 “Expense Report Comment Line”, ExpenseAgent: modified
- Table 6906 “Expense Report Header”, ExpenseAgent: modified
- Table 6907 “Expense Report Line”, ExpenseAgent: modified
- Table 6911 “Expense Report Line Item”, ExpenseAgent: modified
- Table 6908 “Expense Report Line Particip.”, ExpenseAgent: modified
- Table 6909 “Expense Report Line Per Diem”, ExpenseAgent: modified
- Table 6922 “Expense Report Line VAT Spec.”, ExpenseAgent: modified
- Table 6910 “Expense Report Rule Violation”, ExpenseAgent: modified
- Table 6919 “Posted Exp. Rep. Line Item”, ExpenseAgent: modified
- Table 6917 “Posted Exp. Rep. Line Particip”, ExpenseAgent: modified
- Table 6920 “Posted Exp. Rep. Line Per Diem”, ExpenseAgent: modified
- Table 6934 “Posted Exp. Rep. Line VAT Spec”, ExpenseAgent: modified
- Table 6915 “Posted Expense Report Header”, ExpenseAgent: modified
- Table 6916 “Posted Expense Report Line”, ExpenseAgent: modified
- Table 6912 “Expense Ledger Entry”, ExpenseAgent: modified
- Table 6921 “Expense Category”, ExpenseAgent: modified
- Table 6924 “Expense Group”, ExpenseAgent: modified
- Table 6925 “Expense Location”, ExpenseAgent: modified
- Table 6928 “Expense Posting Group”, ExpenseAgent: modified
- Table 6926 “Expense Rule Condition”, ExpenseAgent: modified
- Table 6927 “Expense Rule Header”, ExpenseAgent: modified
- Table 6929 “Expense Subcategory”, ExpenseAgent: modified
- Table 6931 “Expense Team”, ExpenseAgent: modified
- Table 6923 “Expense User”, ExpenseAgent: modified
- Table 7108 “Expense Vehicle Type”, ExpenseAgent: modified
- Table 6939 “Mileage Rate Setup”, ExpenseAgent: modified
- Codeunit 6950 “Expense Agent Privacy Subs.”, ExpenseAgent: modified
- Codeunit 6911 “Expense Per Diem Calculation”, ExpenseAgent: modified
- Table 6938 “Traveler”, ExpenseAgent: modified
- Codeunit 6840 “Release Spend Request”, Base Application: modified
- Page 6844 “Spend Req. To G/L Link Preview”, Base Application: modified
- Table 6840 “Spend Request”, Base Application: modified
- Page 6841 “Spend Request Card”, Base Application: modified
- Table 6841 “Spend Request Detail”, Base Application: modified
- Report 6850 “Spend Request Document”, Base Application: modified
- Page 6840 “Spend Request List”, Base Application: modified
- Page 6842 “Spend Request Subform”, Base Application: modified
- Page 6843 “Spend Request To G/L Link”, Base Application: modified
- Table 6845 “Spend Request To G/L Link”, Base Application: modified
Context
- Work items: AB#659839
- Labels: AL: Apps (W1), ExpenseManagement, Team: Finance
- Systems: copilot, finance
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Expense Management Overview in Business Central — possibly related: Expense Management Overview covers expense submission, approval workflows, and reimbursement. (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).