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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CashDiscCodeCode of the cash discount linked to the transaction, from the cash discount table.String
CashDiscCode
NoCashDisc.CashDiscCodeNone
ClaimedYes/No flag showing whether the transaction has been claimed.Enum
NoYes (enum)
NoNone
CorrectedAmountAmount that has been corrected for the transaction; currency not stated in the metadata.low confidenceReal
Amount
NoNone
CurrencyCodeCurrency code for the transaction, from the currency table.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DefaultDimensionFinancial dimension set linked to the transaction.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
ExcludeRebateManagementYes/No flag to leave the transaction out of rebate management.Enum
TAMRebateExcludeRebateManagement
NoYes (enum)
NoNone
InventDimIdInventory dimension number that identifies the item's dimension values, such as site or warehouse.String (20)
InventDimId
YesInventDim.inventDimIdNone
ItemIdNumber of the item the transaction relates to.String (20)
ItemId
YesInventTable.ItemIdNone
MarkYes/No flag used to mark the record.low confidenceEnum
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingAmountAmount that was posted for the transaction; currency not stated in the metadata.Real
Amount
NoNone
ProvisionAmountAmount that was posted earlier for the transaction; currency not stated in the metadata.Real
Amount
NoNone
RebateAmountRebate amount for the transaction.Real
TAMRebateDeductionAmount
NoNone
RebateBalanceAmountRemaining rebate balance; currency not stated in the metadata.Real
Amount
NoNone
RebateFromDateStart date of the rebate period.Date
TAMRebateFromDate
NoNone
RebateIdNumber of the rebate this transaction belongs to.String (20)
TAMRebateId
YesTAMRebateTable.RebateIdNone
RebatePayoutAmountAmount of the rebate paid out; currency not stated in the metadata.Real
Amount
NoNone
RebateQtyQuantity used for the rebate.Real
TAMRebateQty
NoNone
RebateRefAccountAccount number of the customer or vendor on the source transaction.String (20)
TAMRebateRefAccount
NoNone
RebateRefAmountInvoice amount of the source transaction.Real
TAMRebateRefAmount
NoNone
RebateRefDateDate of the source transaction.Date
TAMRebateRefDate
NoNone
RebateRefIdNumber of the source transaction.String (20)
TAMRebateRefId
NoNone
RebateRefQtyQuantity on the source transaction.Real
Qty
NoNone
RebateRefSoldToAccountSold-to account on the source transaction.String (20)
TAMRebateRefSoldToAccount
NoNone
RebateToDateEnd date of the rebate period.Date
TAMRebateToDate
NoNone
RebateTransIdRebate transaction number, linking to the rebate date transactions.String (20)
TAMRebateTransId
YesTAMRebateDateTrans.RebateTransIdNone
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReductionAmountAmount of the reduction on the transaction; currency not stated in the metadata.Real
Amount
NoNone
RefCompanyIdCompany that owns the linked cash discount, inventory dimension and item records.String
SelectableDataArea
NoCashDisc.DataAreaIdInventDim.DataAreaIdInventTable.DataAreaIdNone
RefRecIdSystem record ID of the source record, such as a customer invoice line. Use it together with the reference table ID.Int64
RefRecId
NoNone
RefTableIdID of the table that the source record belongs to, such as customer invoice lines.Integer
RefTableId
NoNone
RefUnitIdUnit of measure symbol for the quantity.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
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 (6)

Relations (14)

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

  • CashDisc → CashDisc

    Join on RefCompanyId = CashDisc.DataAreaId, CashDiscCode = CashDisc.CashDiscCode

    Many TAMRebateTrans records → zero or one CashDisc record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TAMRebateTrans records → exactly one Currency record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on RefCompanyId = CustInvoiceTrans.DataAreaId, RefTableId = CustInvoiceTrans.TableId, RefRecId = CustInvoiceTrans.RecId

    Many TAMRebateTrans records → zero or one CustInvoiceTrans record

  • CustPackingSlipTrans → CustPackingSlipTrans

    Join on RefTableId = CustPackingSlipTrans.TableId, RefRecId = CustPackingSlipTrans.RecId, RefCompanyId = CustPackingSlipTrans.DataAreaId

    Many TAMRebateTrans records → zero or one CustPackingSlipTrans record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many TAMRebateTrans records → zero or one DimensionAttributeValueSet record

  • InventDim → InventDim

    Join on RefCompanyId = InventDim.DataAreaId, InventDimId = InventDim.inventDimId

    Many TAMRebateTrans records → exactly one InventDim record

  • InventTable → InventTable

    Join on RefCompanyId = InventTable.DataAreaId, ItemId = InventTable.ItemId

    Many TAMRebateTrans records → exactly one InventTable record

  • PurchLine → PurchLine

    Join on RefCompanyId = PurchLine.DataAreaId, RefTableId = PurchLine.TableId, RefRecId = PurchLine.RecId

    Many TAMRebateTrans records → zero or one PurchLine record

  • TAMRebateDateTrans → TAMRebateDateTrans

    Join on RebateTransId = TAMRebateDateTrans.RebateTransId

    Many TAMRebateTrans records → exactly one TAMRebateDateTrans record

  • TAMRebateTable → TAMRebateTable

    Join on RebateId = TAMRebateTable.RebateId

    Many TAMRebateTrans records → exactly one TAMRebateTable record

  • SalesLine → SalesLine

    Join on RefCompanyId = SalesLine.DataAreaId, RefTableId = SalesLine.TableId, RefRecId = SalesLine.RecId

    Many TAMRebateTrans records → zero or one SalesLine record

  • UnitOfMeasureSymbol → UnitOfMeasure

    Join on RefUnitId = UnitOfMeasure.Symbol

    Many TAMRebateTrans records → zero or one UnitOfMeasure record

  • VendInvoiceTrans → VendInvoiceTrans

    Join on RefCompanyId = VendInvoiceTrans.DataAreaId, RefTableId = VendInvoiceTrans.TableId, RefRecId = VendInvoiceTrans.RecId

    Many TAMRebateTrans records → zero or one VendInvoiceTrans record

  • VendPackingSlipTrans → VendPackingSlipTrans

    Join on RefCompanyId = VendPackingSlipTrans.DataAreaId, RefTableId = VendPackingSlipTrans.TableId, RefRecId = VendPackingSlipTrans.RecId

    Many 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.

Email sales@drdynamics.co.uk