Skip to main content

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​

NameTypeDescription
eventSequenceint64Gets or sets the ordering sequence of this emission.
correlationIdstrGets or sets the identifier grouping emissions that belong to one logical run or flow.
schemaVersionintGets or sets the payload schema version of the emitting contract.
legalEntityDataAreaIdGets or sets the legal entity.
invoiceAccountCustAccountGets or sets the invoice account.
salesOrderIdSalesIdGets or sets the sales order ID.
invoiceIdInvoiceIdGets or sets the invoice ID.
invoiceDateInvoiceDateGets or sets the invoice date.
invoiceAmountAmountCurGets or sets the invoice total including tax, in the invoice currency; negative for a credit note.
currencyCodeCurrencyCodeGets or sets the currency.
crossReferencesListGets 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.