---
id: object/table/5367
type: object
title: Table 5367 "CRM Account Statistics"
summary: Table 5367 "CRM Account Statistics" in Base Application (Microsoft.Integration.D365Sales). 50 fields. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 6d3aa383169801c3981d0d48780649b8a8fbf283d88a73a38dd8c285e5174c77
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMAccountStatistics.Table.al
    title: src/Layers/W1/BaseApp/Integration/D365Sales/CRMAccountStatistics.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5367
name: CRM Account Statistics
namespace: Microsoft.Integration.D365Sales
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 50
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 12
  referenced_by: 1
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5367 "CRM Account Statistics"

> Table 5367 "CRM Account Statistics" in Base Application (Microsoft.Integration.D365Sales). 50 fields. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Integration.D365Sales · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMAccountStatistics.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | CRM Account Statistics |
| TableType | CRM |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | AccountStatisticsId | Guid | Account Statistics <small>caption</small> |  |
| 2 | CreatedOn | DateTime | Created On <small>caption</small> |  |
| 3 | CreatedBy | Guid | Created By <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 4 | ModifiedOn | DateTime | Modified On <small>caption</small> |  |
| 5 | ModifiedBy | Guid | Modified By <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 6 | CreatedOnBehalfBy | Guid | Created By (Delegate) <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 7 | ModifiedOnBehalfBy | Guid | Modified By (Delegate) <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 8 | CreatedByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(CreatedBy))) |
| 9 | CreatedOnBehalfByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(CreatedOnBehalfBy))) |
| 10 | ModifiedByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(ModifiedBy))) |
| 11 | ModifiedOnBehalfByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(ModifiedOnBehalfBy))) |
| 12 | OrganizationId | Guid | Organization Id <small>caption</small> | TableRelation [Table 5363 "CRM Organization"](../table/5363.md) ("CRM Organization".OrganizationId) |
| 13 | OrganizationIdName | Text[160] | — | FlowField: lookup("CRM Organization".Name where(OrganizationId = field(OrganizationId))) |
| 14 | statecode | Option | Status <small>caption</small> | OptionCaption: ,Active,Inactive |
| 15 | statuscode | Option | Status Reason <small>caption</small> | OptionCaption: ,Active,Inactive |
| 16 | VersionNumber | BigInteger | — |  |
| 17 | ImportSequenceNumber | Integer | Import Sequence Number <small>caption</small> |  |
| 18 | OverriddenCreatedOn | Date | Record Created On <small>caption</small> |  |
| 19 | TimeZoneRuleVersionNumber | Integer | Time Zone Rule Version Number <small>caption</small> |  |
| 20 | UTCConversionTimeZoneCode | Integer | UTC Conversion Time Zone Code <small>caption</small> |  |
| 21 | Name | Text[160] | Account Name <small>caption</small> |  |
| 22 | Customer No | Text[20] | Customer No. <small>caption</small> |  |
| 23 | Balance (LCY) | Decimal | — |  |
| 24 | TransactionCurrencyId | Guid | Currency <small>caption</small> | TableRelation [Table 5345 "CRM Transactioncurrency"](../table/5345.md) ("CRM Transactioncurrency".TransactionCurrencyId) |
| 25 | TransactionCurrencyIdName | Text[100] | — | FlowField: lookup("CRM Transactioncurrency".CurrencyName where(TransactionCurrencyId = field(TransactionCurrencyId))) |
| 26 | ExchangeRate | Decimal | Exchange Rate <small>caption</small> |  |
| 27 | Balance (Base) | Decimal | Balance (LCY) (Base) <small>caption</small> |  |
| 28 | Outstanding Orders (LCY) | Decimal | — |  |
| 29 | Outstanding Orders (Base) | Decimal | Outstanding Orders (LCY) (Base) <small>caption</small> |  |
| 30 | Shipped Not Invoiced (LCY) | Decimal | Shipped Not Invd. (LCY) <small>caption</small> |  |
| 31 | Shipped Not Invoiced (Base) | Decimal | Shipped Not Invd. (LCY) (Base) <small>caption</small> |  |
| 32 | Outstanding Invoices (LCY) | Decimal | — |  |
| 33 | Outstanding Invoices (Base) | Decimal | Outstanding Invoices (LCY) (Base) <small>caption</small> |  |
| 34 | Outstanding Serv Orders (LCY) | Decimal | Outstanding Serv. Orders (LCY) <small>caption</small> |  |
| 35 | Outstanding Serv Orders (Base) | Decimal | Outstanding Serv. Orders (LCY) (Base) <small>caption</small> |  |
| 36 | Serv Shipped Not Invd (LCY) | Decimal | Serv. Shipped Not Invd. (LCY) <small>caption</small> |  |
| 37 | Serv Shipped Not Invd (Base) | Decimal | Serv. Shipped Not Invd. (LCY) (Base) <small>caption</small> |  |
| 38 | Outstd Serv Invoices (LCY) | Decimal | Outstanding Serv. Invoices (LCY) <small>caption</small> |  |
| 39 | Outstd Serv Invoices (Base) | Decimal | Outstanding Serv. Invoices (LCY) (Base) <small>caption</small> |  |
| 40 | Total (LCY) | Decimal | — |  |
| 41 | Total (Base) | Decimal | Total (LCY) (Base) <small>caption</small> |  |
| 42 | Credit Limit (LCY) | Decimal | — |  |
| 43 | Credit Limit (Base) | Decimal | Credit Limit (LCY) (Base) <small>caption</small> |  |
| 44 | Overdue Amounts (LCY) | Decimal | — |  |
| 45 | Overdue Amounts (Base) | Decimal | Overdue Amounts (LCY) (Base) <small>caption</small> |  |
| 46 | Overdue Amounts As Of Date | Date | Overdue Amounts as of <small>caption</small> |  |
| 47 | Total Sales (LCY) | Decimal | — |  |
| 48 | Total Sales (Base) | Decimal | Total Sales (LCY) (Base) <small>caption</small> |  |
| 49 | Invd Prepayment Amount (LCY) | Decimal | Invoiced Prepayment Amount (LCY) <small>caption</small> |  |
| 50 | Invd Prepayment Amount (Base) | Decimal | Invoiced Prepayment Amount (LCY) (Base) <small>caption</small> |  |

## Keys

- Key1: AccountStatisticsId (clustered)
- Key2: Name

## Relations

- CreatedByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedOnBehalfByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedOnBehalfByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedOnBehalfBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedOnBehalfBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- TransactionCurrencyIdName: CalcFormula [Table 5345 "CRM Transactioncurrency"](../table/5345.md)
- TransactionCurrencyId: TableRelation [Table 5345 "CRM Transactioncurrency"](../table/5345.md)
- OrganizationIdName: CalcFormula [Table 5363 "CRM Organization"](../table/5363.md)
- OrganizationId: TableRelation [Table 5363 "CRM Organization"](../table/5363.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 5341 "CRM Account"](../table/5341.md): AccountStatiticsId

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC28

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). 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: "table", object_name: "CRM Account Statistics")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
