Skip to main content

MGCLatticePurchMultilineDiscountAgreementEntity

The MGCLatticePurchMultilineDiscountAgreementEntity exposes the purchase multiline discount trade agreements in PriceDiscTable: the rows whose Module is Vend and whose Relation (price type) is MultiLineDiscPurch. It carries the same lean field set and SysRecId key as MGCLatticeTradeAgreementEntity, which holds every price and discount type in one collection; this entity is that collection pre-filtered for OData consumers. Read-only, and not enabled for Data management: export trade agreements through MGCLatticeTradeAgreementEntity.

  • Public collection name: LatticePurchaseMultilineDiscountAgreements
  • Primary key: SysRecId

Fields​

NameTypeMandatoryDescription
PriceType``No
ModuleType``No
AccountCode``No
AccountRelation``No
ItemCode``No
ItemRelation``No
InventoryDimensionId``No
UnitSymbol``No
CurrencyCode``No
QuantityFrom``No
QuantityTo``No
Amount``No
DiscountPercent1``No
DiscountPercent2``No
Markup``No
PriceUnit``No
FromDate``No
ToDate``No
DeliveryLeadTime``No
AgreementId``No
SysRecId``No

Mappings​

Entity fieldData sourceField
PriceTypePriceDiscTablerelation
ModuleTypePriceDiscTableModule
AccountCodePriceDiscTableAccountCode
AccountRelationPriceDiscTableAccountRelation
ItemCodePriceDiscTableItemCode
ItemRelationPriceDiscTableItemRelation
InventoryDimensionIdPriceDiscTableInventDimId
UnitSymbolPriceDiscTableUnitId
CurrencyCodePriceDiscTableCurrency
QuantityFromPriceDiscTableQuantityAmountFrom
QuantityToPriceDiscTableQuantityAmountTo
AmountPriceDiscTableAmount
DiscountPercent1PriceDiscTablePercent1
DiscountPercent2PriceDiscTablePercent2
MarkupPriceDiscTableMarkup
PriceUnitPriceDiscTablePriceUnit
FromDatePriceDiscTableFromDate
ToDatePriceDiscTableToDate
DeliveryLeadTimePriceDiscTableDeliveryTime
AgreementIdPriceDiscTableAgreement
SysRecIdPriceDiscTableRecId