Table

CustInterestTrans

Interest lines

Interest lines on an interest note. Each line links to an interest note, a customer transaction and optionally a general journal entry or free text invoice. It holds the invoice amount, days, percentage and interest amount.

Table name
CustInterestTrans
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
CustInterest
Primary index
InterestIdx
Replacement key
None
Key fields
InterestNote, RecId
Model
Foundation

Fields (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InterestNoteInterest note the line belongs to. Points to the interest journal.String (20)
InterestNote
YesCustInterestJour.InterestNoteNone
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
AdjustmentStatusAdjustment status of the line: none, waive, reinstate or reverse.Enum
CustInterestAdjustmentStatus (enum)
NoNone
CalcFromDate from which interest is calculated.Date
TransDate
NoNone
CurrencyCodeCurrency of the amounts. Points to the currency table.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
CustInvoiceLineIdRefLink to the customer transaction line identifier.Int64
CustInvoiceLineIdRefRecId
NoCustInvoiceLineIdRef.RecIdNone
CustTransIdLink to the customer transaction the interest is for.Int64
CustTransRefRecId
NoCustTrans.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DueDateDue date of the underlying transaction.Date
DueDate
NoNone
GeneralJournalEntryLink to the general journal entry.Int64
RefRecId
NoGeneralJournalEntry.RecIdNone
InterestAmountAmount of interest on the line.Real
InterestAmountCur
NoNone
InterestCalculateYes or No flag showing whether interest is calculated.Enum
InterestCalculate
NoYes (enum)
NoNone
InterestDaysNumber of days used for the interest.Integer
PositiveDays
NoNone
InterestPercentInterest percentage applied.Real
InterestPct
NoNone
InvoiceInvoice number the interest relates to.String (50)
InvoiceId
NoNone
InvoiceAmountInvoice amount in the transaction currency.Real
AmountCur
NoNone
LastAdjustmentInvoiceLink to the free text invoice linked to the last adjustment.Int64
CustInvoiceTableRefRecId
NoCustInvoiceTable.RecIdNone
LineNumLine number.Real
LineNum
NoNone
NotesFree note text.String (-1)
Notes
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RemainAmountOrigin amount that remains.Real
AmountCur
NoNone
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
TaxInterestAmount_PLTax interest amount, used for Poland.Real
InterestAmountCur
NoNone
TaxInterestDays_PLNumber of days for tax interest, used for Poland.Integer
CustTaxInterestDays_PL
NoNone
TransDateTransaction date.Date
TransDate
NoNone
TxtDescription of the line.String (60)
TransTxt
NoNone
VoucherVoucher of the transaction on which interest is charged.String (20)
Voucher
NoNone
WriteOffAmountAmount written off.Real
AmountCur
NoNone

Indexes (4)

Relations (6)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustInterestTrans records → zero or one Currency record

  • CustInterestJour → CustInterestJour

    Join on InterestNote = CustInterestJour.InterestNote

    Many CustInterestTrans records → exactly one CustInterestJour record

  • CustInvoiceLineIdRef → CustInvoiceLineIdRef

    Join on CustInvoiceLineIdRef = CustInvoiceLineIdRef.RecId

    Many CustInterestTrans records → zero or one CustInvoiceLineIdRef record

  • CustInvoiceTable → CustInvoiceTable

    Join on LastAdjustmentInvoice = CustInvoiceTable.RecId

    Many CustInterestTrans records → zero or one CustInvoiceTable record

  • CustTrans → CustTrans

    Join on CustTransId = CustTrans.RecId

    Many CustInterestTrans records → zero or one CustTrans record

  • GeneralJournalEntry → GeneralJournalEntry

    Join on GeneralJournalEntry = GeneralJournalEntry.RecId

    Many CustInterestTrans records → zero or one GeneralJournalEntry record

Get this data out

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

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

Email sales@drdynamics.co.uk