MGCLatticeTradeAgreementPriceDeletedBusinessEvent
Business event raised when a sales-price trade agreement row is deleted (through PriceDiscTable.delete() or by posting a trade-agreement journal line marked for deletion).
- Event id:
MGCLatticeTradeAgreementPriceDeletedBusinessEvent - 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). |