MGCLatticeSalesPriceTradeAgreementChangedBusinessEvent
Business event triggered when a sales price trade agreement record (a PriceDiscTable row, relation PriceType::PriceSales) is created or updated.
- Event id:
MGCLatticeSalesPriceTradeAgreementChangedBusinessEvent - Contract class:
MGCLatticeSalesPriceTradeAgreementChangedBusinessEventContract
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. |
isUpdate | boolean | Gets or sets a value indicating whether the record was updated (true) or created (false). |
priceType | int | Gets or sets the trade agreement price/relation type as an integer. |
priceTypeName | str | Gets or sets the trade agreement price/relation type symbol name. |
accountCode | int | Gets or sets the account-code relation (Table / GroupId / All) as an integer. |
accountCodeName | str | Gets or sets the account-code relation symbol name. |
partyType | str | Gets or sets the friendly party type (Customer / Group / All) that the agreement applies to. |
accountRelation | PriceDiscAccountRelation | Gets or sets the account relation (customer account or price group) the agreement applies to. |
itemCode | int | Gets or sets the item-code relation (Table / GroupId / All) as an integer. |
itemCodeName | str | Gets or sets the item-code relation (Table / GroupId / All) symbol name. |
itemRelation | PriceDiscItemRelation | Gets or sets the item relation (item number or item group) the agreement applies to. |
currencyCode | CurrencyCode | Gets or sets the currency of the agreed price. |
amount | PriceDiscAmount | Gets or sets the agreed sales price amount. |
priceUnit | PriceUnit | Gets or sets the price unit (number of units the price applies to). |
quantityAmountFrom | AmountQty | Gets or sets the from quantity/amount the agreement is valid from. |
fromDate | FromDate | Gets or sets the date the agreement is effective from. |
toDate | ToDate | Gets or sets the date the agreement is effective to. |
unitId | UnitOfMeasureSymbol | Gets or sets the unit of measure the agreed price applies to. |
inventDimId | InventDimId | Gets or sets the inventory dimension combination the agreed price applies to. |
priceDiscTableRecId | RecId | Gets or sets the record ID of the trade agreement record (PriceDiscTable), which identifies the agreement line across its create and update events. |