Data entity

GUPTAMRebateAndDeductionsAgreementHeaderEntity

Holds one record per rebate agreement, keyed by agreement number. It adds rebate principle, deal, price attribute group combination and pricing rule conditions to the agreement. Header and line conditions are shown in numbered columns, along with customer, vendor and item targets.

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

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/GUPRebateAndDeductionsAgreementHeaders
Dataverse virtual table
mserp_guptamrebateanddeductionsagreementheaderentity. 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 GUPPricingRuleConditionView) · OuterJoin to TAMRebateTable
  • GUPPricingRuleConditionViewLine (table GUPPricingRuleConditionView) · OuterJoin to TAMRebateTable

Fields (77)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PriceComponentCombinationPoints to a price attribute group combination by its system record ID.Int64
GUPPriceComponentCodeCombinationRecId
NoYesGUPPriceComponentCodePriceAttributeGroupCombination.RecIdTAMRebateTable.PriceComponentCombination
PricingRuleHeaderPoints to a price rule by its system record ID, used at header level.Int64
GUPRefRecId
NoYesGUPPricingRule.RecIdTAMRebateTable.PricingRuleHeader
PricingRuleLinePoints to a price rule by its system record ID, used at line level.Int64
GUPRefRecId
NoYesGUPPricingRule.RecIdTAMRebateTable.PricingRuleLine
RebateAgreementTypeName of the rebate agreement type.String (60)
GUPRebateAgreementTypeName
NoYesTAMRebateTable.RebateAgreementType
PriceComponentCombinationNameName of the combination.String (180)
GUPPricingAttributeGroupCombinationName
YesYesGUPPriceComponentCodePriceAttributeGroupCombination.Name
CombinationHeaderStructureText describing the price attribute details used at header level of the agreement.String (-1)
GUPPricingAttributeDetailsMemo
NoYescomputed in view
Header1First header-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Header2Second header-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Header3Third header-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Header4Fourth header-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Header5Fifth header-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Header6Sixth header-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Header7Seventh header-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
CombinationLineStructureText describing the price attribute details used at line level of the agreement.String (-1)
GUPPricingAttributeDetailsMemo
NoYescomputed in view
Line1First line-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Line2Second line-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Line3Third line-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Line4Fourth line-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Line5Fifth line-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Line6Sixth line-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
Line7Seventh line-level attribute value of the price attribute combination.String (1000)
GUPAttributeValue
NoYescomputed in view
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
HeaderExclusionExclusion value set at header level of the pricing conditions.String (400)
GUPAttributeExclusion
NoYesvirtual
LineExclusionExclusion value set at line level of the pricing conditions.String (400)
GUPAttributeExclusion
NoYesvirtual
LineExclusionTypeType of exclusion used for the line-level pricing rule conditions.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesvirtual
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 GUPTAMRebateAndDeductionsAgreementHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk