Table

TAMVendRebateTrans

Rebate transactions

Stores transactions that use up vendor rebates. Each row links to a rebate and can link to a ledger journal or a vendor invoice. The transaction type shows whether it came from a rebate accrual journal or a vendor invoice. No key is defined in the metadata.

Table name
TAMVendRebateTrans
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
TAMVendorRebate
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that explains the transaction.String (60)
Description
NoNone
LedgerJournalIdJournal batch number. Points to the ledger journal.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
ManualInvoicingYes or no setting for manual invoice posting.Enum
TAMVendRebateManualInvoicing
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RebateAmtConsumed rebate amount.Real
TAMRebateAmt
NoNone
RebateInvoiceIdInvoice number.String (50)
VendInvoiceId
YesNone
RebateTransactionTypeSource of the consumption: rebate accrual journal or vendor invoice.Enum
TAMVendRebateTransactionType (enum)
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendInvoiceInfoTableParmIdParameter ID of the vendor invoice. Used with the line reference to find the record.String (20)
ParmId
NoVendInvoiceInfoTable.ParmIdNone
VendInvoiceInfoTableTableRefIdLine reference of the vendor invoice. Used with the parameter ID to find the record.String (20)
TradeLineRefId
NoVendInvoiceInfoTable.TableRefIdNone
VendRebateIdID of the rebate. Points to the rebate record.String (12)
TAMVendRebateId
NoTAMVendRebateTable.VendRebateIdNone

Indexes (1)

Relations (3)

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

  • LedgerJournalTable → LedgerJournalTable

    Join on LedgerJournalId = LedgerJournalTable.JournalNum

    Many TAMVendRebateTrans records → zero or one LedgerJournalTable record

  • TAMVendRebateTable → TAMVendRebateTable

    Join on VendRebateId = TAMVendRebateTable.VendRebateId

    Many TAMVendRebateTrans records → exactly one TAMVendRebateTable record

  • VendInvoiceInfoTable → VendInvoiceInfoTable

    Join on VendInvoiceInfoTableTableRefId = VendInvoiceInfoTable.TableRefId, VendInvoiceInfoTableParmId = VendInvoiceInfoTable.ParmId

    Many TAMVendRebateTrans records → exactly one VendInvoiceInfoTable record

Get this data out

No public entity reads from TAMVendRebateTrans. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk