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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CollectionLetterCourseCollection letter sequence this line belongs to.String
CollectionLetterCourseId
YesCustCollectionLetterTable.CollectionLetterCourseNone
CollectionLetterCodeCollection letter level the line applies to.Enum
CustCollectionLetterCode (enum)
YesNone
CurrencyCodeCurrency the line applies to.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
BlockYes/no flag that blocks the line.Enum
Block
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FeeFee in the line's currency.Real
AmountCur
NoNone
LedgerDimensionPoints to the main account combination for the line.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
MinAmountMinimum overdue balance for the line.Real
AmountCur
NoNone
NotesFree-text note on the line.String (-1)
Notes
NoNone
NumOfDaysNumber of days that apply to the line.Integer
PositiveDays
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
ReferToCollectionAgency_WYes/no flag for referring the customer to a collection agency.Enum
ReferToCollectionAgency_W
NoYes (enum)
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
TaxItemGroupItem sales tax group for the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TxtDescription of the line.String (60)
Description
NoNone

Indexes (2)

Relations (4)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustCollectionLetterLine records → exactly one Currency record

  • CustCollectionLetterTable → CustCollectionLetterTable

    Join on CollectionLetterCourse = CustCollectionLetterTable.CollectionLetterCourse

    Many CustCollectionLetterLine records → exactly one CustCollectionLetterTable record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many CustCollectionLetterLine records → zero or one DimensionAttributeValueCombination record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many 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.

Email sales@drdynamics.co.uk