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 · root
  • TAMRebateCategory · OuterJoin to TAMRebateTable · read-only
  • TAMRebateDeal · InnerJoin to TAMRebateTable · read-only
  • InventDim · OuterJoin to TAMRebateTable · read-only

Fields (52)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
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 the agreement applies to.String (20)
CustAccount
NoYescomputed
CustomerRebateAndDeductionsGroupIdRebate management group for customers.String
TAMRebateGroupId
NoYescomputed
VendorAccountNumberVendor account the agreement applies to.String (20)
VendAccount
NoYescomputed
VendorRebateAndDeductionsGroupIdRebate management group for vendors.String
TAMRebateGroupId
NoYescomputed
ItemNumberItem the agreement applies to.String (20)
ItemId
NoYescomputed
ProductRebateAndDeductionsGroupIdRebate management group for products.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

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.

Need help with TAMRebateAndDeductionsAgreementHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk