{"title":"Codeunit 6489 Serv. Check Credit Limit, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6489-serv-check-credit-limit/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":6489,"name":"Serv. Check Credit Limit","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6489-serv-check-credit-limit/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6489-serv-check-credit-limit/source/","path":"src/Layers/W1/BaseApp/Service/Sales/Customer/ServCheckCreditLimit.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"page:6489":{"name":"Serv. Check Credit Limit","url":"https://jonas-paprotka.de/ref/page/6489-serv-check-credit-limit/"},"page:1870":{"name":"Credit Limit Notification","url":"https://jonas-paprotka.de/ref/page/1870-credit-limit-notification/"},"codeunit:1511":{"name":"Notification Lifecycle Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1511-notification-lifecycle-mgt/"},"table:1518":{"name":"My Notifications","url":"https://jonas-paprotka.de/ref/table/1518-my-notifications/"},"table:5902":{"name":"Service Line","url":"https://jonas-paprotka.de/ref/table/5902-service-line/"}},"procs":[{"name":"ServiceHeaderCheck","line":29,"kind":"procedure","params":1,"steps":[[35,"event","OnBeforeServiceHeaderCheck",1],[42,"event","OnNewCheckRemoveCustomerNotifications",0],[44,"event","OnServiceHeaderCheckOnBeforeShowWarning",0],[45,"ext","page",6489,"ServiceHeaderShowWarningAndGetCause",2],[46,"call","CreateAndSendNotification",3]]},{"name":"ServiceLineCheck","line":49,"kind":"procedure","params":1,"steps":[[56,"event","OnBeforeServiceLineCheck",1],[65,"event","OnNewCheckRemoveCustomerNotifications",0],[67,"event","OnServiceLineCheckOnBeforeShowWarning",0],[68,"ext","page",6489,"ServiceLineShowWarningAndGetCause",2],[69,"call","CreateAndSendNotification",3]]},{"name":"ServiceContractHeaderCheck","line":72,"kind":"procedure","params":1,"steps":[[78,"event","OnBeforeServiceContractHeaderCheck",1],[85,"event","OnNewCheckRemoveCustomerNotifications",0],[87,"event","OnServiceContractHeaderCheckOnBeforeShowWarning",0],[88,"ext","page",6489,"ServiceContractHeaderShowWarningAndGetCause",2],[89,"call","CreateAndSendNotification",3]]},{"name":"ShowNotificationDetails","line":97,"kind":"procedure","params":1,"steps":[[101,"ext","page",1870,"SetHeading",1],[102,"ext","page",1870,"InitializeFromNotificationVar",1]]},{"name":"CreateAndSendNotification","line":106,"kind":"procedure","access":"local","params":3,"steps":[[112,"event","OnBeforeCreateAndSendNotification",1],[116,"call","GetBothNotificationsId",0],[117,"call","GetCreditLimitNotificationId",0],[117,"ext","page",6489,"GetHeading",0],[118,"call","GetOverdueBalanceNotificationId",0],[118,"ext","page",6489,"GetSecondHeading",0],[123,"ext","page",6489,"GetHeading",0],[127,"call","GetCreditLimitNotificationId",0],[129,"call","GetOverdueBalanceNotificationId",0],[137,"ext","page",6489,"PopulateDataOnNotification",1],[138,"ext","codeunit",1511,"SendNotificationWithAdditionalContext",3]]},{"name":"IsCreditLimitNotificationEnabled","line":156,"kind":"procedure","params":1,"steps":[[160,"ext","table",1518,"IsEnabledForRecord",2],[160,"call","GetCreditLimitNotificationId",0]]},{"name":"IsOverdueBalanceNotificationEnabled","line":163,"kind":"procedure","params":1,"steps":[[167,"ext","table",1518,"IsEnabledForRecord",2],[167,"call","GetOverdueBalanceNotificationId",0]]},{"name":"OnInitializingNotificationWithDefaultState","line":171,"kind":"procedure","access":"local","params":0,"steps":[[175,"ext","table",1518,"InsertDefaultWithTableNum",4],[175,"call","GetCreditLimitNotificationId",0],[179,"ext","table",1518,"InsertDefaultWithTableNum",4],[179,"call","GetOverdueBalanceNotificationId",0]]},{"name":"OnAfterCalcTotalOutstandingAmt","line":236,"kind":"procedure","access":"local","params":2,"steps":[[241,"ext","table",5902,"OutstandingInvoiceAmountFromShipment",1]]}]}