Skip to main content

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​

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.
isUpdatebooleanGets or sets a value indicating whether the record was updated (true) or created (false).
priceTypeintGets or sets the trade agreement price/relation type as an integer.
priceTypeNamestrGets or sets the trade agreement price/relation type symbol name.
accountCodeintGets or sets the account-code relation (Table / GroupId / All) as an integer.
accountCodeNamestrGets or sets the account-code relation symbol name.
partyTypestrGets or sets the friendly party type (Customer / Group / All) that the agreement applies to.
accountRelationPriceDiscAccountRelationGets or sets the account relation (customer account or price group) the agreement applies to.
itemCodeintGets or sets the item-code relation (Table / GroupId / All) as an integer.
itemCodeNamestrGets or sets the item-code relation (Table / GroupId / All) symbol name.
itemRelationPriceDiscItemRelationGets or sets the item relation (item number or item group) the agreement applies to.
currencyCodeCurrencyCodeGets or sets the currency of the agreed price.
amountPriceDiscAmountGets or sets the agreed sales price amount.
priceUnitPriceUnitGets or sets the price unit (number of units the price applies to).
quantityAmountFromAmountQtyGets or sets the from quantity/amount the agreement is valid from.
fromDateFromDateGets or sets the date the agreement is effective from.
toDateToDateGets or sets the date the agreement is effective to.
unitIdUnitOfMeasureSymbolGets or sets the unit of measure the agreed price applies to.
inventDimIdInventDimIdGets or sets the inventory dimension combination the agreed price applies to.
priceDiscTableRecIdRecIdGets or sets the record ID of the trade agreement record (PriceDiscTable), which identifies the agreement line across its create and update events.