Table
TAMRebateDateTrans
Rebate management date transactions
Holds rebate management transactions for a date period. Each row has a unique transaction number, a rebate, a deal, an amount, a type (provision, rebate or write off), and flags for posted and cancelled. It also links to a remittance account, a fund and a free item sales order, and refers to a free text invoice by company, table and record ID.
- Table name
TAMRebateDateTrans- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
LogisticsBasic- Primary index
RebateTransIdx- Replacement key
None- Key fields
RebateTransId- Model
RebatesAndDeductions
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RebateTransIdUnique number of the rebate transaction. | String (20)TAMRebateTransId | Yes | None | |
CancelledYes or No value showing whether the transaction is cancelled. | EnumTAMRebateCancelledNoYes (enum) | No | None | |
FreeItemSalesIdNumber of the sales order for a free item. | String (20)SalesId | No | None | |
FundIDTrade allowance fund that the transaction relates to, from TAMFundTable. | String (30)TAMFundID | No | TAMFundTable.FundID | None |
ModuleInventCustVendKind of party the transaction relates to: inventory, customer or vendor. | EnumModuleInventCustVend (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessDateDate on which the transaction was processed. | DateTAMRebateProcessDate | No | None | |
RebateAmountAmount of the rebate transaction; the currency is not stated in the metadata. | RealTAMRebateDeductionAmount | No | None | |
RebateDateRecIdSystem record ID reference for the rebate date record.low confidence | Int64RefRecId | Yes | None | |
RebateDealSystem record ID of the rebate deal in TAMRebateDeal. | Int64TAMRebateDealRecId | Yes | TAMRebateDeal.RecId | None |
RebateFromDateStart date of the period that the transaction covers. | DateTAMRebateFromDate | Yes | None | |
RebateIdRebate management number that points to the rebate in TAMRebateTable. | String (20)TAMRebateId | No | TAMRebateTable.RebateId | None |
RebatePostedYes or No value showing whether the transaction is posted. | EnumTAMRebatePostedNoYes (enum) | No | None | |
RebateToDateEnd date of the period that the transaction covers. | DateTAMRebateToDate | Yes | None | |
RebateTransactionTypeKind of transaction: provision, rebate or write off. | EnumTAMRebateTransactionType (enum) | 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 | |
RefCompanyIdCompany of the referenced record, used with the table and record ID to point to a customer free text invoice. | StringSelectableDataArea | No | None | |
RefRecIdSystem record ID of the referenced record, such as a customer free text invoice. | Int64RefRecId | No | None | |
RefTableIdID of the table that holds the referenced record. | IntegerRefTableId | No | None | |
RemittanceAccountCustomer or vendor account used for the remittance. | String (20)CustVendAC | No | CustTable.AccountNumVendTable.AccountNum | 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 (2)
RebateFromToDateIdxRebateDeal,RebateId,RebateFromDate,RebateToDate,RebateTransIdUnique.
RebateTransIdxPrimary indexUnique, alternate key.
Relations (9)
Each relation joins TAMRebateDateTrans to another table on the fields shown.
CustInvoiceTable→CustInvoiceTableJoin on
RefCompanyId = CustInvoiceTable.DataAreaId,RefTableId = CustInvoiceTable.TableId,RefRecId = CustInvoiceTable.RecIdZero or one TAMRebateDateTrans record → exactly one CustInvoiceTable record
LedgerJournalTable→LedgerJournalTableJoin on
RefCompanyId = LedgerJournalTable.DataAreaId,RefTableId = LedgerJournalTable.TableId,RefRecId = LedgerJournalTable.RecIdZero or one TAMRebateDateTrans record → exactly one LedgerJournalTable record
TAMRebateDeal→TAMRebateDealJoin on
RebateDeal = TAMRebateDeal.RecIdMany TAMRebateDateTrans records → exactly one TAMRebateDeal record
TAMRebateTable→TAMRebateTableJoin on
RebateId = TAMRebateTable.RebateIdMany TAMRebateDateTrans records → exactly one TAMRebateTable record
SalesTable→SalesTableJoin on
RefCompanyId = SalesTable.DataAreaId,RefTableId = SalesTable.TableId,RefRecId = SalesTable.RecIdZero or one TAMRebateDateTrans record → zero or one SalesTable record
DataArea→DataAreaJoin on
DataArea.isVirtual = boolean::false,RefCompanyId = DataArea.idMany TAMRebateDateTrans records → zero or one DataArea record
CustTable→CustTableJoin on
RemittanceAccount = CustTable.AccountNum,ModuleInventCustVend = ModuleInventCustVend::CustMany TAMRebateDateTrans records → zero or one CustTable record
VendTable→VendTableJoin on
RemittanceAccount = VendTable.AccountNum,ModuleInventCustVend = ModuleInventCustVend::VendMany TAMRebateDateTrans records → zero or one VendTable record
TAMFundTable→TAMFundTableJoin on
FundID = TAMFundTable.FundIDOne or more TAMRebateDateTrans records → exactly one TAMFundTable record
Get this data out
No public entity reads from TAMRebateDateTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with TAMRebateDateTrans in a report, an integration or a migration? Talk to Dr Dynamics.