Table

CustInterestNoteTmp

Interest note

Temporary working table for the interest note, holding one row per printed line. It combines customer, company, currency, interest, tax and payment details in one flat layout. It has no key. Many fields are used for Switzerland, Finland, Norway or Denmark, such as bank, payment slip and reference numbers.

Table name
CustInterestNoteTmp
Module
Accounts receivable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
CustInterest
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (111)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNo1_CHBank account number, used for Switzerland.String (48)
BankAccount
NoNone
AccountNo2_CHSecond bank account number, used for Switzerland.String (48)
BankAccount
NoNone
AccountNumCustomer account the interest note relates to. Points to the customer record.String (20)
CustAccount
NoCustTable.AccountNumNone
AccountNum1_FIGeneral text value for an account number, used for Finland.low confidenceString (60)
Str60
NoNone
AccountNum2_FIGeneral text value for an account number, used for Finland.low confidenceString (60)
Str60
NoNone
AccountNum3_FIGeneral text value for an account number, used for Finland.low confidenceString (60)
Str60
NoNone
AccountNum4_FIGeneral text value for an account number, used for Finland.low confidenceString (60)
Str60
NoNone
AccountNum5_FIGeneral text value for an account number, used for Finland.low confidenceString (60)
Str60
NoNone
AccountNum6_FIGeneral text value for an account number, used for Finland.low confidenceString (60)
Str60
NoNone
AmountCheckIdText value of 60 characters. The metadata does not state its purpose, though the name suggests an amount check.low confidenceString (60)
Str60
NoNone
AmountDecimals_CHText value of an amount with decimals, used for Switzerland.low confidenceString (60)
Str60
NoNone
AmountNoDecimals_CHText value of an amount without decimals, used for Switzerland.low confidenceString (60)
Str60
NoNone
BalanceAmountBalance amount in the transaction currency, with a debit or credit sign.Real
AmountCurDebCred
NoNone
BankAccountTable_AccountNum_CHBank account number, used for Switzerland.String (48)
BankAccount
NoNone
BankAccountTable_Clearing_CHBank clearing text value, used for Switzerland.low confidenceString (60)
Str60
NoNone
BankGroupIdName_CHDescription of the bank group, used for Switzerland.low confidenceString (60)
Description
NoNone
BankZipCode_CHBank postal code text, used for Switzerland.low confidenceString (60)
Str60
NoNone
BillInformation_CHFree text for billing information, used for Switzerland.String (255)
FreeText
NoNone
BillingClassificationBilling classification code of the interest line.String (15)
BillingClassification
NoNone
ColumnHeadingName text used as a column heading.low confidenceString (60)
Name
NoNone
CompanyFaxFax number of the company.String (20)
TeleFax
NoNone
CompanyNameName of the company issuing the note.String (60)
CompanyName
NoNone
CompanyPhoneTelephone number of the company.String (20)
Phone
NoNone
CompanyRegNumCompany registration (routing) number.String (25)
CompanyRegNum
NoNone
CompanyVATNumCompany tax exempt number.String (20)
VATNum
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CurrencyCodeCurrency code used for the customer's amounts. Points to the currency table.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
currencyCodeISO_CHISO currency code, used for Switzerland. Points to the ISO currency codes table.String (3)
CurrencyCodeISO
NoISOCurrencyCode.ISCCurrencyCodeAlphaNone
CustCurrencyCodeCustomer currency code. Points to the currency table.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
CustInterestTransLineNumLine number of the interest line. Relates to the interest lines table.Real
LineNum
NoNone
CustomerAddressFull customer address as one text.String (250)
LogisticsAddressing
NoNone
CustomerAddressCity_CHCustomer city in the address, used for Switzerland.String (250)
LogisticsAddressing
NoNone
CustomerAddressLine1_CHFirst customer address line, used for Switzerland.String (250)
LogisticsAddressing
NoNone
CustomerAddressLine2_CHSecond customer address line, used for Switzerland.String (250)
LogisticsAddressing
NoNone
CustomerAddressZipCode_CHCustomer postal code in the address, used for Switzerland.String (250)
LogisticsAddressing
NoNone
CustomerCountryRegionId_CHCustomer country or region code, used for Switzerland.String
LogisticsAddressCountryRegionId
NoNone
CustomerNameName of the customer.String (60)
Name
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
Description_CHGeneral 60-character text, used for Switzerland.low confidenceString (60)
Str60
NoNone
DueDateDue date of the invoice.Date
DueDate
NoNone
Enterpriseregister_NODescription text for the enterprise register, used for Norway.low confidenceString (60)
Description
NoNone
FeeLanguageTextLong text about the fee, in the document language.String (-1)
LanguageTxtText
NoNone
FICreditorID_DKFinancial institution creditor ID, used for Denmark.String (8)
FICreditorID_DK
NoNone
FormLetterRemarksTxtLong form note text for the printed document.String (-1)
FormLetterTxt
NoNone
GiroBank giro number.String (48)
GiroNum
NoNone
GiroTypeType of payment slip attached to the customer invoice, such as FIK, BBS or orange slip.Enum
PaymentStubInvoiceId
PaymentStub (enum)
NoNone
IBAN_CHIBAN bank account number, used for Switzerland.String (48)
BankIBAN
NoNone
ImageImage stored as a bitmap in a container field.Container
Bitmap
NoNone
InfoMessageGeneral information message of up to 255 characters.low confidenceString (255)
String255
NoNone
InterestAmountAmount of interest charged.Real
InterestAmountCur
NoNone
InterestAmountInCurrAmount of interest, shown in a currency.low confidenceReal
InterestAmountCur
NoNone
InterestAmountTotalTotal interest amount in the transaction currency.Real
AmountCur
NoNone
InterestCodeInterest code applied. Points to the customer interest codes.String
InterestCode
NoCustInterest.InterestCodeNone
InterestDaysNumber of days for which interest applies.Integer
PositiveDays
NoNone
InterestDueDateDue date for the interest.Date
DueDate
NoNone
InterestFeeFee amount in the transaction currency.Real
AmountCur
NoNone
InterestFromDateStart date of the interest period.Date
TransDate
NoNone
InterestLanguageTextLong text about the interest, in the document language.String (-1)
LanguageTxtText
NoNone
InterestNoteInterest note number. Points to the interest journal.String (20)
InterestNote
NoCustInterestJour.InterestNoteNone
InterestNoteDateEnd date of the interest note.Date
EndDate
NoNone
InterestPercentInterest percentage.Real
InterestPct
NoNone
InterestToDateEnd date of the interest period.Date
TransDate
NoNone
InvoiceInvoice number the interest relates to.String (50)
InvoiceId
NoNone
InvoiceAmountInvoice amount in the transaction currency.Real
AmountCur
NoNone
InvoiceAmountDecimalsText value of the invoice amount with decimals.low confidenceString (60)
Str60
NoNone
InvoiceAmountNoDecimalsText value of the invoice amount without decimals.low confidenceString (60)
Str60
NoNone
InvoiceReferenceNumberFIInvoice reference number, used for Finland.String (20)
ReferenceNumber_FI
NoNone
IsTaxLineYes or No flag showing whether the row is a tax line.Enum
NoYesId
NoYes (enum)
NoNone
LanguageId_CHLanguage code, used for Switzerland.String (7)
LanguageId
NoNone
LastInterestNoteDateEnd date of the last interest note.Date
EndDate
NoNone
LayoutCode_CHGeneral 60-character layout text, used for Switzerland.low confidenceString (60)
Str60
NoNone
LineInterestAmountInterest amount for the line.Real
InterestAmountCur
NoNone
LineInterestAmountInCurrInterest amount for the line, shown in a currency.low confidenceReal
InterestAmountCur
NoNone
LineInvoiceAmountTotal invoice amount for the line.Real
AmountCur
NoNone
LineNumLine number. Relates to the interest lines.Real
LineNum
NoNone
LineRemainAmountRemaining amount for the line in the transaction currency.Real
AmountCur
NoNone
OcrFieldText value for OCR payment data.low confidenceString (60)
Str60
NoNone
OcrLine_CHOCR line text, used for Switzerland.String (60)
Str60
NoNone
OcrLine_FIOCR line text, used for Finland.String (60)
Str60
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentIdText value for a payment identifier.low confidenceString (60)
Str60
NoNone
PaymentId2_PaymentId3_CHCombined payment identifier text, used for Switzerland.low confidenceString (60)
Str60
NoNone
PaymentRef1_CHFirst payment reference text, used for Switzerland.String (60)
Str60
NoNone
PaymentRef2_CHSecond payment reference text, used for Switzerland.String (60)
Str60
NoNone
PaymentReferenceBEPayment reference, apparently used for Belgium.String (35)
PaymReference
NoNone
PaymentTermsTerms of payment. Points to the payment terms table.String (100)
CustPaymTermId
NoPaymTerm.PaymTermIdNone
PostalAddressPostal address as one text.String (250)
LogisticsAddressing
NoNone
PrintedYes or No flag showing whether the note was printed.Enum
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
RefCountInteger count with no stated meaning.low confidenceInteger
Integer
NoNone
RegNumRegistration (routing) number.String (25)
CompanyRegNum
NoNone
RemainAmountRemaining amount in the transaction currency.Real
AmountCur
NoNone
ShowCompanyVATNumYes or No option to show the company tax number.Enum
NoYes (enum)
NoNone
ShowTaxAmountMSTYes or No option to show the tax amount in accounting currency.Enum
NoYesId
NoYes (enum)
NoNone
StatusStatus of the note: created, posted or cancelled.Enum
PrintPostCancel (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount.Real
TaxAmount
NoNone
TaxAmountMSTSales tax amount, in accounting currency.Real
TaxAmount
NoNone
TaxAmountTotalTotal sales tax amount.Real
TaxAmount
NoNone
TaxBaseAmountOrigin amount that tax is based on.Real
TaxBaseCur
NoNone
TaxBaseQtyOrigin quantity that tax is based on.low confidenceReal
TaxBase
NoNone
TaxCodeSales tax code. Points to the sales tax codes.String
TaxCode
NoTaxTable.TaxCodeNone
TaxExemptDescriptionDescription of a tax exemption.String (60)
Description
NoNone
TaxInterestAmountAmount of interest for tax purposes.low confidenceReal
InterestAmountCur
NoNone
TaxInterestDaysNumber of days for tax interest. The type name suggests Poland.low confidenceInteger
CustTaxInterestDays_PL
NoNone
TaxInterestNoteDocumentInterest note document number. The type name suggests Poland.low confidenceString (20)
PlInterestNoteDocument
NoNone
TaxWriteCodePrint code for tax.low confidenceString
TaxWriteCode
NoNone
TransDateTransaction date.Date
TransDate
NoNone
TransTxtDescription of the transaction.String (60)
TransTxt
NoNone

Relations (10)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustInterestNoteTmp records → zero or one Currency record

  • CustCurrencyCode → Currency

    Join on CustCurrencyCode = Currency.CurrencyCode

    Many CustInterestNoteTmp records → zero or one Currency record

  • CustInterest → CustInterest

    Join on InterestCode = CustInterest.InterestCode

    Many CustInterestNoteTmp records → zero or one CustInterest record

  • CustInterestJour → CustInterestJour

    Join on InterestNote = CustInterestJour.InterestNote

    Many CustInterestNoteTmp records → zero or one CustInterestJour record

  • CustTable → CustTable

    Join on AccountNum = CustTable.AccountNum

    Many CustInterestNoteTmp records → zero or one CustTable record

  • ISOCurrencyCode → ISOCurrencyCode

    Join on currencyCodeISO_CH = ISOCurrencyCode.ISCCurrencyCodeAlpha

    Many CustInterestNoteTmp records → zero or one ISOCurrencyCode record

  • PaymTerm → PaymTerm

    Join on PaymentTerms = PaymTerm.PaymTermId

    Many CustInterestNoteTmp records → zero or one PaymTerm record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many CustInterestNoteTmp records → zero or one TaxTable record

  • CustInterestTrans → CustInterestTrans

    Join on CustInterestTransLineNum = CustInterestTrans.LineNum

    Exactly one CustInterestNoteTmp record → zero or one CustInterestTrans record

  • CustInterestTransLine → CustInterestTransLine

    Join on LineNum = CustInterestTransLine.LineNum

    Zero or one CustInterestNoteTmp record → zero or one CustInterestTransLine record

Get this data out

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

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

Email sales@drdynamics.co.uk