Table

LTMDocumentClassification

Document class

Defines document classes, which are categories of fiscal documents. Each class has a prefix, number length, letter, type and optional report. It also has settings for sales points, control codes, taxes and withholding. The key is DocumentClassificationId.

Table name
LTMDocumentClassification
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LTMDocumentClassificationNameIdx
Replacement key
LTMDocumentClassificationNameIdx
Key fields
DocumentClassificationId
Model
GlobalizationLTM

Fields (35)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentClassificationIdUnique code of the document class.String (15)
LTMDocumentClassificationId
YesLTMDocumentClassificationEntity
BankTransactionTypeBank transaction type linked to the class. Points to a bank transaction type record.String
BankTransactionType
NoBankTransType.BankTransTypeLTMDocumentClassificationEntity
ConceptLabel1Caption for the first free text concept field.String (255)
String255
NoLTMDocumentClassificationEntity
ConceptLabel2Caption for the second free text concept field.String (255)
String255
NoLTMDocumentClassificationEntity
ConceptLabel3Caption for the third free text concept field.String (255)
String255
NoLTMDocumentClassificationEntity
ControlCodeRequiredYes/no flag showing whether a control code is needed.Enum
NoYes (enum)
NoLTMDocumentClassificationEntity
ControlCodeTypeHow the control code is set: manually or automatically (the automatic option is named for Bolivia).Enum
LTMControlCodeType (enum)
NoLTMDocumentClassificationEntity
CopyDocumentNumChoice of where the voucher number is copied: none, document number, invoice, or document number and invoice.Enum
LTMCopyDocumentNum (enum)
NoLTMDocumentClassificationEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentClassificationLegalDescriptionLegal description of the document class.String (30)
String30
NoLTMDocumentClassificationEntity
DocumentClassificationLetterIdLetter of the document class. Points to a document class letter record.String (15)
LTMDocumentClassificationLetterId
YesLTMDocumentClassificationLetter.IdLTMDocumentClassificationEntity
DocumentClassificationNameShort description of the document class.String (30)
LTMDocumentClassificationName
YesLTMDocumentClassificationEntity
DocumentClassificationPrefixPrefix used for the document class.String (5)
LTMDocumentClassificationPrefix
NoLTMDocumentClassificationEntity
DocumentClassificationTypeIdType of the document class. Points to a document class type record.String (15)
LTMDocumentClassificationTypeId
YesLTMDocumentClassificationType.DocumentClassificationTypeIdLTMDocumentClassificationEntity
ForceCrossExchangeRateYes/no flag for forcing a cross exchange rate.low confidenceEnum
NoYes (enum)
NoLTMDocumentClassificationEntity
InactiveYes/no flag showing that the class is not in use.Enum
NoYes (enum)
NoLTMDocumentClassificationEntity
IncludeTaxesYes/no flag showing that the voucher includes tax.Enum
NoYes (enum)
NoLTMDocumentClassificationEntity
Note1First free-form note.String (-1)
LTMNote
NoLTMDocumentClassificationEntity
Note2Second free-form note.String (-1)
LTMNote
NoLTMDocumentClassificationEntity
Note3Third free-form note.String (-1)
LTMNote
NoLTMDocumentClassificationEntity
NumLengthLength of the document class number.Integer
Integer
NoLTMDocumentClassificationEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
POSEnabledYes/no flag that turns on the use of a sales point.Enum
NoYes (enum)
NoLTMDocumentClassificationEntity
POSLengthLength of the sales point part of the number.Integer
Integer
NoLTMDocumentClassificationEntity
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
ReportIdReport or service linked to the class. Points to a report reference record.String (15)
LTMReportId
NoLTMReport.ReportIdLTMDocumentClassificationEntity
ReqCAEYes/no flag showing whether a CA number is required.Enum
NoYes (enum)
NoLTMDocumentClassificationEntity
SeparatorOne character that separates the parts of the document number.String (1)
LTMSeparator
NoLTMDocumentClassificationEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxpayerDetailYes/no choice for showing taxpayer details.Enum
LTMTaxpayerDetail (enum)
NoLTMDocumentClassificationEntity
UseInAllYes/no flag for adding the class to all records.low confidenceEnum
NoYes (enum)
NoLTMDocumentClassificationEntity
UseReferencesYes/no flag for using a reference document.Enum
NoYes (enum)
NoNone
VoucherOrigExchRateYes/no flag for using the source exchange rate on the voucher.low confidenceEnum
NoYes (enum)
NoNone
WithholdingCalculationYes/no flag for applying withholding calculation.Enum
NoYes (enum)
NoLTMDocumentClassificationEntity

Indexes (1)

Relations (4)

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

  • LTMSSRSReportReference → LTMReport

    Join on ReportId = LTMReport.ReportId

    Many LTMDocumentClassification records → zero or one LTMReport record

  • LTMDocumentClassificationLetter → LTMDocumentClassificationLetter

    Join on DocumentClassificationLetterId = LTMDocumentClassificationLetter.Id

    Many LTMDocumentClassification records → zero or one LTMDocumentClassificationLetter record

  • LTMDocumentClassificationType → LTMDocumentClassificationType

    Join on DocumentClassificationTypeId = LTMDocumentClassificationType.DocumentClassificationTypeId

    Many LTMDocumentClassification records → zero or one LTMDocumentClassificationType record

  • BankTransType → BankTransType

    Join on BankTransactionType = BankTransType.BankTransType

    Many LTMDocumentClassification records → zero or one BankTransType record

Get this data out

Tables are not exposed directly. These public entities read from LTMDocumentClassification; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk