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· rootTAMRebateCategory· OuterJoin toTAMRebateTable· read-onlyTAMRebateDeal· InnerJoin toTAMRebateTable· read-onlyInventDim· OuterJoin toTAMRebateTable· read-onlyGUPPriceComponentCodePriceAttributeGroupCombination· OuterJoin toTAMRebateTable· read-onlyGUPPricingRuleConditionViewHeader(tableGUPPricingRuleConditionView) · OuterJoin toTAMRebateTableGUPPricingRuleConditionViewLine(tableGUPPricingRuleConditionView) · OuterJoin toTAMRebateTable
Fields (77)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
PriceComponentCombinationPoints to a price attribute group combination by its system record ID. | Int64GUPPriceComponentCodeCombinationRecId | No | Yes | GUPPriceComponentCodePriceAttributeGroupCombination.RecId | TAMRebateTable.PriceComponentCombination |
PricingRuleHeaderPoints to a price rule by its system record ID, used at header level. | Int64GUPRefRecId | No | Yes | GUPPricingRule.RecId | TAMRebateTable.PricingRuleHeader |
PricingRuleLinePoints to a price rule by its system record ID, used at line level. | Int64GUPRefRecId | No | Yes | GUPPricingRule.RecId | TAMRebateTable.PricingRuleLine |
RebateAgreementTypeName of the rebate agreement type. | String (60)GUPRebateAgreementTypeName | No | Yes | TAMRebateTable.RebateAgreementType | |
PriceComponentCombinationNameName of the combination. | String (180)GUPPricingAttributeGroupCombinationName | Yes | Yes | GUPPriceComponentCodePriceAttributeGroupCombination.Name | |
CombinationHeaderStructureText describing the price attribute details used at header level of the agreement. | String (-1)GUPPricingAttributeDetailsMemo | No | Yes | computed in view | |
Header1First header-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header2Second header-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header3Third header-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header4Fourth header-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header5Fifth header-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header6Sixth header-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header7Seventh header-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
CombinationLineStructureText describing the price attribute details used at line level of the agreement. | String (-1)GUPPricingAttributeDetailsMemo | No | Yes | computed in view | |
Line1First line-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line2Second line-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line3Third line-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line4Fourth line-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line5Fifth line-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line6Sixth line-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line7Seventh line-level attribute value of the price attribute combination. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
CustomerRebateReductionPrincipleReferencePoints to the rebate reduction principle by its system record ID. | Int64TAMRebateCategoryRecId | No | No (private) | TAMRebateCategory.RecId | TAMRebateTable.Category |
CustomerRebateReductionPrincipleIdCode that identifies the rebate reduction principle. | StringTAMRebateCategoryId | No | Yes | TAMRebateCategory.Category | |
AgreementDescriptionShort text describing the agreement. | String (60)Description | No | Yes | TAMRebateTable.Description | |
AgreementModuleModule the agreement applies to: inventory, customer or vendor. | Enum
| Yes | Yes | TAMRebateTable.ModuleInventCustVend | |
PackedQueryStored query settings that select the transactions for the agreement. | ContainerPackedQueryRun | No | Yes | TAMRebateTable.PackedQuery | |
AccountCodeShows whether the account relation is a single account, a group or all accounts. | EnumTAMRebateAccountCode
| No | No (private) | TAMRebateTable.AccountCode | |
AccountRelationCustomer or vendor account, or group, that the agreement applies to. | String (20)TAMRebateAccountRelation | No | No (private) | CustTable.AccountNumVendTable.AccountNum | TAMRebateTable.AccountRelation |
AveragePurchasePriceBasisCalculationMonthRangeNumber of months used for the average purchase price basis. | IntegerTAMRebateAvgPurchPriceNoOfMonths | No | Yes | TAMRebateTable.AveragePurchPriceNoOfMonths | |
RebateCalculationBasisShows whether the rebate is based on quantity or value. | Enum
| No | Yes | TAMRebateTable.RebateBasis | |
VendorRebateCalculationTransactionBasisFor vendor rebates, shows whether the basis is purchase orders or sales orders. | Enum
| No | Yes | TAMRebateTable.RebateBasisVend | |
CalculationMethodMethod used for the rebate: stepped, cumulative, rolling or total. | Enum
| No | Yes | TAMRebateTable.CalculationMethod | |
TAMRebateDeal_FKPoints to the rebate management deal by its system record ID. | Int64TAMRebateDealRecId | Yes | No (private) | TAMRebateDeal.RecId | TAMRebateTable.RebateDeal |
RebateAndDeductionsDealNumberCode that identifies the rebate deal. | String (20)TAMRebateDealId | Yes | Yes | TAMRebateDeal.Deal | |
DocumentNotesNotes text kept for documents linked to the agreement. | String (60)TAMRebateDocumentNotes | No | Yes | TAMRebateTable.DocumentNotes | |
WillRebateProcessingCalculationIncludeTaxYes/No flag showing whether amounts include sales tax. | EnumTAMRebateGSTInclusive
| No | Yes | TAMRebateTable.IncludeTax | |
GuaranteePostingProfileIdPosting profile used for the guarantee, taken from the rebate posting profiles. | StringTAMRebateGuaranteePostingId | No | Yes | TAMRebatePosting.RebatePostingId | TAMRebateTable.GuaranteePostingId |
AgreementNumberRebate management number that identifies the agreement. | String (20)TAMRebateId | Yes | Yes | TAMRebateTable.RebateId | |
WillRebateProcessingCalculationIncludeCreditNoteYes/No flag for including credit notes. | EnumTAMRebateIncludeCN
| No | Yes | TAMRebateTable.IncludeCreditNote | |
WillRebateProcessingCalculationIncludeDiscountedAmountYes/No flag for including discounted amounts. | EnumTAMRebateIncludeDisc
| No | Yes | TAMRebateTable.IncludeDiscountedAmount | |
WillRebateProcessingCalculationIncludeFreeTextYes/No flag for including free text lines. | EnumTAMRebateIncludeFT
| No | Yes | TAMRebateTable.IncludeFreeText | |
WillRebateProcessingCalculationIncludeSettlementDiscountYes/No flag for including settlement discounts. | EnumTAMRebateIncludeSettleDisc
| No | Yes | TAMRebateTable.IncludeSettlementDiscount | |
ItemCodeShows whether the item relation is a single item, a group or all items. | EnumTAMRebateItemCode
| No | No (private) | TAMRebateTable.ItemCode | |
ItemRelationItem or item group that the agreement applies to. | String (20)TAMRebateItemRelation | No | No (private) | InventTable.ItemId | TAMRebateTable.ItemRelation |
WillRebateProcessingCalculationIncludePaidInvoicesOnlyYes/No flag limiting the agreement to paid invoices only. | EnumTAMRebatePaidInvoices
| No | Yes | TAMRebateTable.PaidInvoices | |
RebateAndDeductionsPostingProfileIdPosting profile used by the agreement, matched on rebate type and module. | StringTAMRebatePostingId | No | Yes | TAMRebatePosting.RebatePostingId | TAMRebateTable.RebatePostingId |
RebatePriceBasisPrice basis used: FIFO, latest purchase price, average purchase price or sales price. | Enum
| No | Yes | TAMRebateTable.RebatePriceBasis | |
SourceDocumentTypeType of source transaction used: order, delivery or invoice. | Enum
| No | Yes | TAMRebateTable.SourceType | |
RebateAndDeductionsTypeShows whether the agreement is for a rebate or a royalty. | Enum
| No | Yes | TAMRebateTable.RebateType | |
RebateAndDeductionsStatusIdStatus of the agreement. It points to a rebate status record. | String (20)TAMRebateStatusId | No | Yes | TAMRebateStatusTable.StatusId | TAMRebateTable.StatusId |
UnitSymbolUnit of measure used by the agreement. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | TAMRebateTable.UnitId |
LegalEntityIdCompany whose customers, items and dimensions the agreement uses. | StringSelectableDataArea | Yes | Yes | TAMRebateTable.RebateCompanyId | |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ItemSerialNumberSerial number of the inventory. | String (20)InventSerialId | No | Yes | InventDim.inventSerialId | |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
WarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
OperationalSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
WarehouseLocationIdLocation inside the warehouse. | StringWMSLocationId | No | Yes | WMSLocation.wMSLocationId | InventDim.wMSLocationId |
InventoryStatusIdInventory status of the stock. | StringWHSInventStatusId | No | Yes | WHSInventStatus.InventStatusId | InventDim.InventStatusId |
RetailProductVariantNumberProduct variant number the agreement applies to. | StringRetailVariantId | No | Yes | TAMRebateTable.VariantId | |
MinimumAmountMinimum amount set for the agreement. The currency is not stated in the metadata. | RealTAMRebateMinAmount | No | Yes | TAMRebateTable.MinimumAmount | |
CustomerAccountNumberCustomer account that the agreement applies to. | String (20)CustAccount | No | Yes | computed | |
CustomerRebateAndDeductionsGroupIdRebate group of customers that the agreement applies to. | StringTAMRebateGroupId | No | Yes | computed | |
VendorAccountNumberVendor account that the agreement applies to. | String (20)VendAccount | No | Yes | computed | |
VendorRebateAndDeductionsGroupIdRebate group of vendors that the agreement applies to. | StringTAMRebateGroupId | No | Yes | computed | |
ItemNumberItem that the agreement applies to. | String (20)ItemId | No | Yes | computed | |
ProductRebateAndDeductionsGroupIdRebate group of products that the agreement applies to. | StringTAMRebateGroupId | No | Yes | computed | |
ProductUnitSymbolTypeShows whether the unit is the inventory unit or the catch weight unit. | Enum
| No | Yes | TAMRebateTable.UnitType | |
SupportNegativeTierYes/No flag for automatic negative tiers.low confidence | EnumTAMRebateSupportNegativeTier
| No | Yes | TAMRebateTable.SupportNegativeTier | |
MatchedByOrderAccountYes/No flag showing whether matching is done by the order account. | EnumTAMRebateMatchedByOrderAccount
| No | Yes | TAMRebateTable.MatchedByOrderAccount | |
HeaderExclusionExclusion value set at header level of the pricing conditions. | String (400)GUPAttributeExclusion | No | Yes | virtual | |
LineExclusionExclusion value set at line level of the pricing conditions. | String (400)GUPAttributeExclusion | No | Yes | virtual | |
LineExclusionTypeType of exclusion used for the line-level pricing rule conditions. | Enum
| No | Yes | virtual | |
PriceComponentCodeNamePrice component code the combination belongs to. | String (80)GUPPriceComponentCodeName | Yes | Yes | GUPPriceComponentCode.Name | GUPPriceComponentCodePriceAttributeGroupCombination.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.
PriceComponentCombination→GUPPriceComponentCodePriceAttributeGroupCombination.RecId(key of GUPPriceComponentCodePriceAttributeGroupCombination)Zero or one TAMRebateTable record → zero or one GUPPriceComponentCodePriceAttributeGroupCombination record
GUPPriceComponentCodePriceAttributeGroupCombination details: see GUPPriceComponentCodeCombinationEntity, GUPOpenTradeAgreementJournalEntity, GUPOpenTradeAgreementJournalLineEntity
PricingRuleHeader→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one TAMRebateTable record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
PricingRuleLine→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one TAMRebateTable record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
CustomerRebateReductionPrincipleReference→TAMRebateCategory.RecId(key of TAMRebateCategory)Many TAMRebateTable records → zero or one TAMRebateCategory record
TAMRebateCategory details: see TAMRebateCustomerRebateReductionPrincipleEntity, GUPTAMRebateAndDeductionsAgreementHeaderV2Entity, TAMRebateAndDeductionsAgreementHeaderEntity
AccountRelation→CustTable.AccountNum(key of CustTable)Join on all of:
AccountRelation=CustTable.AccountNum,LegalEntityId=CustTable.DataAreaIdRelation also requires AccountCode = TableGroupAll::Table, ModuleInventCustVend = ModuleInventCustVend::Cust.
Many TAMRebateTable records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
AccountRelation→VendTable.AccountNum(key of VendTable)Join on all of:
AccountRelation=VendTable.AccountNum,LegalEntityId=VendTable.DataAreaIdRelation also requires RebateBasisVend = TAMRebateBasisVend::Purch, AccountCode = TableGroupAll::Table, ModuleInventCustVend = ModuleInventCustVend::Vend.
Many TAMRebateTable records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
TAMRebateDeal_FK→TAMRebateDeal.RecId(key of TAMRebateDeal)Many TAMRebateTable records → exactly one TAMRebateDeal record
TAMRebateDeal details: see TAMRebateAndDeductionsAgreementDealEntity, GUPTAMRebateAndDeductionsAgreementHeaderV2Entity, TAMRebateAndDeductionsAgreementHeaderEntity
GuaranteePostingProfileId→TAMRebatePosting.RebatePostingId(key of TAMRebatePosting)Join on all of:
GuaranteePostingProfileId=TAMRebatePosting.RebatePostingId,AgreementModule=TAMRebatePosting.ModuleInventCustVend,RebateAndDeductionsType=TAMRebatePosting.RebateTypeMany TAMRebateTable records → exactly one TAMRebatePosting record
TAMRebatePosting details: see GUPTAMRebateAndDeductionsPostingProfileEntity, TAMRebateAndDeductionsPostingProfileEntity
ItemRelation→InventTable.ItemId(key of InventTable)Join on all of:
ItemRelation=InventTable.ItemId,LegalEntityId=InventTable.DataAreaIdRelation also requires ItemCode = TableGroupAll::Table.
Many TAMRebateTable records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
RebateAndDeductionsPostingProfileId→TAMRebatePosting.RebatePostingId(key of TAMRebatePosting)Join on all of:
RebateAndDeductionsPostingProfileId=TAMRebatePosting.RebatePostingId,RebateAndDeductionsType=TAMRebatePosting.RebateType,AgreementModule=TAMRebatePosting.ModuleInventCustVendMany TAMRebateTable records → exactly one TAMRebatePosting record
TAMRebatePosting details: see GUPTAMRebateAndDeductionsPostingProfileEntity, TAMRebateAndDeductionsPostingProfileEntity
RebateAndDeductionsStatusId→TAMRebateStatusTable.StatusId(key of TAMRebateStatusTable)Many TAMRebateTable records → exactly one TAMRebateStatusTable record
TAMRebateStatusTable details: see TAMRebateAndDeductionsStatusEntity
UnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many TAMRebateTable records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
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
WarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
OperationalSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
WarehouseLocationId→WMSLocation.wMSLocationId(key of WMSLocation)Join on all of:
WarehouseLocationId=WMSLocation.wMSLocationId,WarehouseId=WMSLocation.inventLocationIdMany InventDim records → zero or one WMSLocation record
WMSLocation details: see WMSWarehouseLocationEntity, WHSWarehouseSlottingTemplateDetailsV3Entity, WHSWarehouseLocationAdvancedWarehouseManagementProcessEnablementRequestEntity
InventoryStatusId→WHSInventStatus.InventStatusId(key of WHSInventStatus)Many InventDim records → zero or one WHSInventStatus record
WHSInventStatus details: see WHSInventoryStatusEntity, WHSInventStatusCDREntity
PriceComponentCodeName→GUPPriceComponentCode.Name(key of GUPPriceComponentCode)Many GUPPriceComponentCodePriceAttributeGroupCombination records → exactly one GUPPriceComponentCode record
GUPPriceComponentCode details: see GUPPriceComponentCodeEntity, GUPPriceComponentCodeCombinationEntity, GUPPriceComponentCodeSetupEntity
Need help with GUPTAMRebateAndDeductionsAgreementHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.