Skip to main content

MGCLatticeReturnCreditNotePostedBusinessEvent

Business event triggered when the credit note of a sales return order is posted (the return order is invoiced), after the posting has written the credit note's totals. Raised from sales invoice posting by MGCLatticeSalesInvoiceJournalPost_Class_Extension; pro forma credit notes do not raise it.

  • Event id: MGCLatticeReturnCreditNotePostedBusinessEvent
  • Contract class: MGCLatticeReturnCreditNotePostedBusinessEventContract

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.
invoiceIdInvoiceIdGets or sets the credit note invoice ID.
salesOrderIdSalesIdGets or sets the return order ID.
rmaNumberReturnItemNumGets or sets the RMA (return merchandise authorization) number of the return order.
invoiceAccountCustAccountGets or sets the customer (invoice) account credited.
amountAmountCurGets or sets the credit note total, in the credit note's currency (normally negative).
currencyCodeCurrencyCodeGets or sets the currency of the credit note amount.
crossReferencesListGets or sets the keys external systems hold for the record the event is about (the credited return order). Historical keys are included, in external system order; the list is empty when the record has no keys.