---
title: "Codeunit 312 Cust-Check Cr. Limit, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/points/
object: https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-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/"
---

# Codeunit 312 Cust-Check Cr. Limit, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/points/

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

## GenJnlLineCheck

[Line 38](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L38).

- [45](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L45) raises `OnBeforeGenJnlLineCheck`, IsHandled
- [54](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L54) raises `OnNewCheckRemoveCustomerNotifications`
- [56](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L56) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `GenJnlLineShowWarningAndGetCause`
- [57](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L57) calls `CreateAndSendNotification`

## SalesHeaderCheck

[Line 65](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L65).

- [71](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L71) raises `OnBeforeSalesHeaderCheck`, IsHandled
- [76](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L76) raises `OnNewCheckRemoveCustomerNotifications`
- [78](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L78) raises `OnSalesHeaderCheckOnBeforeShowWarning`
- [79](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L79) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `SalesHeaderShowWarningAndGetCause`
- [80](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L80) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `CustomerCreditLimitNotExceeded`
- [84](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L84) calls [Codeunit 1330 Instruction Mgt.](https://jonas-paprotka.de/ref/codeunit/1330-instruction-mgt/) `IsEnabled`
- [84](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L84) calls `GetInstructionType`
- [85](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L85) calls `CreateAndSendNotification`
- [87](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L87) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `CustomerCreditLimitExceeded`
- [87](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L87) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `GetNotificationId`

## SalesLineCheck

[Line 97](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L97).

- [104](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L104) raises `OnBeforeSalesLineCheck`, IsHandled
- [112](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L112) raises `OnNewCheckRemoveCustomerNotifications`
- [114](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L114) raises `OnSalesLineCheckOnBeforeShowWarning`
- [115](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L115) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `SalesLineShowWarningAndGetCause`
- [116](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L116) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `CustomerCreditLimitNotExceeded`
- [121](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L121) calls [Codeunit 1330 Instruction Mgt.](https://jonas-paprotka.de/ref/codeunit/1330-instruction-mgt/) `IsEnabled`
- [121](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L121) calls `GetInstructionType`
- [122](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L122) calls `CreateAndSendNotification`
- [124](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L124) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `CustomerCreditLimitExceeded`
- [124](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L124) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `GetNotificationId`

## BlanketSalesOrderToOrderCheck

[Line 146](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L146).

- [152](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L152) raises `OnBeforeBlanketSalesOrderToOrderCheck`, IsHandled
- [159](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L159) raises `OnNewCheckRemoveCustomerNotifications`
- [161](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L161) raises `OnBlanketSalesOrderToOrderCheckOnBeforeSalesHeaderShowWarning`
- [162](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L162) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `SalesHeaderShowWarningAndGetCause`
- [163](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L163) calls `CreateAndSendNotification`

## ShowNotificationDetails

[Line 170](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L170).

- [174](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L174) calls [Page 1870 Credit Limit Notification](https://jonas-paprotka.de/ref/page/1870-credit-limit-notification/) `SetHeading`
- [175](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L175) calls [Page 1870 Credit Limit Notification](https://jonas-paprotka.de/ref/page/1870-credit-limit-notification/) `InitializeFromNotificationVar`

## CreateAndSendNotification

[Line 179](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L179), local.

- [185](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L185) raises `OnBeforeCreateAndSendNotification`, IsHandled
- [189](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L189) calls `GetBothNotificationsId`
- [190](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L190) calls `GetCreditLimitNotificationId`
- [190](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L190) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `GetHeading`
- [191](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L191) calls `GetOverdueBalanceNotificationId`
- [191](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L191) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `GetSecondHeading`
- [196](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L196) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `GetHeading`
- [200](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L200) calls `GetCreditLimitNotificationId`
- [202](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L202) calls `GetOverdueBalanceNotificationId`
- [210](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L210) calls [Page 343 Check Credit Limit](https://jonas-paprotka.de/ref/page/343-check-credit-limit/) `PopulateDataOnNotification`
- [211](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L211) calls [Codeunit 1511 Notification Lifecycle Mgt.](https://jonas-paprotka.de/ref/codeunit/1511-notification-lifecycle-mgt/) `SendNotificationWithAdditionalContext`

## IsCreditLimitNotificationEnabled

[Line 246](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L246).

- [250](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L250) calls [Table 1518 My Notifications](https://jonas-paprotka.de/ref/table/1518-my-notifications/) `IsEnabledForRecord`
- [250](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L250) calls `GetCreditLimitNotificationId`

## IsOverdueBalanceNotificationEnabled

[Line 258](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L258).

- [262](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L262) calls [Table 1518 My Notifications](https://jonas-paprotka.de/ref/table/1518-my-notifications/) `IsEnabledForRecord`
- [262](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L262) calls `GetOverdueBalanceNotificationId`

## OnInitializingNotificationWithDefaultState

[Line 266](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L266), local.

- [270](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L270) calls [Table 1518 My Notifications](https://jonas-paprotka.de/ref/table/1518-my-notifications/) `InsertDefaultWithTableNum`
- [270](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L270) calls `GetCreditLimitNotificationId`
- [274](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L274) calls [Table 1518 My Notifications](https://jonas-paprotka.de/ref/table/1518-my-notifications/) `InsertDefaultWithTableNum`
- [274](https://jonas-paprotka.de/ref/codeunit/312-cust-check-cr-limit/source/#L274) calls `GetOverdueBalanceNotificationId`

## Source

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

JOP-AL, 2026-11-20.
