Page 343 "Check Credit Limit"
Base Application · Microsoft.Sales.Customer
Across versions
- BC23present
- BC24declaration changed
- BC259 procedures added, 7 procedures removed
- BC261 procedures changed
- BC27unchanged
- BC289 procedures removed, 3 events removed
- BC29-30unchanged
Neighbourhood 3 connected objects and pages
Base Application · Microsoft.Sales.Customer · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Check Credit Limit |
| SourceTable | Customer |
| PageType | ConfirmationDialog |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Content | Control2 | label | — |
| Do not show this message again. | HideMessage |
Specifies to no longer show this message when working with this document while the customer is over credit limit | |
| CreditLimitDetails | part Page 1871 “Credit Limit Details” | — |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Customer | Card | View details for the selected record. | Page 21 “Customer Card” |
| Statistics | View statistics for credit limit entries. | Page 151 “Customer Statistics” |
Events published
OnBeforeCalcTotalOutstandingAmt(var Customer: Record Customer; var IsHandled: Boolean; var Result: Decimal)(integration): Raised before calculating the total outstanding amount for the customer.OnBeforeCalcCreditLimitLCY(var Customer: Record Customer; var OutstandingRetOrdersLCY: Decimal; var RcdNotInvdRetOrdersLCY: Decimal; var NewOrderAmountLCY: Decimal; var OrderAmountTotalLCY: Decimal; var OrderAmountThisOrderLCY: Decimal; var ShippedRetRcdNotIndLCY: Decimal; var CustCreditAmountLCY: Decimal; var CustNo: Code[20]; var ExtensionAmountsDic: Dictionary of [Guid, Decimal]; var IsHandled: Boolean; DeltaAmount: Decimal; var CustomerRec: Record Customer)+ BC25 − BC25 (integration): Raised before calculating the credit limit amounts in local currency.OnBeforeCalcSalesHeaderNewOrderAmountLCY(var Customer: Record Customer; SalesHeader: Record "Sales Header"; var NewOrderAmountLCY: Decimal; var IsHandled: Boolean)(integration): Raised before calculating the new order amount in local currency for a sales header.OnBeforeCalcSalesLineOrderAmountsLCY(var Customer: Record Customer; SalesLine: Record "Sales Line"; var NewOrderAmountLCY: Decimal; var OldOrderAmountLCY: Decimal; var IsHandled: Boolean)(integration): Raised before calculating the order amounts in local currency for a sales line.OnBeforeGenJnlLineShowWarning(GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean; var Result: Boolean; var Customer: Record Customer)(integration): Raised before showing the credit limit warning for a general journal line.OnBeforeSalesHeaderShowWarning(var SalesHeader: Record "Sales Header"; var Result: Boolean; var IsHandled: Boolean; var Customer: Record Customer; var DeltaAmount: Decimal)(integration): Raised before showing the credit limit warning for a sales header.OnBeforeSalesLineShowWarning(var SalesLine: Record "Sales Line"; var Result: Boolean; var IsHandled: Boolean; var Customer: Record Customer; var DeltaAmount: Decimal)(integration): Raised before showing the credit limit warning for a sales line.OnBeforeSalesLineAmount(var Customer: Record Customer; DocType: Enum "Sales Document Type"; DocNo: Code[20]; var Result: Decimal; var IsHandled: Boolean)(integration): Raised before calculating the sales line amount.OnBeforeShowWarning(var Customer: Record Customer; var NewOrderAmountLCY: Decimal; OldOrderAmountLCY: Decimal; OrderAmountTotalLCY: Decimal; ShippedRetRcdNotIndLCY: Decimal; CustCreditAmountLCY: Decimal; DeltaAmount: Decimal; CheckOverDueBalance: Boolean; var Heading: Text[250]; var Result: Boolean; var IsHandled: Boolean; var NotificationId: Guid; var NewCustNo: Code[20]; NewOrderAmountLCY2: Decimal; OldOrderAmountLCY2: Decimal; OrderAmountThisOrderLCY: Decimal)(integration): Raised before showing the credit limit warning dialog.OnCalcOverdueBalanceLCYAfterSetFilter(var Customer: Record Customer)(integration): Raised after setting the date filter when calculating the overdue balance.OnShowWarningOnAfterCalcCreditLimitLCYExitValue(var Customer: Record Customer; var CustCreditAmountLCY: Decimal; var ExitValue: Integer)(integration): Raised after calculating the credit limit and determining the exit value.OnShowWarningOnAfterCalcDueBalanceExitValue(var Customer: Record Customer; var ExitValue: Integer)(integration): Raised after calculating the due balance and determining the exit value.OnShowWarningOnBeforeExitValue(var Customer: Record Customer; ExitValue: Integer; var Result: Boolean; var IsHandled: Boolean; var Heading: Text[250]; var SecondHeading: Text[250]; var NotificationID: Guid)(integration): Raised before returning the exit value from ShowWarning.OnAfterCalcOverdueBalanceLCY(var Customer: Record Customer)(integration): Raised after calculating the overdue balance in local currency.OnAfterCalcTotalOutstandingAmt(var Customer: Record Customer; var Result: Decimal)+ BC25 (integration): Raised after calculating the total outstanding amount.- subscribers: Codeunit 6489 “Serv. Check Credit Limit” OnAfterCalcTotalOutstandingAmt
OnAfterCalcCreditLimitLCYProcedure(var Customer: Record Customer; var CustCreditAmountLCY: Decimal; var ExtensionAmountsDic: Dictionary of [Guid, Decimal])(integration): Raised after the credit limit calculation procedure completes.OnSalesHeaderShowWarningOnAfterAssingNewOrderAmountLCY(var SalesHeader: Record "Sales Header"; var NewOrderAmountLCY: Decimal)(integration): Raised after assigning the new order amount for a sales header warning.OnCalcCreditLimitLCYOnAfterCalcAmounts(var Customer: Record Customer; var ShippedRetRcdNotIndLCY: Decimal; var CustCreditAmountLCY: Decimal)+ BC25 (integration): Raised after calculating amounts during credit limit calculation.- subscribers: Codeunit 6489 “Serv. Check Credit Limit” OnCalcCreditLimitLCYOnAfterCalcAmounts
Procedures
GenJnlLineShowWarning(GenJnlLine: Record "Gen. Journal Line"): Boolean: Checks if a credit limit warning should be shown for a general journal line.GenJnlLineShowWarningAndGetCause(GenJnlLine: Record "Gen. Journal Line"; var NotificationContextGuidOut: Guid): Boolean: Checks if a credit limit warning should be shown for a general journal line and returns the notification cause.SalesHeaderShowWarning(SalesHeader: Record "Sales Header"): Boolean: Checks if a credit limit warning should be shown for a sales header.SalesHeaderShowWarningAndGetCause(SalesHeader: Record "Sales Header"; var NotificationContextGuidOut: Guid): BooleanΔ BC26: Checks if a credit limit warning should be shown for a sales header and returns the notification cause.SalesLineShowWarning(SalesLine: Record "Sales Line"): Boolean: Checks if a credit limit warning should be shown for a sales line.SalesLineShowWarningAndGetCause(SalesLine: Record "Sales Line"; var NotificationContextGuidOut: Guid): Boolean: Checks if a credit limit warning should be shown for a sales line and returns the notification cause.ShowWarning(NewCustNo: Code[20]; NewOrderAmountLCY2: Decimal; OldOrderAmountLCY2: Decimal; CheckOverDueBalance: Boolean): Boolean: Evaluates credit limit and overdue balance and determines if a warning should be displayed.SetHideMessageVisible(HideMsgVisible: Boolean): Sets the visibility of the hide message checkbox.SetHideMessage(HideMsg: Boolean): Sets the hide message state for the credit limit dialog.GetHideMessage(): Boolean: Gets whether the user has opted to hide the credit limit message.GetHeading(): Text[250]: Gets the primary heading text for the credit limit notification.GetSecondHeading(): Text[250]: Gets the secondary heading text for the overdue balance notification.GetNotificationId(): Guid: Gets the notification identifier for the current credit limit or overdue balance warning.PopulateDataOnNotification(CreditLimitNotification: Notification): Populates the credit limit notification with data from the current customer record.
Plus 8 local procedures.
Triggers
OnAfterGetRecord, OnOpenPage
Relations
- source table Table 18 “Customer”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 312 “Cust-Check Cr. Limit” (7 calls:
ShowWarning → GetBothNotificationsId,ShowWarning → GetCreditLimitNotificationId,ShowWarning → GetCreditLimitNotificationMsg, …)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "Check Credit Limit"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.