code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#13854 [Main]-All VAT Entries are gone through without filters with "Set G/L Account No." function.

VAT Entries page and G/L - VAT Reconciliation report now respect user filters and selections when setting G/L Account numbers, preventing unintended updates to all entries in the database.

Pull request · merged into main (BC30) on 2026-11-23 by DhavalMore88 (community contribution) · 11 files (+184 -55), 9 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • SetGLAccountNo action now uses SetSelectionFilter to process only selected or filtered VAT entries instead of all entries
  • Bucket processing range adjusted to run from first to last selected entry without overlaps
  • G/L Account No. adjustments in VAT reconciliation report now apply only to VAT Entry Totaling lines, not Account Totaling lines
  • Filter group 10 used for bucket range to prevent overwriting existing selection filters
  • Significantly improves performance for large companies with millions of VAT entries
  • Behaviour changes for users or extensions.

AL objects touched

  • Page 315 “VAT Entries”, Base Application: modified
  • Report 11 “G/L - VAT Reconciliation”, Base Application: modified
  • src/Layers/BE/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC30 snapshot
  • src/Layers/ES/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC30 snapshot
  • src/Layers/GB/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC30 snapshot
  • src/Layers/IT/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC30 snapshot
  • src/Layers/NA/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC30 snapshot
  • src/Layers/NO/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC30 snapshot

Context

  • Work items: AB#660009
  • Labels: ADO: Sync, From Fork, Team: Finance
  • Systems: finance
  • From the description: “All VAT Entries are gone through without filters with Set G/L Account No. function.”

No source states these links: they share an object, a model read them, or a person found the same subject.

  • G/L - VAT Reconciliation (Report) — possibly related: G/L - VAT Reconciliation report uses VAT entries to show amounts, directly affected by this fix. (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).