---
title: "Page 343 Check Credit Limit, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/343-check-credit-limit/points/
object: https://jonas-paprotka.de/ref/page/343-check-credit-limit/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/343-check-credit-limit/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 343 Check Credit Limit, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/343-check-credit-limit/points/

15 procedures and triggers with a step in src/Layers/W1/BaseApp/Sales/Customer/CheckCreditLimit.Page.al, in source order, read from the text, not from a run.

## Statistics.OnAfterGetRecord

[Line 93](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L93), trigger.

- [95](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L95) calls `CalcCreditLimitLCY`
- [96](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L96) calls `CalcOverdueBalanceLCY`
- [98](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L98) calls `SetParametersOnDetails`

## GenJnlLineShowWarning

[Line 142](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L142).

- [147](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L147) raises `OnBeforeGenJnlLineShowWarning`, IsHandled
- [157](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L157) calls `ShowWarning`
- [158](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L158) calls `ShowWarning`

## GenJnlLineShowWarningAndGetCause

[Line 168](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L168).

- [172](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L172) calls `GenJnlLineShowWarning`

## SalesHeaderShowWarning

[Line 182](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L182).

- [189](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L189) raises `OnBeforeSalesHeaderShowWarning`, IsHandled
- [199](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L199) calls `CalcSalesHeaderNewOrderAmountLCY`
- [206](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L206) calls `SalesLineAmount`
- [207](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L207) raises `OnSalesHeaderShowWarningOnAfterAssingNewOrderAmountLCY`
- [219](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L219) calls `ShowWarning`

## CalcSalesHeaderNewOrderAmountLCY

[Line 222](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L222), local.

- [227](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L227) raises `OnBeforeCalcSalesHeaderNewOrderAmountLCY`, IsHandled
- [236](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L236) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`

## SalesHeaderShowWarningAndGetCause

[Line 247](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L247).

- [251](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L251) calls `SalesHeaderShowWarning`

## SalesLineShowWarning

[Line 261](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L261).

- [266](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L266) raises `OnBeforeSalesLineShowWarning`, IsHandled
- [279](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L279) calls `CalcSalesLineOrderAmountsLCY`
- [283](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L283) calls `SalesLineAmount`
- [288](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L288) calls `ShowWarning`

## CalcSalesLineOrderAmountsLCY

[Line 291](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L291), local.

- [296](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L296) raises `OnBeforeCalcSalesLineOrderAmountsLCY`, IsHandled

## SalesLineShowWarningAndGetCause

[Line 315](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L315).

- [319](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L319) calls `SalesLineShowWarning`

## SalesLineAmount

[Line 330](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L330), local.

- [335](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L335) raises `OnBeforeSalesLineAmount`, IsHandled

## ShowWarning

[Line 354](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L354).

- [361](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L361) raises `OnBeforeShowWarning`, IsHandled
- [380](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L380) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `IsCreditLimitNotificationEnabled`
- [382](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L382) calls `CalcCreditLimitLCY`
- [385](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L385) raises `OnShowWarningOnAfterCalcCreditLimitLCYExitValue`
- [391](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L391) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `IsOverdueBalanceNotificationEnabled`
- [393](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L393) calls `CalcOverdueBalanceLCY`
- [396](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L396) raises `OnShowWarningOnAfterCalcDueBalanceExitValue`
- [400](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L400) raises `OnShowWarningOnBeforeExitValue`, IsHandled
- [408](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L408) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `GetCreditLimitNotificationMsg`
- [409](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L409) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `GetCreditLimitNotificationId`
- [413](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L413) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `GetOverdueBalanceNotificationMsg`
- [414](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L414) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `GetOverdueBalanceNotificationId`
- [418](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L418) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `GetCreditLimitNotificationMsg`
- [419](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L419) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `GetOverdueBalanceNotificationMsg`
- [420](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L420) calls [Codeunit 312 Cust-Check Cr. Limit](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/) `GetBothNotificationsId`

## CalcCreditLimitLCY

[Line 427](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L427), local.

- [432](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L432) raises `OnBeforeCalcCreditLimitLCY`, IsHandled
- [439](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L439) calls `CalcReturnAmounts`
- [441](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L441) calls `CalcTotalOutstandingAmt`
- [450](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L450) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `GetInvoicedPrepmtAmountLCY`
- [451](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L451) raises `OnCalcCreditLimitLCYOnAfterCalcAmounts`
- [454](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L454) raises `OnAfterCalcCreditLimitLCYProcedure`

## CalcOverdueBalanceLCY

[Line 457](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L457), local.

- [461](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L461) raises `OnCalcOverdueBalanceLCYAfterSetFilter`
- [463](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L463) raises `OnAfterCalcOverdueBalanceLCY`

## CalcTotalOutstandingAmt

[Line 477](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L477), local.

- [484](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L484) raises `OnBeforeCalcTotalOutstandingAmt`, IsHandled
- [489](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L489) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `OutstandingInvoiceAmountFromShipment`
- [493](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L493) raises `OnAfterCalcTotalOutstandingAmt`

## PopulateDataOnNotification

[Line 554](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L554).

- [557](https://jonas-paprotka.de/ref/page/343-check-credit-limit/source/#L557) calls `SetParametersOnDetails`

## Source

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

JOP-AL, 2026-11-20.
