MGCLatticeSalesOrderInvoicePostedBusinessEvent
Business event triggered when a sales order invoice or credit note is posted, after the posting has written the invoice totals. Raised from sales invoice posting by MGCLatticeSalesInvoiceJournalPost_Class_Extension; pro forma invoices do not raise it.
- Event id:
MGCLatticeSalesOrderInvoicePostedBusinessEvent - Contract class:
MGCLatticeSalesOrderInvoicePostedBusinessEventContract
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. |
invoiceAccount | CustAccount | Gets or sets the invoice account. |
salesOrderId | SalesId | Gets or sets the sales order ID. |
invoiceId | InvoiceId | Gets or sets the invoice ID. |
invoiceDate | InvoiceDate | Gets or sets the invoice date. |
invoiceAmount | AmountCur | Gets or sets the invoice total including tax, in the invoice currency; negative for a credit note. |
currencyCode | CurrencyCode | Gets or sets the currency. |
crossReferences | List | Gets or sets the keys external systems hold for the record the event is about (the invoiced sales order). Historical keys are included, in external system order; the list is empty when the record has no keys. |