Table

TAMRebateGuaranteeTrans

Rebate management guarantee transactions

Holds rebate and royalty guarantee transactions for a deal, rebate and date period. The key is the deal, rebate number, from date and to date. Each row holds the guarantee amount and minimum, when it is paid, and whether it is posted. It also refers to a customer free text invoice by company, table and record ID.

Table name
TAMRebateGuaranteeTrans
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
LogisticsBasic
Primary index
RebateIdx
Replacement key
None
Key fields
RebateDeal, RebateId, RebateFromDate, RebateToDate
Model
RebatesAndDeductions

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RebateDealSystem record ID of the rebate deal in TAMRebateDeal.Int64
TAMRebateDealRecId
YesTAMRebateDeal.RecIdNone
RebateIdRebate management number that points to the rebate in TAMRebateTable.String (20)
TAMRebateId
YesTAMRebateTable.RebateIdNone
RebateFromDateStart date of the guarantee period.Date
TAMRebateFromDate
YesNone
RebateToDateEnd date of the guarantee period.Date
TAMRebateToDate
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RebateGuaranteeAmountGuarantee amount; the currency is not stated in the metadata.Real
TAMRebateGuaranteeAmount
NoNone
RebateGuaranteeMinimumMinimum guarantee value; the currency is not stated in the metadata.Real
TAMRebateGuaranteeMinimum
NoNone
RebateGuaranteePaidShows whether the guarantee is paid at the beginning or at the end of the period.Enum
TAMRebateGuaranteePaid (enum)
NoNone
RebatePostedYes or No value showing whether the guarantee transaction is posted.Enum
TAMRebatePosted
NoYes (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
RefCompanyIdCompany of the referenced record, used with the table and record ID to point to a customer free text invoice.String
SelectableDataArea
NoNone
RefRecIdSystem record ID of the referenced record, such as a customer free text invoice.Int64
RefRecId
NoNone
RefTableIdID of the table that holds the referenced record.Integer
RefTableId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (5)

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

  • CustInvoiceTable → CustInvoiceTable

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

    Zero or one TAMRebateGuaranteeTrans record → exactly one CustInvoiceTable record

  • LedgerJournalTable → LedgerJournalTable

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

    Zero or one TAMRebateGuaranteeTrans record → exactly one LedgerJournalTable record

  • TAMRebateDeal → TAMRebateDeal

    Join on RebateDeal = TAMRebateDeal.RecId

    Many TAMRebateGuaranteeTrans records → exactly one TAMRebateDeal record

  • TAMRebateTable → TAMRebateTable

    Join on RebateId = TAMRebateTable.RebateId

    Many TAMRebateGuaranteeTrans records → exactly one TAMRebateTable record

  • DataArea → DataArea

    Join on DataArea.isVirtual = boolean::false, RefCompanyId = DataArea.id

    Many TAMRebateGuaranteeTrans records → zero or one DataArea record

Get this data out

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

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

Email sales@drdynamics.co.uk