Data entity

GUPTAMRebateAndDeductionsAgreementHeaderV2Entity

Holds one record per rebate agreement, keyed by agreement number, in a second version of the entity. It links the agreement to rebate principle, deal, price attribute group combination and unified pricing rule lookup data. It has up to 15 header and line condition columns, plus header and line exclusion types.

Entity name
GUPTAMRebateAndDeductionsAgreementHeaderV2Entity
Public entity name
GUPRebateAndDeductionsAgreementHeaderV2
OData collection
GUPRebateAndDeductionsAgreementHeadersV2
Category
Document
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
LogisticsBasic
Keys
AgreementNumber
Staging table
GUPTAMRebateAndDeductionsAgreementHeaderV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/GUPRebateAndDeductionsAgreementHeadersV2
Dataverse virtual table
mserp_guptamrebateanddeductionsagreementheaderv2entity. 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

  • TAMRebateTable · root
  • TAMRebateCategory · OuterJoin to TAMRebateTable · read-only
  • TAMRebateDeal · InnerJoin to TAMRebateTable · read-only
  • InventDim · OuterJoin to TAMRebateTable · read-only
  • GUPPriceComponentCodePriceAttributeGroupCombination · OuterJoin to TAMRebateTable · read-only
  • GUPPricingRuleConditionViewHeader (table GUPPricingRuleConditionLookup) · OuterJoin to TAMRebateTable
  • GUPPricingRuleConditionViewLine (table GUPPricingRuleConditionLookup) · OuterJoin to TAMRebateTable

Fields (94)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PriceComponentCombinationPoints to a price attribute group combination by its system record ID.Int64
GUPPriceComponentCodeCombinationRecId
NoYesGUPPriceComponentCodePriceAttributeGroupCombination.RecIdTAMRebateTable.PriceComponentCombination
RebateAgreementTypeName of the rebate agreement type.String (60)
GUPRebateAgreementTypeName
NoYesTAMRebateTable.RebateAgreementType
PriceComponentCombinationNameName of the combination.String (180)
GUPPricingAttributeGroupCombinationName
YesYesGUPPriceComponentCodePriceAttributeGroupCombination.Name
HeaderExclusionTypeKind of item excluded by the rule: product, product variant or customer.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesGUPPricingRuleConditionLookup.ExclusionType
HeaderExclusionText listing the items excluded from the rule.String (500)
GUPAttributeExclusion
NoYesGUPPricingRuleConditionLookup.Exclusion
PricingRuleHeaderPoints to a price rule by its system record ID, used at header level.Int64
GUPRefRecId
NoYesGUPPricingRule.RecIdTAMRebateTable.PricingRuleHeader
PriceAttributeGroupNameHeaderPrice attribute group the conditions belong to.String (60)
GUPPricingAttributeGroupName
NoYesGUPPricingRuleConditionLookup.PriceAttributeGroupName
Header1First condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue1
Header2Second condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue2
Header3Third condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue3
Header4Fourth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue4
Header5Fifth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue5
Header6Sixth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue6
Header7Seventh condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue7
Header8Eighth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue8
Header9Ninth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue9
Header10Tenth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue10
Header11Eleventh condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue11
Header12Twelfth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue12
Header13Thirteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue13
Header14Fourteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue14
Header15Fifteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue15
PricingRuleLinePoints to a price rule by its system record ID, used at line level.Int64
GUPRefRecId
NoYesGUPPricingRule.RecIdTAMRebateTable.PricingRuleLine
PriceAttributeGroupNameLinePrice attribute group the conditions belong to.String (60)
GUPPricingAttributeGroupName
NoYesGUPPricingRuleConditionLookup.PriceAttributeGroupName
LineExclusionText listing the items excluded from the rule.String (500)
GUPAttributeExclusion
NoYesGUPPricingRuleConditionLookup.Exclusion
LineExclusionTypeKind of item excluded by the rule: product, product variant or customer.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesGUPPricingRuleConditionLookup.ExclusionType
Line1First condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue1
Line2Second condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue2
Line3Third condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue3
Line4Fourth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue4
Line5Fifth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue5
Line6Sixth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue6
Line7Seventh condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue7
Line8Eighth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue8
Line9Ninth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue9
Line10Tenth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue10
Line11Eleventh condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue11
Line12Twelfth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue12
Line13Thirteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue13
Line14Fourteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue14
Line15Fifteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue15
CustomerRebateReductionPrincipleReferencePoints to the rebate reduction principle by its system record ID.Int64
TAMRebateCategoryRecId
NoNo (private)TAMRebateCategory.RecIdTAMRebateTable.Category
CustomerRebateReductionPrincipleIdCode that identifies the rebate reduction principle.String
TAMRebateCategoryId
NoYesTAMRebateCategory.Category
AgreementDescriptionShort text describing the agreement.String (60)
Description
NoYesTAMRebateTable.Description
AgreementModuleModule the agreement applies to: inventory, customer or vendor.Enum
ModuleInventCustVend
  • Invent 0
  • Cust 1
  • Vend 2
YesYesTAMRebateTable.ModuleInventCustVend
PackedQueryStored query settings that select the transactions for the agreement.Container
PackedQueryRun
NoYesTAMRebateTable.PackedQuery
AccountCodeShows whether the account relation is a single account, a group or all accounts.Enum
TAMRebateAccountCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)TAMRebateTable.AccountCode
AccountRelationCustomer or vendor account, or group, that the agreement applies to.String (20)
TAMRebateAccountRelation
NoNo (private)CustTable.AccountNumVendTable.AccountNumTAMRebateTable.AccountRelation
AveragePurchasePriceBasisCalculationMonthRangeNumber of months used for the average purchase price basis.Integer
TAMRebateAvgPurchPriceNoOfMonths
NoYesTAMRebateTable.AveragePurchPriceNoOfMonths
RebateCalculationBasisShows whether the rebate is based on quantity or value.Enum
TAMRebateBasis
  • Quantity 0
  • Value 1
NoYesTAMRebateTable.RebateBasis
VendorRebateCalculationTransactionBasisFor vendor rebates, shows whether the basis is purchase orders or sales orders.Enum
TAMRebateBasisVend
  • Purch 0
  • Sales 1
NoYesTAMRebateTable.RebateBasisVend
CalculationMethodMethod used for the rebate: stepped, cumulative, rolling or total.Enum
TAMRebateCalcMethod
  • Stepped 0
  • Cumulative 1
  • Rolling 2
  • Total 3
NoYesTAMRebateTable.CalculationMethod
TAMRebateDeal_FKPoints to the rebate management deal by its system record ID.Int64
TAMRebateDealRecId
YesNo (private)TAMRebateDeal.RecIdTAMRebateTable.RebateDeal
RebateAndDeductionsDealNumberCode that identifies the rebate deal.String (20)
TAMRebateDealId
YesYesTAMRebateDeal.Deal
DocumentNotesNotes text kept for documents linked to the agreement.String (60)
TAMRebateDocumentNotes
NoYesTAMRebateTable.DocumentNotes
WillRebateProcessingCalculationIncludeTaxYes/No flag showing whether amounts include sales tax.Enum
TAMRebateGSTInclusive
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMRebateTable.IncludeTax
GuaranteePostingProfileIdPosting profile used for the guarantee, taken from the rebate posting profiles.String
TAMRebateGuaranteePostingId
NoYesTAMRebatePosting.RebatePostingIdTAMRebateTable.GuaranteePostingId
AgreementNumberRebate management number that identifies the agreement.String (20)
TAMRebateId
YesYesTAMRebateTable.RebateId
WillRebateProcessingCalculationIncludeCreditNoteYes/No flag for including credit notes.Enum
TAMRebateIncludeCN
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMRebateTable.IncludeCreditNote
WillRebateProcessingCalculationIncludeDiscountedAmountYes/No flag for including discounted amounts.Enum
TAMRebateIncludeDisc
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMRebateTable.IncludeDiscountedAmount
WillRebateProcessingCalculationIncludeFreeTextYes/No flag for including free text lines.Enum
TAMRebateIncludeFT
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMRebateTable.IncludeFreeText
WillRebateProcessingCalculationIncludeSettlementDiscountYes/No flag for including settlement discounts.Enum
TAMRebateIncludeSettleDisc
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMRebateTable.IncludeSettlementDiscount
ItemCodeShows whether the item relation is a single item, a group or all items.Enum
TAMRebateItemCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)TAMRebateTable.ItemCode
ItemRelationItem or item group that the agreement applies to.String (20)
TAMRebateItemRelation
NoNo (private)InventTable.ItemIdTAMRebateTable.ItemRelation
WillRebateProcessingCalculationIncludePaidInvoicesOnlyYes/No flag limiting the agreement to paid invoices only.Enum
TAMRebatePaidInvoices
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMRebateTable.PaidInvoices
RebateAndDeductionsPostingProfileIdPosting profile used by the agreement, matched on rebate type and module.String
TAMRebatePostingId
NoYesTAMRebatePosting.RebatePostingIdTAMRebateTable.RebatePostingId
RebatePriceBasisPrice basis used: FIFO, latest purchase price, average purchase price or sales price.Enum
TAMRebatePriceBasis
  • FIFO 0
  • Latest 1
  • Average 2
  • SalesPrice 3
NoYesTAMRebateTable.RebatePriceBasis
SourceDocumentTypeType of source transaction used: order, delivery or invoice.Enum
TAMRebateSourceType
  • Ordered 0
  • Delivery 1
  • Invoice 2
NoYesTAMRebateTable.SourceType
RebateAndDeductionsTypeShows whether the agreement is for a rebate or a royalty.Enum
TAMRebateType
  • Rebate 0
  • Royalty 1
NoYesTAMRebateTable.RebateType
RebateAndDeductionsStatusIdStatus of the agreement. It points to a rebate status record.String (20)
TAMRebateStatusId
NoYesTAMRebateStatusTable.StatusIdTAMRebateTable.StatusId
UnitSymbolUnit of measure used by the agreement.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolTAMRebateTable.UnitId
LegalEntityIdCompany whose customers, items and dimensions the agreement uses.String
SelectableDataArea
YesYesTAMRebateTable.RebateCompanyId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ItemSerialNumberSerial number of the inventory.String (20)
InventSerialId
NoYesInventDim.inventSerialId
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
WarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
OperationalSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
WarehouseLocationIdLocation inside the warehouse.String
WMSLocationId
NoYesWMSLocation.wMSLocationIdInventDim.wMSLocationId
InventoryStatusIdInventory status of the stock.String
WHSInventStatusId
NoYesWHSInventStatus.InventStatusIdInventDim.InventStatusId
RetailProductVariantNumberProduct variant number the agreement applies to.String
RetailVariantId
NoYesTAMRebateTable.VariantId
MinimumAmountMinimum amount set for the agreement. The currency is not stated in the metadata.Real
TAMRebateMinAmount
NoYesTAMRebateTable.MinimumAmount
CustomerAccountNumberCustomer account that the agreement applies to.String (20)
CustAccount
NoYescomputed
CustomerRebateAndDeductionsGroupIdRebate group of customers that the agreement applies to.String
TAMRebateGroupId
NoYescomputed
VendorAccountNumberVendor account that the agreement applies to.String (20)
VendAccount
NoYescomputed
VendorRebateAndDeductionsGroupIdRebate group of vendors that the agreement applies to.String
TAMRebateGroupId
NoYescomputed
ItemNumberItem that the agreement applies to.String (20)
ItemId
NoYescomputed
ProductRebateAndDeductionsGroupIdRebate group of products that the agreement applies to.String
TAMRebateGroupId
NoYescomputed
ProductUnitSymbolTypeShows whether the unit is the inventory unit or the catch weight unit.Enum
PdsUnitType
  • InventoryUnit 1
  • CWUnit 2
NoYesTAMRebateTable.UnitType
SupportNegativeTierYes/No flag for automatic negative tiers.low confidenceEnum
TAMRebateSupportNegativeTier
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMRebateTable.SupportNegativeTier
MatchedByOrderAccountYes/No flag showing whether matching is done by the order account.Enum
TAMRebateMatchedByOrderAccount
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMRebateTable.MatchedByOrderAccount
PriceComponentCodeNamePrice component code the combination belongs to.String (80)
GUPPriceComponentCodeName
YesYesGUPPriceComponentCode.NameGUPPriceComponentCodePriceAttributeGroupCombination.PriceComponentCodeName

Foreign keys (21)

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 GUPTAMRebateAndDeductionsAgreementHeaderV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk