---
id: change/bcapps/13601
type: change
title: "#13601 Fixes #8840: Fix TryGetDictionaryValueFromKey in Customer Statistics FactBox"
summary: "Fixed TryGetDictionaryValueFromKey method in the Customer Statistics FactBox to resolve issue #8840."
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page customer statistics factbox
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-11-18T00:57:41.315Z"
  flags: []
generated:
  at: "2026-11-29T00:16:19.301Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 26ca78573b6618d06ca5d8f4c8389be3e2c77551
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13601
    title: "microsoft/BCApps#13601: Fixes #8840: Fix TryGetDictionaryValueFromKey in Customer Statistics FactBox"
    date: "2026-11-17"
    commit: 26ca78573b6618d06ca5d8f4c8389be3e2c77551
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/9082
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/sales-how-invoice-sales
      title: Invoice sales
      label: possibly related
      why: touches Page 9082 "Customer Statistics FactBox"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/summarize-with-copilot
      title: Summarize a record with Copilot
      label: possibly related
      why: Documents Customer Statistics FactBox and Copilot summarization of customer records.
      by: model
number: 13601
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13601
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-17T17:30:03Z"
author: DrieVeertien
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 1
  additions: 4
  deletions: 2
  al: 1
apps:
  - Base Application
objects_touched:
  - key: page/9082
    page: page/9082
    type: page
    id: 9082
    name: Customer Statistics FactBox
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 8840
work_items:
  - 659683
systems:
  - sales
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13601 Fixes #8840: Fix TryGetDictionaryValueFromKey in Customer Statistics FactBox

> Fixed TryGetDictionaryValueFromKey method in the Customer Statistics FactBox to resolve issue #8840.

[Pull request](https://github.com/microsoft/BCApps/pull/13601) · merged into `main` (BC30) on 2026-11-17 by DrieVeertien (community contribution) · 1 file (+4 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Corrects TryGetDictionaryValueFromKey functionality in Customer Statistics FactBox
- Minimal change with 4 lines added and 2 lines removed
- Affects only the Customer Statistics FactBox page in Base Application
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 9082 "Customer Statistics FactBox"](../../objects/page/9082.md), Base Application: modified

## Context

- Fixes: [#8840 [Bug]: TryGetDictionaryValueFromKey should not be a try function](https://github.com/microsoft/BCApps/issues/8840) (closed)
- Work items: AB#659683
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: sales

## Possibly related

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

- [Invoice sales](https://learn.microsoft.com/dynamics365/business-central/sales-how-invoice-sales) — possibly related: touches Page 9082 "Customer Statistics FactBox"
- [Summarize a record with Copilot](https://learn.microsoft.com/dynamics365/business-central/summarize-with-copilot) — possibly related: Documents Customer Statistics FactBox and Copilot summarization of customer records. (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).
