---
id: change/bcapps/10826
type: change
title: "#10826 [Master] - Bug 648138: [master][NAV] Track failed BCApps validation"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit expense rule validation
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:07.626Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: d4d0550f4b52cb179bb330833126c608a2b2791b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10826
    title: "microsoft/BCApps#10826: [Master] - Bug 648138: [master][NAV] Track failed BCApps validation"
    date: "2026-09-01"
    commit: d4d0550f4b52cb179bb330833126c608a2b2791b
    t: null
    quote: Expense reports are still created; only the posting step is skipped.
links:
  learn: []
  objects:
    - object/codeunit/6902
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10826
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10826
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-01T06:29:23Z"
author: v-rohangarg20
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 40
  deletions: 11
  al: 1
apps:
  - ExpenseAgent
objects_touched:
  - key: codeunit/6902
    page: codeunit/6902
    type: codeunit
    id: 6902
    name: Expense Rule Validation
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 10831
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/10831
fixes_issues: []
work_items:
  - 648138
systems:
  - development
quote: Expense reports are still created; only the posting step is skipped.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #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](https://github.com/microsoft/BCApps/pull/10826) · 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

- [Codeunit 6902 "Expense Rule Validation"](../../objects/codeunit/6902.md), ExpenseAgent: modified

## Also merged into

- [#10831](https://github.com/microsoft/BCApps/pull/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).
