---
title: "Codeunit 6489 Serv. Check Credit Limit"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/6489-serv-check-credit-limit/
type: codeunit
id: 6489
name: "Serv. Check Credit Limit"
app: "Base Application"
namespace: Microsoft.Sales.Customer
versions: "25-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/6489-serv-check-credit-limit/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 6489 Serv. Check Credit Limit

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/6489-serv-check-credit-limit/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Sales.Customer |
| Versions | 25-28 |
| Source file | Service/Sales/Customer/ServCheckCreditLimit.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ServiceHeaderCheck | (Record Service Header) | - | public | 25-28 | - | - |
| ServiceLineCheck | (Record Service Line) | - | public | 25-28 | - | - |
| ServiceContractHeaderCheck | (Record Service Contract Header) | - | public | 25-28 | - | - |
| GetInstructionType | (Code[30], Code[20]) | Code[50] | public | 25-28 | - | - |
| ShowNotificationDetails | (Notification) | - | public | 25-28 | - | - |
| GetCreditLimitNotificationId | () | Guid | public | 25-28 | - | - |
| GetOverdueBalanceNotificationId | () | Guid | public | 25-28 | - | - |
| GetBothNotificationsId | () | Guid | public | 25-28 | - | - |
| IsCreditLimitNotificationEnabled | (Record Customer) | Boolean | public | 25-28 | - | - |
| IsOverdueBalanceNotificationEnabled | (Record Customer) | Boolean | public | 25-28 | - | - |
| GetCreditLimitNotificationMsg | () | Text | public | 25-28 | - | - |
| GetOverdueBalanceNotificationMsg | () | Text | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnNewCheckRemoveCustomerNotifications | (RecordId, Boolean) | 25-28 | - | - |
| Integration event | OnBeforeServiceHeaderCheck | (var Record Service Header, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeServiceLineCheck | (var Record Service Line, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeCreateAndSendNotification | (RecordId, Guid, Text[250], Notification, var Boolean, var Page Serv. Check Credit Limit) | 25-28 | - | - |
| Integration event | OnServiceHeaderCheckOnBeforeShowWarning | (var Page Serv. Check Credit Limit) | 25-28 | - | - |
| Integration event | OnServiceLineCheckOnBeforeShowWarning | (var Page Serv. Check Credit Limit) | 25-28 | - | - |
| Integration event | OnServiceContractHeaderCheckOnBeforeShowWarning | (var Page Serv. Check Credit Limit) | 25-28 | - | - |
| Integration event | OnBeforeServiceContractHeaderCheck | (Record Service Contract Header, var Boolean) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
