Table
TAMRebateTrans
Rebate management included transactions
Holds the transactions that are included in rebate management. Each record links to a rebate and to a source line such as a customer invoice line, with item, quantity, dates and amounts. It also stores amounts for the rebate, the reduction, the amount posted and the payout and balance. Several links to other company data use RefCompanyId as the company.
- Table name
TAMRebateTrans- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
RebatesAndDeductions
Fields (35)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CashDiscCodeCode of the cash discount linked to the transaction, from the cash discount table. | StringCashDiscCode | No | CashDisc.CashDiscCode | None |
ClaimedYes/No flag showing whether the transaction has been claimed. | EnumNoYes (enum) | No | None | |
CorrectedAmountAmount that has been corrected for the transaction; currency not stated in the metadata.low confidence | RealAmount | No | None | |
CurrencyCodeCurrency code for the transaction, from the currency table. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
DefaultDimensionFinancial dimension set linked to the transaction. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
ExcludeRebateManagementYes/No flag to leave the transaction out of rebate management. | EnumTAMRebateExcludeRebateManagementNoYes (enum) | No | None | |
InventDimIdInventory dimension number that identifies the item's dimension values, such as site or warehouse. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
ItemIdNumber of the item the transaction relates to. | String (20)ItemId | Yes | InventTable.ItemId | None |
MarkYes/No flag used to mark the record.low confidence | EnumNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingAmountAmount that was posted for the transaction; currency not stated in the metadata. | RealAmount | No | None | |
ProvisionAmountAmount that was posted earlier for the transaction; currency not stated in the metadata. | RealAmount | No | None | |
RebateAmountRebate amount for the transaction. | RealTAMRebateDeductionAmount | No | None | |
RebateBalanceAmountRemaining rebate balance; currency not stated in the metadata. | RealAmount | No | None | |
RebateFromDateStart date of the rebate period. | DateTAMRebateFromDate | No | None | |
RebateIdNumber of the rebate this transaction belongs to. | String (20)TAMRebateId | Yes | TAMRebateTable.RebateId | None |
RebatePayoutAmountAmount of the rebate paid out; currency not stated in the metadata. | RealAmount | No | None | |
RebateQtyQuantity used for the rebate. | RealTAMRebateQty | No | None | |
RebateRefAccountAccount number of the customer or vendor on the source transaction. | String (20)TAMRebateRefAccount | No | None | |
RebateRefAmountInvoice amount of the source transaction. | RealTAMRebateRefAmount | No | None | |
RebateRefDateDate of the source transaction. | DateTAMRebateRefDate | No | None | |
RebateRefIdNumber of the source transaction. | String (20)TAMRebateRefId | No | None | |
RebateRefQtyQuantity on the source transaction. | RealQty | No | None | |
RebateRefSoldToAccountSold-to account on the source transaction. | String (20)TAMRebateRefSoldToAccount | No | None | |
RebateToDateEnd date of the rebate period. | DateTAMRebateToDate | No | None | |
RebateTransIdRebate transaction number, linking to the rebate date transactions. | String (20)TAMRebateTransId | Yes | TAMRebateDateTrans.RebateTransId | 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 | |
ReductionAmountAmount of the reduction on the transaction; currency not stated in the metadata. | RealAmount | No | None | |
RefCompanyIdCompany that owns the linked cash discount, inventory dimension and item records. | StringSelectableDataArea | No | CashDisc.DataAreaIdInventDim.DataAreaIdInventTable.DataAreaId | None |
RefRecIdSystem record ID of the source record, such as a customer invoice line. Use it together with the reference table ID. | Int64RefRecId | No | None | |
RefTableIdID of the table that the source record belongs to, such as customer invoice lines. | IntegerRefTableId | No | None | |
RefUnitIdUnit of measure symbol for the quantity. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | 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 (6)
RebateFromToDateIdxRebateId,RebateFromDate,RebateToDateNot unique.
RefIdDateAccountIdxRebateId,RebateTransId,RebateRefId,RebateRefDate,RebateRefAccount,ItemIdNot unique.
RefIdxNot unique.
ItemDateIdxNot unique.
RebateTransIdxNot unique.
RebateRefSoldToAccountIdxRebateTransId,RebateRefSoldToAccount,RebateAmountNot unique.
Relations (14)
Each relation joins TAMRebateTrans to another table on the fields shown.
CashDisc→CashDiscJoin on
RefCompanyId = CashDisc.DataAreaId,CashDiscCode = CashDisc.CashDiscCodeMany TAMRebateTrans records → zero or one CashDisc record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TAMRebateTrans records → exactly one Currency record
CustInvoiceTrans→CustInvoiceTransJoin on
RefCompanyId = CustInvoiceTrans.DataAreaId,RefTableId = CustInvoiceTrans.TableId,RefRecId = CustInvoiceTrans.RecIdMany TAMRebateTrans records → zero or one CustInvoiceTrans record
CustPackingSlipTrans→CustPackingSlipTransJoin on
RefTableId = CustPackingSlipTrans.TableId,RefRecId = CustPackingSlipTrans.RecId,RefCompanyId = CustPackingSlipTrans.DataAreaIdMany TAMRebateTrans records → zero or one CustPackingSlipTrans record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany TAMRebateTrans records → zero or one DimensionAttributeValueSet record
InventDim→InventDimJoin on
RefCompanyId = InventDim.DataAreaId,InventDimId = InventDim.inventDimIdMany TAMRebateTrans records → exactly one InventDim record
InventTable→InventTableJoin on
RefCompanyId = InventTable.DataAreaId,ItemId = InventTable.ItemIdMany TAMRebateTrans records → exactly one InventTable record
PurchLine→PurchLineJoin on
RefCompanyId = PurchLine.DataAreaId,RefTableId = PurchLine.TableId,RefRecId = PurchLine.RecIdMany TAMRebateTrans records → zero or one PurchLine record
TAMRebateDateTrans→TAMRebateDateTransJoin on
RebateTransId = TAMRebateDateTrans.RebateTransIdMany TAMRebateTrans records → exactly one TAMRebateDateTrans record
TAMRebateTable→TAMRebateTableJoin on
RebateId = TAMRebateTable.RebateIdMany TAMRebateTrans records → exactly one TAMRebateTable record
SalesLine→SalesLineJoin on
RefCompanyId = SalesLine.DataAreaId,RefTableId = SalesLine.TableId,RefRecId = SalesLine.RecIdMany TAMRebateTrans records → zero or one SalesLine record
UnitOfMeasureSymbol→UnitOfMeasureJoin on
RefUnitId = UnitOfMeasure.SymbolMany TAMRebateTrans records → zero or one UnitOfMeasure record
VendInvoiceTrans→VendInvoiceTransJoin on
RefCompanyId = VendInvoiceTrans.DataAreaId,RefTableId = VendInvoiceTrans.TableId,RefRecId = VendInvoiceTrans.RecIdMany TAMRebateTrans records → zero or one VendInvoiceTrans record
VendPackingSlipTrans→VendPackingSlipTransJoin on
RefCompanyId = VendPackingSlipTrans.DataAreaId,RefTableId = VendPackingSlipTrans.TableId,RefRecId = VendPackingSlipTrans.RecIdMany TAMRebateTrans records → zero or one VendPackingSlipTrans record
Get this data out
No public entity reads from TAMRebateTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with TAMRebateTrans in a report, an integration or a migration? Talk to Dr Dynamics.