---
id: object/page/398
type: object
title: Page 398 "Sales Credit Memo Statistics"
summary: Page 398 "Sales Credit Memo Statistics" in Base Application (Microsoft.Sales.History). 5 events. Present since at least BC23, still in BC30, changed in BC26.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "26"
  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: 5e8ebfc4a9b7dddc464a8d5fb4a0cdf1ed7c5c6c7936342e460823e9d96e7e19
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/History/SalesCreditMemoStatistics.Page.al
    title: src/Layers/W1/BaseApp/Sales/History/SalesCreditMemoStatistics.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: 398
name: Sales Credit Memo Statistics
namespace: Microsoft.Sales.History
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "26"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 6
  events: 5
  subscribers: 0
  controls: 22
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 2
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 398 "Sales Credit Memo Statistics"

> Page 398 "Sales Credit Memo Statistics" in Base Application (Microsoft.Sales.History). 5 events. Present since at least BC23, still in BC30, changed in BC26.

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

## Properties

| Property | Value |
|---|---|
| Caption | Sales Credit Memo Statistics |
| SourceTable | Sales Cr.Memo Header |
| PageType | ListPlus |

## 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 |
|---|---|---|---|
| General | Amount | `CustAmount + InvDiscAmount` | Specifies the net amount of all the lines in the sales document. |
|  | Inv. Discount Amount | `InvDiscAmount` | Specifies the invoice discount amount for the sales document. |
|  | Total | `CustAmount` | Specifies the total amount, less any invoice discount amount, and excluding VAT for the sales document. |
|  | VAT Amount | `VATAmount` | Specifies the total VAT amount that has been calculated for all the lines in the sales document. |
|  | Total Incl. VAT | `AmountInclVAT` | Specifies the total amount, including VAT, that will be posted to the customer's account for all the lines in the sales document. |
|  | Sales (LCY) | `AmountLCY` | Specifies your total sales turnover in the fiscal year. |
|  | Original Profit (LCY) | `ProfitLCY` | Specifies the original profit that was associated with the sales when they were originally posted. |
|  | Adjusted Profit (LCY) | `AdjProfitLCY` | Specifies the profit, taking into consideration changes in the purchase prices of the goods. |
|  | Original Profit % | `ProfitPct` | Specifies the original percentage of profit that was associated with the sales when they were originally posted. |
|  | Adjusted Profit % | `AdjProfitPct` | Specifies the percentage of profit for all sales, including changes that occurred in the purchase prices of the goods. |
|  | Quantity | `LineQty` | Specifies the total quantity of G/L account entries, items and/or resources in the sales document. |
|  | Parcels | `TotalParcels` | Specifies the total number of parcels in the sales document. |
|  | Net Weight | `TotalNetWeight` | Specifies the total net weight of the items in the sales document. |
|  | Gross Weight | `TotalGrossWeight` | Specifies the total gross weight of the items in the sales document. |
|  | Volume | `TotalVolume` | Specifies the total volume of the items in the sales document. |
|  | Original Cost (LCY) | `CostLCY` | Specifies the total cost, in LCY, of the G/L account entries, items and/or resources in the sales document. |
|  | Adjusted Cost (LCY) | `TotalAdjCostLCY` | Specifies the total cost, in LCY, of the items in the posted sales credit memo, adjusted for any changes in the original costs of these items. |
|  | Cost Adjmt. Amount (LCY) | `TotalAdjCostLCY - CostLCY` | Specifies the difference between the original cost and the total adjusted cost of the items in the posted sales credit memo. |
| Content | Subform | part [Page 576 "VAT Specification Subform"](../page/576.md) | — |
| Customer | Balance (LCY) | `Cust."Balance (LCY)"` | Specifies the balance in LCY on the customer's account. |
|  | Credit Limit (LCY) | `Cust."Credit Limit (LCY)"` | Specifies the credit limit of the customer on the sales document. The value 0 represents unlimited credit. |
|  | Expended % of Credit Limit (LCY) | `CreditLimitLCYExpendedPct` | Specifies the expended percentage of the credit limit in (LCY). |

## Events published

- `OnAfterGetRecordOnAfterCalculateAdjProfitLCY(SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var AdjProfitLCY: Decimal; AmountLCY: Decimal; TotalAdjCostLCY: Decimal)` (integration)
- `OnBeforeCalculateTotals(SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var CustAmount: Decimal; var AmountInclVAT: Decimal; var InvDiscAmount: Decimal; var CostLCY: Decimal; var TotalAdjCostLCY: Decimal; var LineQty: Decimal; var TotalNetWeight: Decimal; var TotalGrossWeight: Decimal; var TotalVolume: Decimal; var TotalParcels: Decimal; var IsHandled: Boolean; var VATpercentage: Decimal)` (integration)
- `OnCalculateTotalsOnAfterSalesCrMemoLineSetFilters(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; SalesCrMemoHeader: Record "Sales Cr.Memo Header")` (integration)
- `OnCalculateTotalsOnAfterAddLineTotals(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; var CustAmount: Decimal; var AmountInclVAT: Decimal; var InvDiscAmount: Decimal; var CostLCY: Decimal; var TotalAdjCostLCY: Decimal; var LineQty: Decimal; var TotalNetWeight: Decimal; var TotalGrossWeight: Decimal; var TotalVolume: Decimal; var TotalParcels: Decimal; SalesCrMemoHeader: Record "Sales Cr.Memo Header")` (integration)
- `OnAfterGetRecordOnBeforeCalculateProfitLCY(var SalesInvoiceHeader: Record "Sales Cr.Memo Header"; var AmountLCY: Decimal; var CostLCY: Decimal; var TotalAdjCostLCY: Decimal; var CustAmount: Decimal; var AmountInclVAT: Decimal)` (integration)

## Procedures

1 local procedures, no public ones.

## Triggers

OnAfterGetRecord

## Relations

- source table [Table 114 "Sales Cr.Memo Header"](../table/114.md)

## Extended by

- [Page extension 20285 "Posted Sales Cr. Stats Ext"](../pageextension/20285.md)
- [Page extension 6241 "Sust. Sales Cr. Memo. Stats."](../pageextension/6241.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 5836 "Cost Calculation Management"](../codeunit/5836.md) (2 calls: `CalculateTotals → CalcSalesCrMemoLineCostLCY`, `CalculateTotals → CalcSalesCrMemoLineNonInvtblCostAmt`)

## Across versions

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

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: "Sales Credit Memo Statistics")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
