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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CollectionLetterNumNumber of the collection letter in the journal. | String (20)CollectionLetterNum | Yes | CustCollectionLetterJour.CollectionLetterNum | 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 | |
AccountNumCustomer account of the letter. | String (20)CustAccount | No | CustTable.AccountNum | None |
CalculationAmountAmount used for the calculation, in transaction currency. | RealAmountCur | No | None | |
CollectionLetterCodeCollection letter level of the letter. | EnumCustCollectionLetterCode (enum) | No | None | |
CollectionLetterIssuedYes/no flag showing whether a collection letter was issued. | EnumCollectionLetterIssuedNoYes (enum) | No | None | |
CurrencyCodeCurrency of the transaction. | String (3)CustCurrencyCode | Yes | Currency.CurrencyCode | None |
CustTransIdPoints to the customer transaction. | Int64CustTransRefRecId | No | CustTrans.RecId | None |
CustTransOpenRecIdPoints to the open customer transaction. | Int64CustTransOpenRefRecId | No | CustTransOpen.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DueDateDue date of the transaction. | DateDueDate | No | None | |
FeeYes/no flag for a fee. | EnumFeeNoYes (enum) | No | None | |
InvoiceInvoice number of the transaction. | String (50)InvoiceId | 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 | |
RemainAmountRemaining balance of the transaction. | 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 | |
TransDateDate of the transaction. | DateTransDate | No | None | |
TxtDescription of the transaction. | String (60)TransTxt | No | None | |
VoucherVoucher number of the transaction. | String (20)Voucher | No | None |
Indexes (3)
RefIdxNot unique.
CollectIdxPrimary indexUnique.
TransOpenRefIdNot unique.
Relations (6)
Each relation joins CustCollectionLetterTrans to another table on the fields shown.
CollectionLetterNum→CustCollectionLetterJourJoin on
CollectionLetterNum = CustCollectionLetterJour.CollectionLetterNumOne or more CustCollectionLetterTrans records → exactly one CustCollectionLetterJour record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustCollectionLetterTrans records → exactly one Currency record
CustCollectionLetterJour→CustCollectionLetterJourJoin on
AccountNum = CustCollectionLetterJour.AccountNum,CollectionLetterNum = CustCollectionLetterJour.CollectionLetterNumMany CustCollectionLetterTrans records → zero or one CustCollectionLetterJour record
CustTable→CustTableJoin on
AccountNum = CustTable.AccountNumMany CustCollectionLetterTrans records → zero or one CustTable record
CustTrans→CustTransJoin on
CustTransId = CustTrans.RecIdMany CustCollectionLetterTrans records → zero or one CustTrans record
CustTransOpen→CustTransOpenJoin on
CustTransOpenRecId = CustTransOpen.RecIdMany 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.