Data entity

GUPOpenTradeAgreementJournalLineEntity

Lines of open trade agreement journals used in pricing management. Each line has a price or discount range, dates, amount, currency, unit and a price attribute group combination. The attribute values are shown as header and line columns. It is keyed by journal number and line number.

Entity name
GUPOpenTradeAgreementJournalLineEntity
Public entity name
GUPOpenTradeAgreementJournalLine
OData collection
GUPOpenTradeAgreementJournalLines
Category
Not set
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
PriceDisc
Keys
TradeAgreementJournalNumber, LineNumber
Staging table
GUPOpenTradeAgreementJournalLineStaging

Use it in Power BI and Power Platform

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

Data sources

  • PriceDiscAdmTrans · root
  • PriceDiscAdmTable · InnerJoin to PriceDiscAdmTrans · read-only
  • GUPPriceComponentCodePriceAttributeGroupCombination · OuterJoin to PriceDiscAdmTrans · read-only
  • GUPPricingRuleConditionViewHeader (table GUPPricingRuleConditionView) · OuterJoin to PriceDiscAdmTrans
  • GUPPricingRuleConditionViewLine (table GUPPricingRuleConditionView) · OuterJoin to PriceDiscAdmTrans
  • InventDim · OuterJoin to PriceDiscAdmTrans · read-only

Fields (55)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TradeAgreementJournalNumberUnique number of the journal.String (20)
PriceDiscJournalNum
YesYesPriceDiscAdmTable.JournalNum
LineNumberPosition number of the line in the journal.Real
LineNum
NoYesPriceDiscAdmTrans.LineNum
FromQuantityLower limit of the quantity or amount range for the line.Real
AmountQty
NoYesPriceDiscAdmTrans.QuantityAmountFrom
ToQuantityUpper limit of the quantity or amount range for the line.Real
AmountQuantityTo
NoYesPriceDiscAdmTrans.QuantityAmountTo
QuantityUnitSymbolUnit of measure that the line uses.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolPriceDiscAdmTrans.UnitId
PriceApplicableFromDateDate from which the line is valid.Date
FromDate
NoYesPriceDiscAdmTrans.FromDate
PriceApplicableToDateDate until which the line is valid.Date
ToDate
NoYesPriceDiscAdmTrans.ToDate
PriceThe price or discount amount on the line, in the currency given on the line.Real
PriceDiscAmount
NoYesPriceDiscAdmTrans.Amount
PriceCurrencyCodeCurrency code of the amount on the line.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePriceDiscAdmTrans.Currency
AttributeBasedPricingIdPoints to the calculation used for attribute-based pricing.String
PDSCalculationId
NoYesPDSCalculationTable.CalculationIdPriceDiscAdmTrans.PDSCalculationId
FixedPriceChargesCharges added to the price.Real
PriceMarkup
NoYesPriceDiscAdmTrans.Markup
SalesPriceQuantityThe quantity that the price refers to.Real
PriceUnit
NoYesPriceDiscAdmTrans.PriceUnit
SalesLeadTimeDaysLead time of the line, as a whole number.Integer
LeadTime
NoYesPriceDiscAdmTrans.DeliveryTime
WillDeliveryDateControlDisregardLeadTimeYes/No flag to ignore the lead time for this line.Enum
DisregardLeadTime
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.DisregardLeadTime
IsGenericCurrencySearchEnabledYes/No flag to include the generic currency.Enum
SalesGenericCurrency
NoYes

Platform enum: values not in the metadata extract.

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

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.SearchAgain
ProcessingLogLog text for the line, up to 255 characters.String (255)
PriceJournalLogTrans
NoYesPriceDiscAdmTrans.Log
AccountRelationThe customer or vendor account, or the group, that the line applies to.String (20)
PriceDiscAccountRelation
NoNo (private)CustTable.AccountNumVendTable.AccountNumPriceDiscAdmTrans.AccountRelation
AccountCodeSays whether the line applies to one account, a group of accounts or all accounts.Enum
PriceDiscPartyCode
PriceDiscPartyCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)PriceDiscAdmTrans.AccountCode
ItemCodeSays whether the line applies to one item, an item group or all items.Enum
PriceDiscProductCode
PriceDiscProductCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)PriceDiscAdmTrans.ItemCode
ItemRelationThe item, or the item group, that the line applies to.String (20)
PriceDiscItemRelation
NoNo (private)InventTable.ItemIdPriceDiscAdmTrans.ItemRelation
PricingRuleHeaderSystem ID of a pricing rule used at header level.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdPriceDiscAdmTrans.PricingRuleHeader
PricingRuleLineSystem ID of a pricing rule used at line level.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdPriceDiscAdmTrans.PricingRuleLine
PriceComponentCombinationName of the combination.String (180)
GUPPricingAttributeGroupCombinationName
NoYesGUPPriceComponentCodePriceAttributeGroupCombination.Name
PriceApplyAdjustmentFlag that lets the agreement price take a margin-based adjustment.Enum
GUPPriceDiscPriceApplyAdjustment
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.PriceApplyAdjustment
PricePreventDiscountFlag that blocks extra discounts on top of this agreement price.Enum
GUPPriceDiscPricePreventDiscount
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.PricePreventDiscount
UnitAppliesToAllYes/No flag that allows unit conversion.Enum
GUPUnitAppliesToAll
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.UnitAppliesToAll
CombinationHeaderStructureText describing the price attribute details used at header level.String (-1)
GUPPricingAttributeDetailsMemo
NoYescomputed in view
CombinationLineStructureText describing the price attribute details used at line level.String (-1)
GUPPricingAttributeDetailsMemo
NoYescomputed in view
Header1Value of the first header price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Header2Value of the second header price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Header3Value of the third header price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Header4Value of the fourth header price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Header5Value of the fifth header price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Header6Value of the sixth header price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Header7Value of the seventh header price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line1Value of the first line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line2Value of the second line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line3Value of the third line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line4Value of the fourth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line5Value of the fifth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line6Value of the sixth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line7Value of the seventh line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
HeaderExclusionExclusion setting for the header price attributes.low confidenceString (400)
GUPAttributeExclusion
NoYesvirtual
LineExclusionExclusion setting for the line price attributes.low confidenceString (400)
GUPAttributeExclusion
NoYesvirtual
LineExclusionTypeType of price rule exclusion for the line, chosen from a fixed list of values.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesvirtual
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
PriceWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
PriceSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
PriceComponentCodeNamePrice component code the combination belongs to.String (80)
GUPPriceComponentCodeName
NoYesGUPPriceComponentCode.NameGUPPriceComponentCodePriceAttributeGroupCombination.PriceComponentCodeName
PriceGroupThe price group that the line relates to.String
PriceGroupId
NoYesPriceDiscAdmTrans.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 GUPOpenTradeAgreementJournalLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk