---
id: change/bcapps/14830
type: change
title: "#14830 Initialize NoOfDetailedCustomerEntries in OnFindRecord - Fixes #13621"
summary: The Customer Ledger Entry FactBox now correctly clears the detailed ledger entries count when the linked customer ledger entry is cleared.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page customer ledger entry factbox
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-12-06T00:54:11.813Z"
  flags: []
generated:
  at: "2026-12-06T00:14:19.053Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 7c8439d496308ad9224ea2470e8e7c32d23bc9a9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14830
    title: "microsoft/BCApps#14830: Initialize NoOfDetailedCustomerEntries in OnFindRecord - Fixes #13621"
    date: "2026-12-05"
    commit: 7c8439d496308ad9224ea2470e8e7c32d23bc9a9
    t: null
    quote: Customer Ledger Entry Factbox - Detailed Ledger Entries is not updated when linked entry is cleared
links:
  learn: []
  objects:
    - object/page/9106
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 14830
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14830
kind: pr
base_branch: main
major: "30"
merged_at: "2026-12-05T09:58:47Z"
author: jorispoppe
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 1
  additions: 1
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: page/9106
    page: page/9106
    type: page
    id: 9106
    name: Customer Ledger Entry FactBox
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 13621
work_items:
  - 662461
systems:
  - sales
quote: Customer Ledger Entry Factbox - Detailed Ledger Entries is not updated when linked entry is cleared
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #14830 Initialize NoOfDetailedCustomerEntries in OnFindRecord - Fixes #13621

> The Customer Ledger Entry FactBox now correctly clears the detailed ledger entries count when the linked customer ledger entry is cleared.

[Pull request](https://github.com/microsoft/BCApps/pull/14830) · merged into `main` (BC30) on 2026-12-05 by jorispoppe (community contribution) · 1 file (+1 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- FactBox displays count of detailed customer ledger entries
- Count now resets when linked entry field is cleared
- Prevents stale data from persisting in FactBox display
- Affects Customer Ledger Entry FactBox page component
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 9106 "Customer Ledger Entry FactBox"](../../objects/page/9106.md), Base Application: modified

## Context

- Fixes: [#13621 [Bug]: Customer Ledger Entry Factbox - Detailed Ledger Entries is not updated when linked entry is cleared](https://github.com/microsoft/BCApps/issues/13621) (closed)
- Work items: AB#662461
- Labels: ADO: Sync, From Fork, Team: Finance
- Systems: sales
- From the description: "Customer Ledger Entry Factbox - Detailed Ledger Entries is not updated when linked entry is cleared"

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