Table

CustCollectionLetterTrans

Collection letter transactions

Customer transactions listed on collection letters. Each record belongs to a letter in the collection letter journal and points to the original customer transaction and open transaction. It shows invoice, amounts, dates and voucher.

Table name
CustCollectionLetterTrans
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
CustCollectionLetter
Primary index
CollectIdx
Replacement key
None
Key fields
CollectionLetterNum, RecId
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CollectionLetterNumNumber of the collection letter in the journal.String (20)
CollectionLetterNum
YesCustCollectionLetterJour.CollectionLetterNumNone
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
AccountNumCustomer account of the letter.String (20)
CustAccount
NoCustTable.AccountNumNone
CalculationAmountAmount used for the calculation, in transaction currency.Real
AmountCur
NoNone
CollectionLetterCodeCollection letter level of the letter.Enum
CustCollectionLetterCode (enum)
NoNone
CollectionLetterIssuedYes/no flag showing whether a collection letter was issued.Enum
CollectionLetterIssued
NoYes (enum)
NoNone
CurrencyCodeCurrency of the transaction.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
CustTransIdPoints to the customer transaction.Int64
CustTransRefRecId
NoCustTrans.RecIdNone
CustTransOpenRecIdPoints to the open customer transaction.Int64
CustTransOpenRefRecId
NoCustTransOpen.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DueDateDue date of the transaction.Date
DueDate
NoNone
FeeYes/no flag for a fee.Enum
Fee
NoYes (enum)
NoNone
InvoiceInvoice number of the transaction.String (50)
InvoiceId
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
RemainAmountRemaining balance of the transaction.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
TransDateDate of the transaction.Date
TransDate
NoNone
TxtDescription of the transaction.String (60)
TransTxt
NoNone
VoucherVoucher number of the transaction.String (20)
Voucher
NoNone

Indexes (3)

Relations (6)

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

  • CollectionLetterNum → CustCollectionLetterJour

    Join on CollectionLetterNum = CustCollectionLetterJour.CollectionLetterNum

    One or more CustCollectionLetterTrans records → exactly one CustCollectionLetterJour record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustCollectionLetterTrans records → exactly one Currency record

  • CustCollectionLetterJour → CustCollectionLetterJour

    Join on AccountNum = CustCollectionLetterJour.AccountNum, CollectionLetterNum = CustCollectionLetterJour.CollectionLetterNum

    Many CustCollectionLetterTrans records → zero or one CustCollectionLetterJour record

  • CustTable → CustTable

    Join on AccountNum = CustTable.AccountNum

    Many CustCollectionLetterTrans records → zero or one CustTable record

  • CustTrans → CustTrans

    Join on CustTransId = CustTrans.RecId

    Many CustCollectionLetterTrans records → zero or one CustTrans record

  • CustTransOpen → CustTransOpen

    Join on CustTransOpenRecId = CustTransOpen.RecId

    Many CustCollectionLetterTrans records → zero or one CustTransOpen record

Get this data out

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

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

Email sales@drdynamics.co.uk