code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#10826 [Master] - Bug 648138: [master][NAV] Track failed BCApps validation

Expense Agent demo data no longer posts expense reports. A temporary SkipPostingExpenseReport() function always returns true, because untranslated Expense GL Account Names made Expense Report-Post fail. Reports are still created, and the skip is meant to be removed once translations exist.

Pull request · merged into main (BC30) on 2026-09-01 by v-rohangarg20 · 4 files (+40 -11), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Posting in both historical demo data codeunits (8217 and 8232) is guarded by SkipPostingExpenseReport(), which currently returns true
  • Expense reports are still created; only posting is skipped
  • Cause: Expense GL Account Names labels are not translated, so the G/L account lookup fails
  • Demo data has no posted expense reports until the skip is removed
  • Expense Rule Validation and demo G/L account creation code were also changed
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #10831 into releases/29.x on 2026-09-01

Context

  • Work items: AB#648138
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: development
  • From the description: “Expense reports are still created; only the posting step is skipped.”

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