#9586 [master] Overdue Balance (LCY) filters do not behave as expected if you open the Customer Card from a document or journal.
The Customer Card now applies a default date filter in the OnAfterGetCurrRecord function to ensure the Overdue Balance (LCY) calculation displays the correct overdue amount and drill-down filters work properly when opened from documents or journals.
- 12files
- 11AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-20 by neeleshsinghal · 12 files (+116 -0), 11 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Date filter now defaults to 0D..WorkDate() in OnAfterGetCurrRecord, not just OnOpenPage
- Overdue Balance (LCY) now shows the correct overdue amount instead of total balance when opening the card from documents or journals
- Drill-down filters on the overdue balance now correctly include the due-date filter regardless of how the card is opened
- Aligns the Customer Card behavior with the Vendor Card logic
- Fix applied across all localization layers (APAC, BE, ES, FR, GB, IT, NA, NL, NO, RU, W1)
- Behaviour changes for users or extensions.
AL objects touched
- Page 21 “Customer Card”, Base Application: modified
src/Layers/APAC/BaseApp/Sales/Customer/CustomerCard.Page.al: modified, not in the BC30 snapshotsrc/Layers/BE/BaseApp/Sales/Customer/CustomerCard.Page.al: modified, not in the BC30 snapshotsrc/Layers/ES/BaseApp/Sales/Customer/CustomerCard.Page.al: modified, not in the BC30 snapshotsrc/Layers/FR/BaseApp/Sales/Customer/CustomerCard.Page.al: modified, not in the BC30 snapshotsrc/Layers/IT/BaseApp/Sales/Customer/CustomerCard.Page.al: modified, not in the BC30 snapshotsrc/Layers/NA/BaseApp/Sales/Customer/CustomerCard.Page.al: modified, not in the BC30 snapshotsrc/Layers/NL/BaseApp/Sales/Customer/CustomerCard.Page.al: modified, not in the BC30 snapshotsrc/Layers/NO/BaseApp/Sales/Customer/CustomerCard.Page.al: modified, not in the BC30 snapshot
Context
- Work items: AB#640988
- Labels: Team: SCM
- Systems: sales
- From the description: “Also default Date Filter to 0D..WorkDate() in the card’s OnAfterGetCurrRecordFunc (mirroring the Vendor Card)”
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).