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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CollectionLetterNumNumber of the collection letter. | String (20)CollectionLetterNum | Yes | None | |
AccountNumCustomer account the letter is for. | String (20)CustAccount | Yes | CustTable.AccountNum | None |
ApplyCollectionAgencyTaxRate_WYes/no flag for applying the collection agency tax rate. | EnumApplyCollectionAgencyTaxRate_WNoYes (enum) | No | None | |
BlockYes/no flag that blocks the record. | EnumBlockNoYes (enum) | No | None | |
CanceledDate on which the letter was cancelled. | DateTransDate | No | None | |
CollectionAgencyTaxRate_WTax rate of the collection agency. | RealCustCollectionAgencyTaxRate_W | No | None | |
CollectionLetterCodeCollection letter level, such as letter 1 to 4 or collection. | EnumCustCollectionLetterCode (enum) | No | None | |
CollectionLetterDateDate of the collection letter. | DateTransDate | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency of the collection letter. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | None |
CustBillingClassificationPoints to the billing classification. | Int64RefRecId | No | CustBillingClassification.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the financial dimension set. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DueDateDue date shown on the letter. | DateDueDate | No | None | |
FeeFee charged on the letter, in transaction currency. | RealAmountCur | No | None | |
FinTagPoints to the financial tag attached to the record. | Int64FinTagRecId | No | FinTag.RecId | None |
GiroTypeType of payment slip attached to the collection letter. | EnumPaymentStubCollectionIdPaymentStub (enum) | No | None | |
JournalPrintedYes/no flag showing whether the letter has been printed. | EnumNoYes (enum) | No | None | |
LanguageIdLanguage of the letter. | String (7)CustLanguageId | Yes | LanguageTable.LanguageId | None |
LedgerVoucherVoucher number linked to the letter. | String (20)Voucher | No | None | |
NameCustomer name on the letter. | String (60)Name | No | None | |
NotesFree-text note on the letter. | String (-1)Notes | No | None | |
NumberSequenceGroupNumber sequence group used for the letter. | StringNumberSequenceGroupId | No | None | |
NumberSequenceTablePoints to the number sequence used for the letter. | Int64RefRecId | No | NumberSequenceTable.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymIdPayment ID for the letter. | String (200)PaymId | No | None | |
PaymTermIdPayment terms code. | String (100)PaymTermId | No | PaymTerm.PaymTermId | None |
PostalAddressPoints to the postal address used on the letter. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
PostingProfileCustomer posting profile. | StringCustPostingProfile | No | CustLedger.PostingProfile | None |
PrintDateDate on which the letter was printed. | DateTransDate | 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 | |
SentElectronicallyYes/no flag showing whether the letter was sent electronically. | EnumNoYesIdNoYes (enum) | No | None | |
SentElectronically_NOYes/no flag for electronic sending, used for Norway. | EnumNoYesIdNoYes (enum) | No | None | |
StatusStatus of the letter: created, posted or cancelled. | EnumPrintPostCancel (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 | |
TaxAmountSales tax amount on the letter. | RealTaxAmount | No | None | |
TaxGroupSales tax group. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupItem sales tax group. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
TaxWriteCodePrint code linked to sales tax. | StringTaxWriteCode | No | None | |
UpdatedDate on which the record was updated. | DateTransDate | No | None |
Indexes (6)
FK_DimensionAttributeValueSet_CustCollecNot unique.
AccountCollectIdxPrimary indexReplacement keyCollectionLetterNum,AccountNumUnique, alternate key.
AccountNumIdxNot unique.
PaymIdIdxNot unique.
CustBillingClassificationIdxNot unique.
PostalAddressIdxNot unique.
Relations (13)
Each relation joins CustCollectionLetterJour to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustCollectionLetterJour records → zero or one Currency record
CustBillingClassification→CustBillingClassificationJoin on
CustBillingClassification = CustBillingClassification.RecIdMany CustCollectionLetterJour records → zero or one CustBillingClassification record
CustLedger→CustLedgerJoin on
PostingProfile = CustLedger.PostingProfileMany CustCollectionLetterJour records → zero or one CustLedger record
CustTable→CustTableJoin on
AccountNum = CustTable.AccountNumMany CustCollectionLetterJour records → exactly one CustTable record
CustTransOpen→CustTransOpenJoin on
AccountNum = CustTransOpen.AccountNum,CollectionLetterCode = CustTransOpen.CollectionLetterCodeMany CustCollectionLetterJour records → exactly one CustTransOpen record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustCollectionLetterJour records → zero or one DimensionAttributeValueSet record
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1Many CustCollectionLetterJour records → exactly one LanguageTable record
NumberSequenceTable→NumberSequenceTableJoin on
NumberSequenceTable = NumberSequenceTable.RecIdMany CustCollectionLetterJour records → zero or one NumberSequenceTable record
PaymTerm_PaymTermId→PaymTermJoin on
PaymTermId = PaymTerm.PaymTermIdMany CustCollectionLetterJour records → zero or one PaymTerm record
PostalAddress_FK→LogisticsPostalAddressJoin on
PostalAddress = LogisticsPostalAddress.RecIdMany CustCollectionLetterJour records → zero or one LogisticsPostalAddress record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany CustCollectionLetterJour records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany CustCollectionLetterJour records → zero or one TaxItemGroupHeading record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany 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.