Table
TAMRebateGroupLink
Rebate management group relations
Assigns records to rebate management groups. Each row links a group to a record in another table, identified by table ID and record ID. The record can be a customer, vendor or product, depending on the module.
- Table name
TAMRebateGroupLink- Module
Cross-module and platform- Table group
Reference- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
ModuleGroupIdx- Replacement key
None- Key fields
ModuleInventCustVend, RebateGroupId, RefTableId, RefRecId- Model
RebatesAndDeductions
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ModuleInventCustVendShows whether the assignment is for inventory, customers or vendors. | EnumModuleInventCustVend (enum) | No | None | |
RebateGroupIdPoints to the rebate group the record is assigned to. | StringTAMRebateGroupId | Yes | TAMRebateCustomerRebateAndDeductionsGroupAssignmentEntityTAMRebateReleasedProductRebateAndDeductionsGroupAssignmentEntityTAMRebateVendorRebateAndDeductionsGroupAssignmentEntity | |
RefTableIdID of the table that holds the assigned record. | IntegerRefTableId | Yes | None | |
RefRecIdSystem record ID of the assigned record, such as a customer, vendor or product. | Int64RefRecId | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ModuleGroupIdxPrimary indexModuleInventCustVend,RebateGroupId,RefTableId,RefRecIdUnique, alternate key.
Relations (7)
Each relation joins TAMRebateGroupLink to another table on the fields shown.
CustTable→CustTableJoin on
ModuleInventCustVend = ModuleInventCustVend::Cust,RefTableId = CustTable.TableId,RefRecId = CustTable.RecIdMany TAMRebateGroupLink records → exactly one CustTable record
InventDimCombination→InventDimCombinationJoin on
ModuleInventCustVend = ModuleInventCustVend::Invent,RefTableId = InventDimCombination.TableId,RefRecId = InventDimCombination.RecIdMany TAMRebateGroupLink records → exactly one InventDimCombination record
InventTable→InventTableJoin on
ModuleInventCustVend = ModuleInventCustVend::Invent,RefTableId = InventTable.TableId,RefRecId = InventTable.RecIdMany TAMRebateGroupLink records → exactly one InventTable record
TAMRebateGroupCust→TAMRebateGroupJoin on
TAMRebateGroup.ModuleInventCustVend = ModuleInventCustVend::Cust,ModuleInventCustVend = ModuleInventCustVend::Cust,RebateGroupId = TAMRebateGroup.RebateGroupIdMany TAMRebateGroupLink records → exactly one TAMRebateGroup record
TAMRebateGroupInvent→TAMRebateGroupJoin on
TAMRebateGroup.ModuleInventCustVend = ModuleInventCustVend::Invent,ModuleInventCustVend = ModuleInventCustVend::Invent,RebateGroupId = TAMRebateGroup.RebateGroupIdMany TAMRebateGroupLink records → exactly one TAMRebateGroup record
TAMRebateGroupVend→TAMRebateGroupJoin on
TAMRebateGroup.ModuleInventCustVend = ModuleInventCustVend::Vend,ModuleInventCustVend = ModuleInventCustVend::Vend,RebateGroupId = TAMRebateGroup.RebateGroupIdMany TAMRebateGroupLink records → exactly one TAMRebateGroup record
VendTable→VendTableJoin on
ModuleInventCustVend = ModuleInventCustVend::Vend,RefTableId = VendTable.TableId,RefRecId = VendTable.RecIdMany TAMRebateGroupLink records → exactly one VendTable record
Get this data out
Tables are not exposed directly. These public entities read from TAMRebateGroupLink; use one of them in Power BI, Power Platform or a data management project.
TAMRebateCustomerRebateAndDeductionsGroupAssignmentEntity· 1 field from this tableTAMRebateReleasedProductRebateAndDeductionsGroupAssignmentEntity· 1 field from this tableTAMRebateVendorRebateAndDeductionsGroupAssignmentEntity· 1 field from this table
Need help with TAMRebateGroupLink in a report, an integration or a migration? Talk to Dr Dynamics.