code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#11431 [Master] - [Expense Management] Move missing Employee Posting Group validation to rule violation

The Expense Agent now validates Employee Posting Group through rule violations instead of hard errors, allowing users to review and resolve missing posting groups gracefully without getting stuck during submission.

Pull request · merged into main (BC30) on 2026-09-15 by v-rohangarg20 · 5 files (+231 -5), 4 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Moved Employee Posting Group validation from field-level hard errors to rule violation logic in Expense Rule Validation codeunit
  • Added automatic line-level rule re-evaluation when Employee Posting Group is updated on Expense Report Header
  • Exposed Employee Posting Group field on the Expense Report page
  • Added comprehensive test coverage for the rule violation behavior
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#645043
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: development

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