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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InterestNoteInterest note the line belongs to. Points to the interest journal. | String (20)InterestNote | Yes | CustInterestJour.InterestNote | 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 | |
AdjustmentStatusAdjustment status of the line: none, waive, reinstate or reverse. | EnumCustInterestAdjustmentStatus (enum) | No | None | |
CalcFromDate from which interest is calculated. | DateTransDate | No | None | |
CurrencyCodeCurrency of the amounts. Points to the currency table. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | None |
CustInvoiceLineIdRefLink to the customer transaction line identifier. | Int64CustInvoiceLineIdRefRecId | No | CustInvoiceLineIdRef.RecId | None |
CustTransIdLink to the customer transaction the interest is for. | Int64CustTransRefRecId | No | CustTrans.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DueDateDue date of the underlying transaction. | DateDueDate | No | None | |
GeneralJournalEntryLink to the general journal entry. | Int64RefRecId | No | GeneralJournalEntry.RecId | None |
InterestAmountAmount of interest on the line. | RealInterestAmountCur | No | None | |
InterestCalculateYes or No flag showing whether interest is calculated. | EnumInterestCalculateNoYes (enum) | No | None | |
InterestDaysNumber of days used for the interest. | IntegerPositiveDays | No | None | |
InterestPercentInterest percentage applied. | RealInterestPct | No | None | |
InvoiceInvoice number the interest relates to. | String (50)InvoiceId | No | None | |
InvoiceAmountInvoice amount in the transaction currency. | RealAmountCur | No | None | |
LastAdjustmentInvoiceLink to the free text invoice linked to the last adjustment. | Int64CustInvoiceTableRefRecId | No | CustInvoiceTable.RecId | None |
LineNumLine number. | RealLineNum | No | None | |
NotesFree note text. | String (-1)Notes | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RemainAmountOrigin amount that remains. | RealAmountCur | No | 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 | |
TaxInterestAmount_PLTax interest amount, used for Poland. | RealInterestAmountCur | No | None | |
TaxInterestDays_PLNumber of days for tax interest, used for Poland. | IntegerCustTaxInterestDays_PL | No | None | |
TransDateTransaction date. | DateTransDate | No | None | |
TxtDescription of the line. | String (60)TransTxt | No | None | |
VoucherVoucher of the transaction on which interest is charged. | String (20)Voucher | No | None | |
WriteOffAmountAmount written off. | RealAmountCur | No | None |
Indexes (4)
RefIdxNot unique.
InterestIdxPrimary indexUnique.
GeneralJournalEntryIdxNot unique.
CustInvoiceLineIdRefIdxNot unique.
Relations (6)
Each relation joins CustInterestTrans to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustInterestTrans records → zero or one Currency record
CustInterestJour→CustInterestJourJoin on
InterestNote = CustInterestJour.InterestNoteMany CustInterestTrans records → exactly one CustInterestJour record
CustInvoiceLineIdRef→CustInvoiceLineIdRefJoin on
CustInvoiceLineIdRef = CustInvoiceLineIdRef.RecIdMany CustInterestTrans records → zero or one CustInvoiceLineIdRef record
CustInvoiceTable→CustInvoiceTableJoin on
LastAdjustmentInvoice = CustInvoiceTable.RecIdMany CustInterestTrans records → zero or one CustInvoiceTable record
CustTrans→CustTransJoin on
CustTransId = CustTrans.RecIdMany CustInterestTrans records → zero or one CustTrans record
GeneralJournalEntry→GeneralJournalEntryJoin on
GeneralJournalEntry = GeneralJournalEntry.RecIdMany 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.