---
title: "Page 401 Purch. Credit Memo Statistics, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/points/
object: https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Page 401 Purch. Credit Memo Statistics, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/points/

2 procedures and triggers with a step in src/Layers/W1/BaseApp/Purchases/History/PurchCreditMemoStatistics.Page.al, in source order, read from the text, not from a run.

## Vend..OnAfterGetRecord

[Line 142](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L142), trigger.

- [148](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L148) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [150](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L150) calls `CalculateTotals`
- [164](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L164) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [178](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L178) calls [Table 125 Purch. Cr. Memo Line](https://jonas-paprotka.de/ref/table/125-purch-cr-memo-line/) `CalcVATAmountLines`

## CalculateTotals

[Line 208](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L208), local.

- [213](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L213) raises `OnBeforeCalculateTotals`, IsHandled
- [225](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L225) calls [Table 125 Purch. Cr. Memo Line](https://jonas-paprotka.de/ref/table/125-purch-cr-memo-line/) `GetVATPct`
- [236](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L236) calls [Table 125 Purch. Cr. Memo Line](https://jonas-paprotka.de/ref/table/125-purch-cr-memo-line/) `GetVATPct`
- [240](https://jonas-paprotka.de/ref/page/401-purch-credit-memo-statistics/source/#L240) raises `OnCalculateTotalsOnAfterAddLineTotals`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
