Data entity
TAMRebateAndDeductionsAgreementHeaderEntity
Holds the header of a rebate management agreement, keyed by agreement number. It links to a deal and a reduction principle and holds settings such as calculation method, basis, posting profiles and status. It also has item and inventory dimension details, and customer, vendor and product group fields.
- Entity name
TAMRebateAndDeductionsAgreementHeaderEntity- Public entity name
RebateAndDeductionAgreementHeader- OData collection
RebateAndDeductionAgreementHeaders- Category
Document- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
LogisticsBasic- Keys
AgreementNumber- Staging table
TAMRebateAndDeductionsAgreementHeaderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RebateAndDeductionAgreementHeaders- Dataverse virtual table
mserp_tamrebateanddeductionsagreementheaderentity. 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-only
Fields (52)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
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 the agreement applies to. | String (20)CustAccount | No | Yes | computed | |
CustomerRebateAndDeductionsGroupIdRebate management group for customers. | StringTAMRebateGroupId | No | Yes | computed | |
VendorAccountNumberVendor account the agreement applies to. | String (20)VendAccount | No | Yes | computed | |
VendorRebateAndDeductionsGroupIdRebate management group for vendors. | StringTAMRebateGroupId | No | Yes | computed | |
ItemNumberItem the agreement applies to. | String (20)ItemId | No | Yes | computed | |
ProductRebateAndDeductionsGroupIdRebate management group for products. | 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 |
Foreign keys (17)
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.
CustomerRebateReductionPrincipleReference→TAMRebateCategory.RecId(key of TAMRebateCategory)Many TAMRebateTable records → zero or one TAMRebateCategory record
TAMRebateCategory details: see TAMRebateCustomerRebateReductionPrincipleEntity, GUPTAMRebateAndDeductionsAgreementHeaderEntity, GUPTAMRebateAndDeductionsAgreementHeaderV2Entity
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, GUPTAMRebateAndDeductionsAgreementHeaderEntity, GUPTAMRebateAndDeductionsAgreementHeaderV2Entity
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
Need help with TAMRebateAndDeductionsAgreementHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.