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· rootInventDim· InnerJoin toGUPTradeAgreementInquiryResult· read-onlyGUPPriceComponentCodePriceAttributeGroupCombination· OuterJoin toGUPTradeAgreementInquiryResult· read-onlyGUPPricingRuleHeader(tableGUPPricingRule) · OuterJoin toGUPTradeAgreementInquiryResultGUPPricingRuleLine(tableGUPPricingRule) · OuterJoin toGUPTradeAgreementInquiryResult
Fields (72)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
TradeAgreementJournalNumberNumber of the price or discount journal. | String (20)PriceDiscJournalNum | No | Yes | GUPTradeAgreementInquiryResult.JournalNum | |
LineNumberNumber of the line. | RealLineNum | No | Yes | GUPTradeAgreementInquiryResult.LineNum | |
PriceCustomerGroupCodePrice group the result row applies to. | StringPriceGroupId | No | Yes | computed | |
CustomerAccountNumberCustomer account the result row applies to. | String (20)CustAccount | No | Yes | computed | |
ItemNumberItem the result row applies to. | String (20)ItemId | No | Yes | computed | |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
PriceSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
PriceWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
FromQuantityLower limit of the quantity range. | RealAmountQty | No | Yes | GUPTradeAgreementInquiryResult.QuantityAmountFrom | |
ToQuantityUpper limit of the quantity range. | RealAmountQuantityTo | No | Yes | GUPTradeAgreementInquiryResult.QuantityAmountTo | |
UnitIdUnit symbol, which points to a unit record. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | GUPTradeAgreementInquiryResult.UnitId |
PriceFromDateStart date of the line. | DateFromDate | No | Yes | GUPTradeAgreementInquiryResult.FromDate | |
PriceToDateEnd date of the line. | DateToDate | No | Yes | GUPTradeAgreementInquiryResult.ToDate | |
PriceAmount in the transaction currency. | RealPriceDiscAmount | No | Yes | GUPTradeAgreementInquiryResult.Amount | |
PriceCurrencyCodeCurrency code of the line, which points to a currency record. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | GUPTradeAgreementInquiryResult.Currency |
AttributeBasedPricingIdID of the attribute-based pricing calculation, which points to a calculation record. | StringPDSCalculationId | No | Yes | PDSCalculationTable.CalculationId | GUPTradeAgreementInquiryResult.PDSCalculationId |
FixedPriceChargesPrice charges on the line. | RealPriceMarkup | No | Yes | GUPTradeAgreementInquiryResult.Markup | |
SalesPriceQuantityQuantity that the price applies to. | RealPriceUnit | No | Yes | GUPTradeAgreementInquiryResult.PriceUnit | |
SalesLeadTimeDaysLead time for delivery. | IntegerLeadTimeDelivery | No | Yes | GUPTradeAgreementInquiryResult.DeliveryTime | |
WillDeliveryDateControlDisregardLeadTimeYes/No flag for ignoring the lead time. | EnumDisregardLeadTime
| No | Yes | GUPTradeAgreementInquiryResult.DisregardLeadTime | |
IsGenericCurrencySearchEnabledYes/No flag for including a generic currency. | EnumSalesGenericCurrency
| No | Yes | GUPTradeAgreementInquiryResult.GenericCurrency | |
WillSearchContinueYes/No flag labelled 'Find next'. | EnumSearchAgain
| No | Yes | GUPTradeAgreementInquiryResult.SearchAgain | |
ProcessingLogLog text for the line. | String (255)PriceJournalLogTrans | No | Yes | GUPTradeAgreementInquiryResult.Log | |
AccountRelationCustomer or vendor account that the line applies to. | String (20)PriceDiscAccountRelation | No | No (private) | CustTable.AccountNumVendTable.AccountNum | GUPTradeAgreementInquiryResult.AccountRelation |
AccountCodeKind of party the line applies to: Table, Group or All. | EnumPriceDiscPartyCode
| No | No (private) | GUPTradeAgreementInquiryResult.AccountCode | |
ItemCodeKind of product the line applies to: Table, Group or All. | EnumPriceDiscProductCode
| No | No (private) | GUPTradeAgreementInquiryResult.ItemCode | |
ItemRelationItem or item group the line applies to; refers to an item. | String (20)PriceDiscItemRelation | No | No (private) | InventTable.ItemId | GUPTradeAgreementInquiryResult.ItemRelation |
JournalNumNumber of the price or discount journal. | String (20)PriceDiscJournalNum | No | No (private) | GUPTradeAgreementInquiryResult.JournalNum | |
PriceApplyAdjustmentYes/No flag showing whether a price adjustment is allowed on this price. | EnumGUPPriceDiscPriceApplyAdjustment
| No | Yes | GUPTradeAgreementInquiryResult.PriceApplyAdjustment | |
PricePreventDiscountYes/No flag that stops further discounts on this price. | EnumGUPPriceDiscPricePreventDiscount
| No | Yes | GUPTradeAgreementInquiryResult.PricePreventDiscount | |
UnitAppliesToAllYes/No flag for allowing unit conversion. | EnumGUPUnitAppliesToAll
| No | Yes | GUPTradeAgreementInquiryResult.UnitAppliesToAll | |
PriceComponentCombinationName of the combination. | String (180)GUPPricingAttributeGroupCombinationName | No | Yes | GUPPriceComponentCodePriceAttributeGroupCombination.Name | |
PricingRuleHeaderSystem record ID of the header price rule, which points to a price rule. | Int64GUPRefRecId | No | No (private) | GUPPricingRule.RecId | GUPTradeAgreementInquiryResult.PricingRuleHeader |
PricingRuleLineSystem record ID of the line price rule, which points to a price rule. | Int64GUPRefRecId | No | No (private) | GUPPricingRule.RecId | GUPTradeAgreementInquiryResult.PricingRuleLine |
CombinationHeaderStructureText describing the price attribute details used at header level. | String (-1)GUPPricingAttributeDetailsMemo | No | Yes | virtual | |
Header1Condition value in the first header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header2Condition value in the second header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header3Condition value in the third header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header4Condition value in the fourth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header5Condition value in the fifth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header6Condition value in the sixth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header7Condition value in the seventh header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header8Condition value in the eighth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header9Condition value in the ninth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header10Condition value in the tenth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header11Condition value in the eleventh header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header12Condition value in the twelfth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header13Condition value in the thirteenth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header14Condition value in the fourteenth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Header15Condition value in the fifteenth header attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
CombinationLineStructureText describing the price attribute details used at line level. | String (-1)GUPPricingAttributeDetailsMemo | No | Yes | virtual | |
Line1Condition value in the first line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line2Condition value in the second line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line3Condition value in the third line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line4Condition value in the fourth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line5Condition value in the fifth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line6Condition value in the sixth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line7Condition value in the seventh line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line8Condition value in the eighth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line9Condition value in the ninth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line10Condition value in the tenth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line11Condition value in the eleventh line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line12Condition value in the twelfth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line13Condition value in the thirteenth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line14Condition value in the fourteenth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
Line15Condition value in the fifteenth line attribute position. | String (1000)GUPAttributeValue | No | Yes | virtual | |
PriceComponentCodeNamePrice component code the combination belongs to. | String (80)GUPPriceComponentCodeName | No | Yes | GUPPriceComponentCode.Name | GUPPriceComponentCodePriceAttributeGroupCombination.PriceComponentCodeName |
PriceGroupID of the price group. | StringPriceGroupId | No | Yes | GUPTradeAgreementInquiryResult.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.
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
PriceSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
PriceWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
UnitId→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many GUPTradeAgreementInquiryResult records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
PriceCurrencyCode→Currency.CurrencyCode(key of Currency)Many GUPTradeAgreementInquiryResult records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
AttributeBasedPricingId→PDSCalculationTable.CalculationId(key of PDSCalculationTable)Many GUPTradeAgreementInquiryResult records → zero or one PDSCalculationTable record
Not exposed by a public entity.
AccountRelation→CustTable.AccountNum(key of CustTable)Relation also requires Module = ModuleInventCustVend::Cust, AccountCode = PriceDiscPartyCodeType::Table.
Many GUPTradeAgreementInquiryResult records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
AccountRelation→VendTable.AccountNum(key of VendTable)Relation also requires Module = ModuleInventCustVend::Vend, AccountCode = PriceDiscPartyCodeType::Table.
Many GUPTradeAgreementInquiryResult records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
ItemRelation→InventTable.ItemId(key of InventTable)Relation also requires ItemCode = PriceDiscProductCodeType::Table.
Many GUPTradeAgreementInquiryResult records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
PricingRuleHeader→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one GUPTradeAgreementInquiryResult record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
PricingRuleLine→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one GUPTradeAgreementInquiryResult record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
PriceComponentCodeName→GUPPriceComponentCode.Name(key of GUPPriceComponentCode)Many GUPPriceComponentCodePriceAttributeGroupCombination records → exactly one GUPPriceComponentCode record
GUPPriceComponentCode details: see GUPPriceComponentCodeEntity, GUPPriceComponentCodeCombinationEntity, GUPPriceComponentCodeSetupEntity
Need help with GUPTradeAgreementInquiryResultEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.