Table

CustCollectionJourTmp

Collection letter note

Working table that holds the data printed on a collection letter note. It mixes company details, customer details, letter and transaction amounts, tax figures and several fields used for specific countries. It has no key, and the name suggests it is used for printing rather than long-term storage.

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

Fields (121)

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
AccountNum1_FIPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
AccountNum2_FIPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
AccountNum3_FIPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
AccountNum4_FIPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
AccountNum5_FIPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
AccountNum6_FIPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
AmountCheckIdPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
AmountDecimals_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
AmountNoDecimals_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
BankAccountTable_AccountNum_CHBank account number, used for Switzerland.String (48)
BankAccount
NoNone
BankAccountTable_Clearing_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
BankGroupIdName_CHDescription of the bank group, used for Switzerland.String (60)
Description
NoNone
BankZipCode_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
BillInformation_CHFree-text bill information, used for Switzerland.String (255)
FreeText
NoNone
BillingClassificationBilling classification of the letter.String (15)
BillingClassification
NoNone
CollectionAddressAddress text for the collection letter.String (250)
Addressing
NoNone
CollectionAddressCity_CHCity part of the collection address, used for Switzerland.String (250)
LogisticsAddressing
NoNone
CollectionAddressLine1_CHFirst line of the collection address, used for Switzerland.String (250)
LogisticsAddressing
NoNone
CollectionAddressLine2_CHSecond line of the collection address, used for Switzerland.String (250)
LogisticsAddressing
NoNone
CollectionAddressZipCode_CHPostal code part of the collection address, used for Switzerland.String (250)
LogisticsAddressing
NoNone
CollectionAmount_CHCollection amount in transaction currency, used for Switzerland.Real
AmountCur
NoNone
CollectionAmountDecimalsPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
CollectionAmountNoDecimalsPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
CollectionCountryRegionId_CHCountry or region of the collection address, used for Switzerland.String
LogisticsAddressCountryRegionId
NoNone
CollectionLetterCodeCollection letter level, such as letter 1 to 4 or collection.Enum
CustCollectionLetterCode (enum)
NoNone
CollectionLetterCurrencyCodeCurrency code of the collection letter.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
CollectionLetterDateDate of the collection letter.Date
TransDate
NoNone
CollectionLetterDueDateDue date shown on the collection letter.Date
DueDate
NoNone
CollectionLetterNumNumber of the collection letter.String (20)
CollectionLetterNum
YesNone
CollectionLetterOCRFieldPurpose not clear from the metadata.low confidenceString (1260)
Str1260
NoNone
CollectionLetterPaymentReferencePayment reference for the collection letter.String (35)
PaymReference
NoNone
CollectionLetterTitlePurpose not clear from the metadata.low confidenceString (1260)
Str1260
NoNone
CollectionNameName shown on the collection letter.String (60)
Name
NoNone
CompanyAddressAddress of the company sending the letter.String (250)
Addressing
NoNone
CompanyCoRegNumCompany tax registration number.String (25)
CompanyCoRegNum
NoNone
CompanyEnterpriseNumberEnterprise number of the company.String (50)
TaxEnterpriseNumber
NoNone
CompanyGiroBank giro number of the company.String (48)
GiroNum
NoNone
Container
Bitmap
NoNone
CompanyNameName of the company sending the letter.String (60)
Name
NoNone
CompanyPhoneCompany telephone number.String (20)
Phone
NoNone
CompanyTeleFaxCompany fax number.String (20)
TeleFax
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
CurrencyAmountAmount in transaction currency.Real
AmountCur
NoNone
CurrencyCodeCurrency code of the record.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
CurrencyCodeEuroCurrency code used for the euro figures.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
currencyCodeISO_CHISO currency code, used for Switzerland.String (3)
CurrencyCodeISO
NoISOCurrencyCode.ISCCurrencyCodeAlphaNone
CustAddress_CHFree-text customer address, used for Switzerland.String (255)
FreeText
NoNone
CustCollectionLetterJour_AccountNumCustomer account of the collection letter.String (20)
CustAccount
YesCustTable.AccountNumNone
CustCollectionLetterJour_FeeFee charged on the collection letter, in transaction currency.Real
AmountCur
NoNone
CustCollectionLetterJour_NotesNote text from the collection letter journal.String (-1)
Notes
NoNone
CustCollectionTaxAmountSales tax amount on the collection letter.Real
TaxAmountCur
NoNone
CustCollectionTrans_CurrencyCodeCurrency code of the transaction on the letter.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
CustCollectionTrans_DueDateDue date of the transaction on the letter.Date
DueDate
NoNone
CustCollectionTrans_InvoiceInvoice number of the transaction on the letter.String (50)
InvoiceId
NoNone
CustCollectionTrans_RemainAmountRemaining balance of the transaction on the letter.Real
AmountCur
NoNone
CustCollectionTrans_TransDateDate of the transaction on the letter.Date
TransDate
NoNone
CustCollectionTrans_TxtDescription text of the transaction on the letter.String (60)
TransTxt
NoNone
CustCollectnLetterJour_NPIBankPaymIdPayment ID of the collection letter.String (200)
PaymId
NoNone
CustName_CHCustomer name, used for Switzerland.String (60)
Name
NoNone
CustomerAddressCustomer address.String (250)
Addressing
NoNone
CustomerNameCustomer name.String (60)
Name
NoNone
CustVATNumCustomer tax exempt number.String (20)
VATNum
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateOfCreationDate on which the record was created.Date
SysDate
NoNone
Description_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
Enterpriseregister_NODescription of the enterprise register, used for Norway.String (60)
Description
NoNone
FeeAmountEuroFee amount for the euro figures.Real
AmountCur
NoNone
FeeInclTaxEuroFee amount including tax for the euro figures.Real
AmountCur
NoNone
FICreditorID_DKCreditor ID for the FI payment, used for Denmark.String (8)
FICreditorID_DK
NoNone
FlagPurpose not clear from the metadata.low confidenceInteger
Integer
NoNone
FormLetterRemarks_TxtNote text for the form letter.String (-1)
FormLetterTxt
NoNone
GiroTypeType of payment slip attached to the customer invoice, such as FIK, BBS or Finnish.Enum
PaymentStubInvoiceId
PaymentStub (enum)
NoNone
IBAN_CHIBAN bank account number, used for Switzerland.String (48)
BankIBAN
NoNone
InvoiceReferenceNumberCustomer invoice reference number, used for Finland.String (23)
SalesInvoiceReferenceNumber_FI
NoNone
InvoicingAddressInvoicing address.String (250)
LogisticsAddressing
NoNone
InvoicingNameInvoicing name of the customer.String (160)
CustName
NoNone
LanguageId_CHLanguage code, used for Switzerland.String (7)
LanguageId
NoNone
LayoutCode_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
OcrLine_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
OcrLine_FIPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
PagePage number.Integer
Integer
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentConditionDescription of the payment terms.String (60)
Description
NoNone
PaymentId2_PaymentId3_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
PaymentRef1_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
PaymentRef2_CHPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
PayReferenceYes/no option; its exact meaning is not given in the metadata.low confidenceEnum
NoYes (enum)
NoNone
PostingsUntilTemporary text value; its exact use is not stated in the metadata.low confidenceString (254)
TempStr
NoNone
PrintCodePrint code linked to sales tax.String
TaxWriteCode
NoNone
Enum
NoYes (enum)
NoNone
PrintTaxAmountsPurpose not clear from the metadata.low confidenceInteger
Integer
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
RemainAmountToBePaidRemaining amount still to be paid, in transaction currency.Real
AmountCur
NoNone
SessionIdSession ID that groups the rows of one print run.low confidenceInteger
Integer
NoNone
ShowCompanyVATNumYes/no option, apparently for showing the company tax number.Enum
NoYes (enum)
NoNone
ShowTotalsYes/no option, apparently for showing totals.Enum
NoYes (enum)
NoNone
ShowTotalsEuroYes/no option, apparently for showing totals in euro.Enum
NoYes (enum)
NoNone
ShowTotalsTaxBalancesYes/no option, apparently for showing tax balances in the totals.Enum
NoYes (enum)
NoNone
ShowTotalsTaxBalancesEuroYes/no option, apparently for showing tax balances in the euro totals.Enum
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxableBalanceTaxable balance in transaction currency.Real
TaxTaxableAmountCur
NoNone
TaxableBalanceEuroNontaxable balance for the euro figures, going by the label.low confidenceReal
TaxTaxFreeAmountCur
NoNone
TaxAmountSales tax amount in transaction currency.Real
TaxAmountCur
NoNone
TaxAmountEuroSales tax amount for the euro figures.Real
TaxAmountCur
NoNone
TaxAmountLabelPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
TaxAmountMSTSales tax amount in accounting currency.Real
TaxAmount
NoNone
TaxAmountMSTLabelPurpose not clear from the metadata.low confidenceString (60)
Str60
NoNone
TaxBaseAmountOriginal amount that tax is based on.Real
TaxBaseCur
NoNone
TaxBaseQtyQuantity used as a tax base.Real
TaxQty
NoNone
TaxCodeSales tax code.String
TaxCode
NoTaxTable.TaxCodeNone
TaxExemptDescriptionDescription of the tax exemption.String (60)
Description
NoNone
TaxExternalInvoiceId_CNExternal invoice number, used for China.String (50)
TaxExternalInvoiceId_CN
NoNone
TaxFreeBalanceNontaxable balance in transaction currency.Real
TaxTaxFreeAmountCur
NoNone
TaxFreeBalanceEuroTaxable balance for the euro figures, going by the label.low confidenceReal
TaxTaxableAmountCur
NoNone
TaxMultiInvoiceId_CNInvoice numbers when several invoices apply, used for China.String (250)
TaxMultiInvoiceId_CN
NoNone
TotalTotal amount in accounting currency.Real
AmountMST
NoNone

Relations (7)

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

  • Currency → Currency

    Join on CollectionLetterCurrencyCode = Currency.CurrencyCode

    Many CustCollectionJourTmp records → zero or one Currency record

  • Currency_CurrencyCode → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustCollectionJourTmp records → zero or one Currency record

  • Currency_CurrencyCodeEuro → Currency

    Join on CurrencyCodeEuro = Currency.CurrencyCode

    Many CustCollectionJourTmp records → zero or one Currency record

  • CustCollectionTrans_CurrencyCode → Currency

    Join on CustCollectionTrans_CurrencyCode = Currency.CurrencyCode

    Many CustCollectionJourTmp records → exactly one Currency record

  • CustTable → CustTable

    Join on CustCollectionLetterJour_AccountNum = CustTable.AccountNum

    Many CustCollectionJourTmp records → exactly one CustTable record

  • ISOCurrencyCode → ISOCurrencyCode

    Join on currencyCodeISO_CH = ISOCurrencyCode.ISCCurrencyCodeAlpha

    Many CustCollectionJourTmp records → zero or one ISOCurrencyCode record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many CustCollectionJourTmp records → zero or one TaxTable record

Get this data out

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

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

Email sales@drdynamics.co.uk