---
id: object/page/9082
type: object
title: Page 9082 "Customer Statistics FactBox"
summary: Page 9082 "Customer Statistics FactBox" in Base Application (Microsoft.Sales.Customer). 1 public procedures. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 5f99f6542a2818c001b1bcd71887664338d770de92e235570d11eda52c11173c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Customer/CustomerStatisticsFactBox.Page.al
    title: src/Layers/W1/BaseApp/Sales/Customer/CustomerStatisticsFactBox.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 9082
name: Customer Statistics FactBox
caption: Customer Statistics
namespace: Microsoft.Sales.Customer
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 5
  events: 0
  subscribers: 0
  controls: 14
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 2
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Page 9082 "Customer Statistics FactBox"

> Page 9082 "Customer Statistics FactBox" in Base Application (Microsoft.Sales.Customer). 1 public procedures. Present since at least BC23, still in BC30.

Base Application · Microsoft.Sales.Customer · captioned "Customer Statistics" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Customer/CustomerStatisticsFactBox.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Customer Statistics |
| SourceTable | Customer |
| PageType | CardPart |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Content | Customer No. | [No.](../table/18.md#fields) | Specifies the number of the customer. The field is either filled automatically from a defined number series, or you enter the number manually because you have enabled manual number entry in the number-series setup. <small>from the table field</small> |
|  | Balance (LCY) | [Balance (LCY)](../table/18.md#fields) | Specifies the total amount the customer owes you, or you owe them, based on all sales and credits for the customer. A positive amount means they owe you, and a negative amount means you owe them. The amount isn't necessarily due today though. The customer's payment terms determine due dates. Select ... <small>from the table field</small> |
|  | Balance (LCY) As Vendor | `BalanceAsVendor` | Specifies the amount that you owe to this company. This is relevant when your customer is also your vendor. Customer and vendor are linked together through their contact record. Using customer's contact record you can create linked vendor or link contact with existing vendor to enable calculation of... |
| Sales | Outstanding Orders (LCY) | [Outstanding Orders (LCY)](../table/18.md#fields) | Specifies your expected sales income from the customer in LCY based on ongoing sales orders. <small>from the table field</small> |
|  | Shipped Not Invoiced (LCY) | [Shipped Not Invoiced (LCY)](../table/18.md#fields) | Specifies your expected sales income from the customer in LCY based on ongoing sales orders where items have been shipped. <small>from the table field</small> |
|  | Outstanding Invoices (LCY) | [Outstanding Invoices (LCY)](../table/18.md#fields) | Specifies your expected sales income from the customer in LCY based on unpaid sales invoices. <small>from the table field</small> |
| Payments | Payments (LCY) | [Payments (LCY)](../table/18.md#fields) | Specifies the sum of payments received from the customer. <small>from the table field</small> |
|  | Refunds (LCY) | [Refunds (LCY)](../table/18.md#fields) | Specifies the sum of refunds received from the customer. <small>from the table field</small> |
|  | Last Payment Receipt Date | `LastPaymentDate` | Specifies the posting date of the last payment received from the customer. |
| Content | Total (LCY) | `TotalAmountLCY` | Specifies the payment amount that the customer owes for completed sales plus sales that are still ongoing. |
|  | Credit Limit (LCY) | [Credit Limit (LCY)](../table/18.md#fields) | Specifies the maximum amount of credit that you extend to the customer for their purchases before you issue warnings. The value 0 represents unlimited credit. <small>from the table field</small> |
|  | Balance Due (LCY) | `OverdueBalance` | — |
|  | Total Sales (LCY) | `SalesLCY` | Specifies your total sales turnover with the customer in the current fiscal year. It is calculated from amounts excluding VAT on all completed and open sales invoices and credit memos. |
|  | Invoiced Prepayment Amount (LCY) | `InvoicedPrepmtAmountLCY` | Specifies your sales income from the customer, based on invoiced prepayments. |

## Procedures

- `CalculateFieldValues(CustomerNo: Code[20])`: Calculates the customer statistics using a background task.

Plus 4 local procedures.

## Triggers

OnAfterGetCurrRecord, OnPageBackgroundTaskCompleted

## Relations

- source table [Table 18 "Customer"](../table/18.md)

## Extended by

- [Page extension 20617 "Customer Statistics FactBox BF"](../pageextension/20617.md)
- [Page extension 6490 "Serv. Customer Stat. FactBox"](../pageextension/6490.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 9082 "Calculate Customer Stats."](../codeunit/9082.md) (8 calls: `CalculateFieldValues → GetCustomerNoLabel`, `OnPageBackgroundTaskCompleted → GetBalanceAsVendorLabel`, `OnPageBackgroundTaskCompleted → GetInvoicedPrepmtAmountLCYLabel`, …)
- [Page 21 "Customer Card"](../page/21.md) (1 call: `ShowDetails → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Customer Statistics FactBox")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
