Table
CustCollectionLetterLine
Collection letter lines
Setup lines for collection letter sequences. Each line is keyed by sequence, letter level and currency. It sets the days overdue, minimum balance, fee and item sales tax group. It links to the collection letter setup, currency and a main account.
- Table name
CustCollectionLetterLine- Module
Accounts receivable- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
CustCollectionLetter- Primary index
CourseCodeCurIdx- Replacement key
None- Key fields
CollectionLetterCourse, CollectionLetterCode, CurrencyCode- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CollectionLetterCourseCollection letter sequence this line belongs to. | StringCollectionLetterCourseId | Yes | CustCollectionLetterTable.CollectionLetterCourse | None |
CollectionLetterCodeCollection letter level the line applies to. | EnumCustCollectionLetterCode (enum) | Yes | None | |
CurrencyCodeCurrency the line applies to. | String (3)CustCurrencyCode | Yes | Currency.CurrencyCode | None |
BlockYes/no flag that blocks the line. | EnumBlockNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FeeFee in the line's currency. | RealAmountCur | No | None | |
LedgerDimensionPoints to the main account combination for the line. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
MinAmountMinimum overdue balance for the line. | RealAmountCur | No | None | |
NotesFree-text note on the line. | String (-1)Notes | No | None | |
NumOfDaysNumber of days that apply to the line. | IntegerPositiveDays | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReferToCollectionAgency_WYes/no flag for referring the customer to a collection agency. | EnumReferToCollectionAgency_WNoYes (enum) | 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 | |
TaxItemGroupItem sales tax group for the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
TxtDescription of the line. | String (60)Description | No | None |
Indexes (2)
CourseCodeCurIdxPrimary indexCollectionLetterCourse,CollectionLetterCode,CurrencyCodeUnique, alternate key.
FK_DimensionAttributeValueCombination_CuNot unique.
Relations (4)
Each relation joins CustCollectionLetterLine to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustCollectionLetterLine records → exactly one Currency record
CustCollectionLetterTable→CustCollectionLetterTableJoin on
CollectionLetterCourse = CustCollectionLetterTable.CollectionLetterCourseMany CustCollectionLetterLine records → exactly one CustCollectionLetterTable record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany CustCollectionLetterLine records → zero or one DimensionAttributeValueCombination record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany CustCollectionLetterLine records → zero or one TaxItemGroupHeading record
Get this data out
No public entity reads from CustCollectionLetterLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustCollectionLetterLine in a report, an integration or a migration? Talk to Dr Dynamics.