#13058 Bug 656064: Expense Agent: Itemization table holds unrounded values, leading to rounding errors. Also missing currency code.
Expense itemization records now store properly rounded currency amounts and include the missing currency code to prevent rounding errors in expense calculations.
- 7files
- 5AL files
- 5objects
Pull request · merged into main (BC30) on 2026-10-21 by BardurKnudsen · 7 files (+59 -32), 5 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Itemization table values are now properly rounded to match currency decimal places
- Currency code field added to expense itemization records
- Rounding logic applied when storing expense amounts in itemization table
- Fixes calculation discrepancies caused by accumulated unrounded values
- Test adjustments made to reflect rounding corrections
- Behaviour changes for users or extensions.
AL objects touched
- Page 6988 “Expense”, ExpenseAgent: modified
- Page 6975 “Expense Itemizations”, ExpenseAgent: modified
- Page 6989 “Expenses”, ExpenseAgent: modified
- Table 6900 “Expense”, ExpenseAgent: modified
- Table 6902 “Expense Itemization”, ExpenseAgent: modified
Context
- Work items: AB#656064
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
- From the description: “Rounding of currency amounts”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Create and Manage Expenses in Business Central — possibly related: touches Page 6988 “Expense”
- Set Up Mileage Rates for Expense Management — possibly related: touches Page 6988 “Expense”
- Expense Agent Overview in Business Central — possibly related: Documents Expense Agent feature with itemization and currency handling that this fix addresses. (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).