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
| 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. |
invoiceId | InvoiceId | Gets or sets the credit note invoice ID. |
salesOrderId | SalesId | Gets or sets the return order ID. |
rmaNumber | ReturnItemNum | Gets or sets the RMA (return merchandise authorization) number of the return order. |
invoiceAccount | CustAccount | Gets or sets the customer (invoice) account credited. |
amount | AmountCur | Gets or sets the credit note total, in the credit note's currency (normally negative). |
currencyCode | CurrencyCode | Gets or sets the currency of the credit note amount. |
crossReferences | List | Gets 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. |