MGCLatticeTradeAgreementPriceSupersededBusinessEvent
Business event raised when a posted trade-agreement journal adds a sales price that takes over from an existing sales price of the same agreement (the existing price is in effect on the new price's From date). Carries the amount and record id of the price it takes over from; the existing row itself is not changed.
- Event id:
MGCLatticeTradeAgreementPriceSupersededBusinessEvent - Contract class:
MGCLatticeTradeAgreementPriceBusinessEventContract
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 (company) of the trade agreement row, in lower case. |
changeType | int | Gets or sets the change type as an integer (MGCLatticeTradeAgreementPriceChangeType). |
changeTypeName | str | Gets or sets the change type symbol name. |
priceType | int | Gets or sets the trade agreement relation (PriceType) as an integer. |
priceTypeName | str | Gets or sets the trade agreement relation (PriceType) symbol name. |
accountCode | int | Gets or sets the account code (PriceDiscPartyCodeType) as an integer. |
accountCodeName | str | Gets or sets the account code (PriceDiscPartyCodeType) symbol name. |
accountRelation | PriceDiscAccountRelation | Gets or sets the account relation (customer account or price group). |
itemCode | int | Gets or sets the item code (PriceDiscProductCodeType) as an integer. |
itemCodeName | str | Gets or sets the item code (PriceDiscProductCodeType) symbol name. |
itemRelation | PriceDiscItemRelation | Gets or sets the item relation (item number or item group). |
currencyCode | CurrencyCode | Gets or sets the currency of the price. |
unitId | UnitOfMeasureSymbol | Gets or sets the unit of measure of the price. |
quantityAmountFrom | AmountQty | Gets or sets the from quantity of the quantity break of the row. |
quantityAmountTo | AmountQty | Gets or sets the to quantity of the quantity break of the row. |
inventDimId | InventDimId | Gets or sets the inventory dimension combination id the price applies to (an environment-local identifier). |
priceUnit | PriceUnit | Gets or sets the price unit. |
fromDate | FromDate | Gets or sets the date the price is effective from. |
toDate | ToDate | Gets or sets the date the price is effective to. |
amount | PriceDiscAmount | Gets or sets the price. |
oldAmount | PriceDiscAmount | Gets or sets the price before the change; 0 for the change types that have no previous state. |
discountPercent | DiscPct | Gets or sets the discount percentage of the row (PriceDiscTable.Percent1). |
priceDiscTableRecId | RecId | Gets or sets the record id of the trade agreement row. |
previousPriceDiscTableRecId | RecId | Gets or sets the record id of the row this row took over from (Superseded); 0 otherwise. |
changedFields | List | Gets or sets the names of the fields the change altered (Modified only). |