Data entity

GUPTradeAgreementInquiryResultEntity

Read-only results of a trade agreement setup inquiry, keyed by journal number and line number. Each row holds price details such as customer, item, inventory dimensions, quantity and date ranges, amount and currency. It also shows the price attribute combination and its header and line conditions.

Entity name
GUPTradeAgreementInquiryResultEntity
Public entity name
TradeAgreementInquiryResult
OData collection
TradeAgreementInquiryResults
Category
Not set
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
PriceDisc
Keys
TradeAgreementJournalNumber, LineNumber
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/TradeAgreementInquiryResults
Dataverse virtual table
mserp_guptradeagreementinquiryresultentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • GUPTradeAgreementInquiryResult · root
  • InventDim · InnerJoin to GUPTradeAgreementInquiryResult · read-only
  • GUPPriceComponentCodePriceAttributeGroupCombination · OuterJoin to GUPTradeAgreementInquiryResult · read-only
  • GUPPricingRuleHeader (table GUPPricingRule) · OuterJoin to GUPTradeAgreementInquiryResult
  • GUPPricingRuleLine (table GUPPricingRule) · OuterJoin to GUPTradeAgreementInquiryResult

Fields (72)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TradeAgreementJournalNumberNumber of the price or discount journal.String (20)
PriceDiscJournalNum
NoYesGUPTradeAgreementInquiryResult.JournalNum
LineNumberNumber of the line.Real
LineNum
NoYesGUPTradeAgreementInquiryResult.LineNum
PriceCustomerGroupCodePrice group the result row applies to.String
PriceGroupId
NoYescomputed
CustomerAccountNumberCustomer account the result row applies to.String (20)
CustAccount
NoYescomputed
ItemNumberItem the result row applies to.String (20)
ItemId
NoYescomputed
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
PriceSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
PriceWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
FromQuantityLower limit of the quantity range.Real
AmountQty
NoYesGUPTradeAgreementInquiryResult.QuantityAmountFrom
ToQuantityUpper limit of the quantity range.Real
AmountQuantityTo
NoYesGUPTradeAgreementInquiryResult.QuantityAmountTo
UnitIdUnit symbol, which points to a unit record.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolGUPTradeAgreementInquiryResult.UnitId
PriceFromDateStart date of the line.Date
FromDate
NoYesGUPTradeAgreementInquiryResult.FromDate
PriceToDateEnd date of the line.Date
ToDate
NoYesGUPTradeAgreementInquiryResult.ToDate
PriceAmount in the transaction currency.Real
PriceDiscAmount
NoYesGUPTradeAgreementInquiryResult.Amount
PriceCurrencyCodeCurrency code of the line, which points to a currency record.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeGUPTradeAgreementInquiryResult.Currency
AttributeBasedPricingIdID of the attribute-based pricing calculation, which points to a calculation record.String
PDSCalculationId
NoYesPDSCalculationTable.CalculationIdGUPTradeAgreementInquiryResult.PDSCalculationId
FixedPriceChargesPrice charges on the line.Real
PriceMarkup
NoYesGUPTradeAgreementInquiryResult.Markup
SalesPriceQuantityQuantity that the price applies to.Real
PriceUnit
NoYesGUPTradeAgreementInquiryResult.PriceUnit
SalesLeadTimeDaysLead time for delivery.Integer
LeadTimeDelivery
NoYesGUPTradeAgreementInquiryResult.DeliveryTime
WillDeliveryDateControlDisregardLeadTimeYes/No flag for ignoring the lead time.Enum
DisregardLeadTime
NoYes

Platform enum: values not in the metadata extract.

NoYesGUPTradeAgreementInquiryResult.DisregardLeadTime
IsGenericCurrencySearchEnabledYes/No flag for including a generic currency.Enum
SalesGenericCurrency
NoYes

Platform enum: values not in the metadata extract.

NoYesGUPTradeAgreementInquiryResult.GenericCurrency
WillSearchContinueYes/No flag labelled 'Find next'.Enum
SearchAgain
NoYes

Platform enum: values not in the metadata extract.

NoYesGUPTradeAgreementInquiryResult.SearchAgain
ProcessingLogLog text for the line.String (255)
PriceJournalLogTrans
NoYesGUPTradeAgreementInquiryResult.Log
AccountRelationCustomer or vendor account that the line applies to.String (20)
PriceDiscAccountRelation
NoNo (private)CustTable.AccountNumVendTable.AccountNumGUPTradeAgreementInquiryResult.AccountRelation
AccountCodeKind of party the line applies to: Table, Group or All.Enum
PriceDiscPartyCode
PriceDiscPartyCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)GUPTradeAgreementInquiryResult.AccountCode
ItemCodeKind of product the line applies to: Table, Group or All.Enum
PriceDiscProductCode
PriceDiscProductCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)GUPTradeAgreementInquiryResult.ItemCode
ItemRelationItem or item group the line applies to; refers to an item.String (20)
PriceDiscItemRelation
NoNo (private)InventTable.ItemIdGUPTradeAgreementInquiryResult.ItemRelation
JournalNumNumber of the price or discount journal.String (20)
PriceDiscJournalNum
NoNo (private)GUPTradeAgreementInquiryResult.JournalNum
PriceApplyAdjustmentYes/No flag showing whether a price adjustment is allowed on this price.Enum
GUPPriceDiscPriceApplyAdjustment
NoYes

Platform enum: values not in the metadata extract.

NoYesGUPTradeAgreementInquiryResult.PriceApplyAdjustment
PricePreventDiscountYes/No flag that stops further discounts on this price.Enum
GUPPriceDiscPricePreventDiscount
NoYes

Platform enum: values not in the metadata extract.

NoYesGUPTradeAgreementInquiryResult.PricePreventDiscount
UnitAppliesToAllYes/No flag for allowing unit conversion.Enum
GUPUnitAppliesToAll
NoYes

Platform enum: values not in the metadata extract.

NoYesGUPTradeAgreementInquiryResult.UnitAppliesToAll
PriceComponentCombinationName of the combination.String (180)
GUPPricingAttributeGroupCombinationName
NoYesGUPPriceComponentCodePriceAttributeGroupCombination.Name
PricingRuleHeaderSystem record ID of the header price rule, which points to a price rule.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdGUPTradeAgreementInquiryResult.PricingRuleHeader
PricingRuleLineSystem record ID of the line price rule, which points to a price rule.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdGUPTradeAgreementInquiryResult.PricingRuleLine
CombinationHeaderStructureText describing the price attribute details used at header level.String (-1)
GUPPricingAttributeDetailsMemo
NoYesvirtual
Header1Condition value in the first header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header2Condition value in the second header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header3Condition value in the third header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header4Condition value in the fourth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header5Condition value in the fifth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header6Condition value in the sixth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header7Condition value in the seventh header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header8Condition value in the eighth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header9Condition value in the ninth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header10Condition value in the tenth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header11Condition value in the eleventh header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header12Condition value in the twelfth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header13Condition value in the thirteenth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header14Condition value in the fourteenth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Header15Condition value in the fifteenth header attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
CombinationLineStructureText describing the price attribute details used at line level.String (-1)
GUPPricingAttributeDetailsMemo
NoYesvirtual
Line1Condition value in the first line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line2Condition value in the second line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line3Condition value in the third line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line4Condition value in the fourth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line5Condition value in the fifth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line6Condition value in the sixth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line7Condition value in the seventh line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line8Condition value in the eighth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line9Condition value in the ninth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line10Condition value in the tenth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line11Condition value in the eleventh line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line12Condition value in the twelfth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line13Condition value in the thirteenth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line14Condition value in the fourteenth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
Line15Condition value in the fifteenth line attribute position.String (1000)
GUPAttributeValue
NoYesvirtual
PriceComponentCodeNamePrice component code the combination belongs to.String (80)
GUPPriceComponentCodeName
NoYesGUPPriceComponentCode.NameGUPPriceComponentCodePriceAttributeGroupCombination.PriceComponentCodeName
PriceGroupID of the price group.String
PriceGroupId
NoYesGUPTradeAgreementInquiryResult.PriceGroup

Foreign keys (16)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with GUPTradeAgreementInquiryResultEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk