---
id: change/bcapps/10498
type: change
title: "#10498 [Pmt. Recon. Journal] Optimize opening of the Payment Application screen"
summary: Payment application screen opening is optimized by adding a date filter setting to reduce candidate records, avoiding duplicate database reads, and preventing excessive SetAutoCalcfields calls. A critical issue in DK FIK payment matching that performed unfiltered full table scans is also fixed.
tier: official
language: en
tags:
  - performance
  - main
  - bc30
  - codeunit fik_matchbankreclines
  - table vendor ledger entry
  - table employee ledger entry
  - table bank pmt. appl. settings
  - codeunit match bank payments
  - table payment application proposal
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:15.614Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 5359c313825f29f39b400ab2d82c088b46765134
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10498
    title: "microsoft/BCApps#10498: [Pmt. Recon. Journal] Optimize opening of the Payment Application screen"
    date: "2026-08-28"
    commit: 5359c313825f29f39b400ab2d82c088b46765134
    t: null
    quote: Introducing a simple date filter setting on Payment Application Settings page.
links:
  learn: []
  objects:
    - object/codeunit/13651-dk
    - object/table/25
    - object/table/5222
    - object/table/1253
    - object/codeunit/1255
    - object/table/1293
    - object/page/1253
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10498
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10498
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-28T12:16:58Z"
author: dcenic
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: performance
behavior_change: true
breaking: false
files:
  count: 24
  additions: 1485
  deletions: 9
  al: 20
apps:
  - Base Application
  - FIK
objects_touched:
  - key: codeunit/13651
    page: codeunit/13651-dk
    type: codeunit
    id: 13651
    name: FIK_MatchBankRecLines
    app: FIK
    status: modified
  - key: table/25
    page: table/25
    type: table
    id: 25
    name: Vendor Ledger Entry
    app: Base Application
    status: modified
  - key: table/5222
    page: table/5222
    type: table
    id: 5222
    name: Employee Ledger Entry
    app: Base Application
    status: modified
  - key: table/1253
    page: table/1253
    type: table
    id: 1253
    name: Bank Pmt. Appl. Settings
    app: Base Application
    status: modified
  - key: codeunit/1255
    page: codeunit/1255
    type: codeunit
    id: 1255
    name: Match Bank Payments
    app: Base Application
    status: modified
  - key: table/1293
    page: table/1293
    type: table
    id: 1293
    name: Payment Application Proposal
    app: Base Application
    status: modified
  - key: page/1253
    page: page/1253
    type: page
    id: 1253
    name: Payment Application Settings
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/CH/BaseApp/Bank/Reconciliation/MatchBankPayments.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FR/BaseApp/Purchases/Payables/VendorLedgerEntry.Table.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports:
  - number: 10787
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/10787
fixes_issues: []
work_items:
  - 501947
  - 638849
systems:
  - purchasing
  - finance
  - hr
quote: Introducing a simple date filter setting on Payment Application Settings page.
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #10498 [Pmt. Recon. Journal] Optimize opening of the Payment Application screen

> Payment application screen opening is optimized by adding a date filter setting to reduce candidate records, avoiding duplicate database reads, and preventing excessive SetAutoCalcfields calls. A critical issue in DK FIK payment matching that performed unfiltered full table scans is also fixed.

[Pull request](https://github.com/microsoft/BCApps/pull/10498) · merged into `main` (BC30) on 2026-08-28 by dcenic · 24 files (+1485 -9), 20 AL · performance · tier official · reviewed (checked by Opus)

## What changed

- Adds optional date filter setting on Payment Application Settings page to narrow candidate list
- Eliminates double database reads when building temporary record sets
- Reduces unnecessary SetAutoCalcfields calls for better performance
- Fixes unfiltered full table scan issue in DK FIK payment matching drilldown
- New index added on Vendor Ledger Entry to support date filtering
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 13651 "FIK_MatchBankRecLines"](../../objects/codeunit/13651-dk.md), FIK (DK layer): modified
- [Table 25 "Vendor Ledger Entry"](../../objects/table/25.md), Base Application: modified
- [Table 5222 "Employee Ledger Entry"](../../objects/table/5222.md), Base Application: modified
- [Table 1253 "Bank Pmt. Appl. Settings"](../../objects/table/1253.md), Base Application: modified
- [Codeunit 1255 "Match Bank Payments"](../../objects/codeunit/1255.md), Base Application: modified
- [Table 1293 "Payment Application Proposal"](../../objects/table/1293.md), Base Application: modified
- [Page 1253 "Payment Application Settings"](../../objects/page/1253.md), Base Application: modified
- `src/Layers/CH/BaseApp/Bank/Reconciliation/MatchBankPayments.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/FR/BaseApp/Purchases/Payables/VendorLedgerEntry.Table.al`: modified, not in the BC30 snapshot

## Also merged into

- [#10787](https://github.com/microsoft/BCApps/pull/10787) into `releases/29.x` on 2026-08-31

## Context

- Work items: AB#501947, AB#638849
- Labels: Team: Finance
- Systems: purchasing, finance, hr
- From the description: "Introducing a simple date filter setting on Payment Application Settings page."

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