MGCLatticeCustomerCreditLimitExceededBusinessEvent
Business event triggered when a customer's balance plus order exposure crosses their credit limit during a credit limit check. Complements MGCLatticeCustomerHoldStatusChangedBusinessEvent, which fires only on blocked-status changes.
- Event id:
MGCLatticeCustomerCreditLimitExceededBusinessEvent - Contract class:
MGCLatticeCustomerCreditLimitExceededBusinessEventContract
Payload fields
| Name | Type | Description |
|---|---|---|
eventSequence | int64 | Gets or sets the ordering sequence of this emission. |
correlationId | str | Gets or sets the identifier grouping emissions that belong to one logical run or flow. |
schemaVersion | int | Gets or sets the payload schema version of the emitting contract. |
legalEntity | DataAreaId | Gets or sets the legal entity. |
customerAccount | CustAccount | Gets or sets the customer account. |
customerName | str | Gets or sets the customer name. |
creditLimitMST | AmountMST | Gets or sets the credit limit the check used (credit management limit, agreement limit or CustTable.CreditMax), in accounting currency. |
accountingCurrencyCode | CurrencyCode | Gets or sets the legal entity's accounting currency, the currency of every amount in the payload. |
balanceMST | AmountMST | Gets or sets the current customer balance in accounting (MST) currency. |
orderBalanceMST | AmountMST | Gets or sets the open order balance in accounting (MST) currency. |
totalExposureMST | AmountMST | Gets or sets the total exposure (balance + order balance) in accounting (MST) currency that crossed the limit. |
triggeringContext | str | Gets or sets the credit limit check context (the concrete CustCreditLimit subclass, e.g. sales order or invoice). |