Table

TAMRebateDeal

Rebate management deals

Holds rebate management deals, keyed by deal ID. A deal sets the module (inventory, customer or vendor), type (rebate or royalty), currency, dates, posting profiles, approval status and output type. Deals are used by rebate and deduction agreement entities.

Table name
TAMRebateDeal
Module
Cross-module and platform
Table group
WorksheetHeader
Table type
Regular
Data per company
No
Configuration key
LogisticsBasic
Primary index
None
Replacement key
DealIdx
Key fields
Deal
Model
RebatesAndDeductions

Fields (27)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DealCode that identifies the rebate deal.String (20)
TAMRebateDealId
YesTAMRebateAndDeductionsAgreementDealEntityGUPTAMRebateAndDeductionsAgreementHeaderV2EntityGUPTAMRebateAndDeductionsAgreementHeaderEntityand 1 more
DescriptionShort text describing the deal.String (60)
Description
NoTAMRebateAndDeductionsAgreementDealEntity
IsAttributeBasedRebateYes/no flag for an attribute-based rebate. The metadata gives no label.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
MatchedByOrderAccountYes/no setting for matching by order account.Enum
TAMRebateMatchedByOrderAccount
NoYes (enum)
NoTAMRebateAndDeductionsAgreementDealEntity
ModuleInventCustVendShows whether the deal applies to inventory, customers or vendors.Enum
ModuleInventCustVend (enum)
YesTAMRebatePosting.ModuleInventCustVendTAMRebatePosting.ModuleInventCustVendTAMRebateAndDeductionsAgreementDealEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RebateActiveYes/no setting showing whether the deal is active.Enum
TAMRebateActive
NoYes (enum)
NoTAMRebateAndDeductionsAgreementDealEntity
RebateAgreementTypeName of the rebate agreement type, linked to a record in that table.String (60)
GUPRebateAgreementTypeName
NoGUPRebateAgreementType.TypeNameTAMRebateAndDeductionsAgreementDealEntity
RebateCompanyIdCompany that owns the rebate agreement type. The metadata gives no label.String
SelectableDataArea
NoGUPRebateAgreementType.DataAreaIdTAMRebateAndDeductionsAgreementDealEntity
RebateCurrencyCodePoints to the currency used for the rebate.String (3)
TAMRebateCurrencyCode
YesCurrency.CurrencyCodeTAMRebateAndDeductionsAgreementDealEntity
RebateDocumentNotesShort text notes for the deal documents.String (60)
TAMRebateDocumentNotes
NoTAMRebateAndDeductionsAgreementDealEntity
RebateFromDateStart date of the deal.Date
TAMRebateFromDate
NoTAMRebateAndDeductionsAgreementDealEntity
RebateGuaranteeCumulativeYes/no setting for whether the guarantee is cumulative.Enum
TAMRebateGuaranteeCumulative
NoYes (enum)
NoTAMRebateAndDeductionsAgreementDealEntity
RebateGuaranteePostingIdPoints to the posting profile used for the guarantee.String
TAMRebateGuaranteePostingId
NoTAMRebatePosting.RebatePostingIdTAMRebateAndDeductionsAgreementDealEntity
RebateOutputTypeShows whether the rebate output is financial or an item.Enum
TAMRebateOutputType (enum)
NoTAMRebateAndDeductionsAgreementDealEntity
RebatePostingIdPoints to the posting profile used for the deal.String
TAMRebatePostingId
NoTAMRebatePosting.RebatePostingIdTAMRebateAndDeductionsAgreementDealEntity
RebateReconciliationShows whether reconciliation is done by deal or by line.Enum
TAMRebateReconciliation (enum)
NoTAMRebateAndDeductionsAgreementDealEntity
RebateToDateEnd date of the deal.Date
TAMRebateToDate
NoTAMRebateAndDeductionsAgreementDealEntity
RebateTypeShows whether the deal is a rebate or a royalty.Enum
TAMRebateType (enum)
NoTAMRebatePosting.RebateTypeTAMRebateAndDeductionsAgreementDealEntity
RebateTypeGUPKind of rebate: standard, prepaid lump sum or transaction based.Enum
TAMRebateTypeGUP (enum)
NoTAMRebateAndDeductionsAgreementDealEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecipientAccount of the customer or vendor who receives the rebate.String (20)
CustVendAC
NoTAMRebateAndDeductionsAgreementDealEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StateApproval status of the deal, such as submitted, approved or rejected.Enum
TAMRebateDealWorkflowState (enum)
NoTAMRebateAndDeductionsAgreementDealEntity
StatusIdPoints to the rebate status of the deal.String (20)
TAMRebateStatusId
NoTAMRebateStatusTable.StatusIdTAMRebateAndDeductionsAgreementDealEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • DealIdxReplacement key

    Deal

    Unique, alternate key.

Relations (5)

Each relation joins TAMRebateDeal to another table on the fields shown.

  • Currency → Currency

    Join on RebateCurrencyCode = Currency.CurrencyCode

    Many TAMRebateDeal records → exactly one Currency record

  • TAMRebatePosting → TAMRebatePosting

    Join on RebatePostingId = TAMRebatePosting.RebatePostingId, ModuleInventCustVend = TAMRebatePosting.ModuleInventCustVend, RebateType = TAMRebatePosting.RebateType

    Many TAMRebateDeal records → zero or one TAMRebatePosting record

  • TAMRebatePostingGuarantee → TAMRebatePosting

    Join on RebateGuaranteePostingId = TAMRebatePosting.RebatePostingId, ModuleInventCustVend = TAMRebatePosting.ModuleInventCustVend

    Many TAMRebateDeal records → zero or one TAMRebatePosting record

  • TAMRebateStatusTable → TAMRebateStatusTable

    Join on StatusId = TAMRebateStatusTable.StatusId

    Many TAMRebateDeal records → exactly one TAMRebateStatusTable record

  • GUPRebateAgreementType → GUPRebateAgreementType

    Join on RebateAgreementType = GUPRebateAgreementType.TypeName, RebateCompanyId = GUPRebateAgreementType.DataAreaId

    Many TAMRebateDeal records → exactly one GUPRebateAgreementType record

Get this data out

Tables are not exposed directly. These public entities read from TAMRebateDeal; use one of them in Power BI, Power Platform or a data management project.

Need help with TAMRebateDeal in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk