Skip to main content

MGCLatticeTradeAgreementPriceModifiedBusinessEvent

Business event raised when a posted trade-agreement journal changes an existing sales price. Carries the previous amount and the names of the fields the post changed.

  • Event id: MGCLatticeTradeAgreementPriceModifiedBusinessEvent
  • Contract class: MGCLatticeTradeAgreementPriceBusinessEventContract

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 (company) of the trade agreement row, in lower case.
changeTypeintGets or sets the change type as an integer (MGCLatticeTradeAgreementPriceChangeType).
changeTypeNamestrGets or sets the change type symbol name.
priceTypeintGets or sets the trade agreement relation (PriceType) as an integer.
priceTypeNamestrGets or sets the trade agreement relation (PriceType) symbol name.
accountCodeintGets or sets the account code (PriceDiscPartyCodeType) as an integer.
accountCodeNamestrGets or sets the account code (PriceDiscPartyCodeType) symbol name.
accountRelationPriceDiscAccountRelationGets or sets the account relation (customer account or price group).
itemCodeintGets or sets the item code (PriceDiscProductCodeType) as an integer.
itemCodeNamestrGets or sets the item code (PriceDiscProductCodeType) symbol name.
itemRelationPriceDiscItemRelationGets or sets the item relation (item number or item group).
currencyCodeCurrencyCodeGets or sets the currency of the price.
unitIdUnitOfMeasureSymbolGets or sets the unit of measure of the price.
quantityAmountFromAmountQtyGets or sets the from quantity of the quantity break of the row.
quantityAmountToAmountQtyGets or sets the to quantity of the quantity break of the row.
inventDimIdInventDimIdGets or sets the inventory dimension combination id the price applies to (an environment-local identifier).
priceUnitPriceUnitGets or sets the price unit.
fromDateFromDateGets or sets the date the price is effective from.
toDateToDateGets or sets the date the price is effective to.
amountPriceDiscAmountGets or sets the price.
oldAmountPriceDiscAmountGets or sets the price before the change; 0 for the change types that have no previous state.
discountPercentDiscPctGets or sets the discount percentage of the row (PriceDiscTable.Percent1).
priceDiscTableRecIdRecIdGets or sets the record id of the trade agreement row.
previousPriceDiscTableRecIdRecIdGets or sets the record id of the row this row took over from (Superseded); 0 otherwise.
changedFieldsListGets or sets the names of the fields the change altered (Modified only).