Table

CustCollectionLetterJour

Collection letter journal

Journal of collection letters sent to customers. It is keyed by collection letter number and customer account. Each record holds the letter level, dates, fee, tax, language, status and print or send flags. It links to the customer, currency, posting profile, payment terms and address.

Table name
CustCollectionLetterJour
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
CustCollectionLetter
Primary index
AccountCollectIdx
Replacement key
AccountCollectIdx
Key fields
CollectionLetterNum, AccountNum
Model
Foundation

Fields (44)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CollectionLetterNumNumber of the collection letter.String (20)
CollectionLetterNum
YesNone
AccountNumCustomer account the letter is for.String (20)
CustAccount
YesCustTable.AccountNumNone
ApplyCollectionAgencyTaxRate_WYes/no flag for applying the collection agency tax rate.Enum
ApplyCollectionAgencyTaxRate_W
NoYes (enum)
NoNone
BlockYes/no flag that blocks the record.Enum
Block
NoYes (enum)
NoNone
CanceledDate on which the letter was cancelled.Date
TransDate
NoNone
CollectionAgencyTaxRate_WTax rate of the collection agency.Real
CustCollectionAgencyTaxRate_W
NoNone
CollectionLetterCodeCollection letter level, such as letter 1 to 4 or collection.Enum
CustCollectionLetterCode (enum)
NoNone
CollectionLetterDateDate of the collection letter.Date
TransDate
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency of the collection letter.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
CustBillingClassificationPoints to the billing classification.Int64
RefRecId
NoCustBillingClassification.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the financial dimension set.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
DueDateDue date shown on the letter.Date
DueDate
NoNone
FeeFee charged on the letter, in transaction currency.Real
AmountCur
NoNone
FinTagPoints to the financial tag attached to the record.Int64
FinTagRecId
NoFinTag.RecIdNone
GiroTypeType of payment slip attached to the collection letter.Enum
PaymentStubCollectionId
PaymentStub (enum)
NoNone
JournalPrintedYes/no flag showing whether the letter has been printed.Enum
NoYes (enum)
NoNone
LanguageIdLanguage of the letter.String (7)
CustLanguageId
YesLanguageTable.LanguageIdNone
LedgerVoucherVoucher number linked to the letter.String (20)
Voucher
NoNone
NameCustomer name on the letter.String (60)
Name
NoNone
NotesFree-text note on the letter.String (-1)
Notes
NoNone
NumberSequenceGroupNumber sequence group used for the letter.String
NumberSequenceGroupId
NoNone
NumberSequenceTablePoints to the number sequence used for the letter.Int64
RefRecId
NoNumberSequenceTable.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymIdPayment ID for the letter.String (200)
PaymId
NoNone
PaymTermIdPayment terms code.String (100)
PaymTermId
NoPaymTerm.PaymTermIdNone
PostalAddressPoints to the postal address used on the letter.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
PostingProfileCustomer posting profile.String
CustPostingProfile
NoCustLedger.PostingProfileNone
PrintDateDate on which the letter was printed.Date
TransDate
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
SentElectronicallyYes/no flag showing whether the letter was sent electronically.Enum
NoYesId
NoYes (enum)
NoNone
SentElectronically_NOYes/no flag for electronic sending, used for Norway.Enum
NoYesId
NoYes (enum)
NoNone
StatusStatus of the letter: created, posted or cancelled.Enum
PrintPostCancel (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
TaxAmountSales tax amount on the letter.Real
TaxAmount
NoNone
TaxGroupSales tax group.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TaxWriteCodePrint code linked to sales tax.String
TaxWriteCode
NoNone
UpdatedDate on which the record was updated.Date
TransDate
NoNone

Indexes (6)

Relations (13)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustCollectionLetterJour records → zero or one Currency record

  • CustBillingClassification → CustBillingClassification

    Join on CustBillingClassification = CustBillingClassification.RecId

    Many CustCollectionLetterJour records → zero or one CustBillingClassification record

  • CustLedger → CustLedger

    Join on PostingProfile = CustLedger.PostingProfile

    Many CustCollectionLetterJour records → zero or one CustLedger record

  • CustTable → CustTable

    Join on AccountNum = CustTable.AccountNum

    Many CustCollectionLetterJour records → exactly one CustTable record

  • CustTransOpen → CustTransOpen

    Join on AccountNum = CustTransOpen.AccountNum, CollectionLetterCode = CustTransOpen.CollectionLetterCode

    Many CustCollectionLetterJour records → exactly one CustTransOpen record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CustCollectionLetterJour records → zero or one DimensionAttributeValueSet record

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many CustCollectionLetterJour records → exactly one LanguageTable record

  • NumberSequenceTable → NumberSequenceTable

    Join on NumberSequenceTable = NumberSequenceTable.RecId

    Many CustCollectionLetterJour records → zero or one NumberSequenceTable record

  • PaymTerm_PaymTermId → PaymTerm

    Join on PaymTermId = PaymTerm.PaymTermId

    Many CustCollectionLetterJour records → zero or one PaymTerm record

  • PostalAddress_FK → LogisticsPostalAddress

    Join on PostalAddress = LogisticsPostalAddress.RecId

    Many CustCollectionLetterJour records → zero or one LogisticsPostalAddress record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many CustCollectionLetterJour records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many CustCollectionLetterJour records → zero or one TaxItemGroupHeading record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many CustCollectionLetterJour records → zero or one FinTag record

Get this data out

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

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

Email sales@drdynamics.co.uk