code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

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

The Set G/L Account No. action on the VAT Entries page now correctly processes only selected or filtered entries instead of updating all entries in the database. The G/L - VAT Reconciliation report also now applies filters appropriately when processing VAT statement lines.

Pull request · merged into releases/29.x (BC29) on 2026-11-26 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
  • Buckets process from first to last selected entry number without overlapping
  • Bucket range uses separate filter group to preserve selection filters
  • G/L - VAT Reconciliation report only adjusts G/L Account No. for VAT Entry Totaling lines
  • Fixes performance issue where large companies with millions of entries experienced long processing times
  • 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 BC29 snapshot
  • src/Layers/ES/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC29 snapshot
  • src/Layers/GB/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC29 snapshot
  • src/Layers/IT/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC29 snapshot
  • src/Layers/NA/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC29 snapshot
  • src/Layers/NO/BaseApp/Finance/VAT/Ledger/VATEntries.Page.al: modified, not in the BC29 snapshot

Context

  • Work items: AB#660008
  • 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 and G/L account filtering for VAT validation. (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).