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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DocumentClassificationIdUnique code of the document class. | String (15)LTMDocumentClassificationId | Yes | LTMDocumentClassificationEntity | |
BankTransactionTypeBank transaction type linked to the class. Points to a bank transaction type record. | StringBankTransactionType | No | BankTransType.BankTransType | LTMDocumentClassificationEntity |
ConceptLabel1Caption for the first free text concept field. | String (255)String255 | No | LTMDocumentClassificationEntity | |
ConceptLabel2Caption for the second free text concept field. | String (255)String255 | No | LTMDocumentClassificationEntity | |
ConceptLabel3Caption for the third free text concept field. | String (255)String255 | No | LTMDocumentClassificationEntity | |
ControlCodeRequiredYes/no flag showing whether a control code is needed. | EnumNoYes (enum) | No | LTMDocumentClassificationEntity | |
ControlCodeTypeHow the control code is set: manually or automatically (the automatic option is named for Bolivia). | EnumLTMControlCodeType (enum) | No | LTMDocumentClassificationEntity | |
CopyDocumentNumChoice of where the voucher number is copied: none, document number, invoice, or document number and invoice. | EnumLTMCopyDocumentNum (enum) | No | LTMDocumentClassificationEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentClassificationLegalDescriptionLegal description of the document class. | String (30)String30 | No | LTMDocumentClassificationEntity | |
DocumentClassificationLetterIdLetter of the document class. Points to a document class letter record. | String (15)LTMDocumentClassificationLetterId | Yes | LTMDocumentClassificationLetter.Id | LTMDocumentClassificationEntity |
DocumentClassificationNameShort description of the document class. | String (30)LTMDocumentClassificationName | Yes | LTMDocumentClassificationEntity | |
DocumentClassificationPrefixPrefix used for the document class. | String (5)LTMDocumentClassificationPrefix | No | LTMDocumentClassificationEntity | |
DocumentClassificationTypeIdType of the document class. Points to a document class type record. | String (15)LTMDocumentClassificationTypeId | Yes | LTMDocumentClassificationType.DocumentClassificationTypeId | LTMDocumentClassificationEntity |
ForceCrossExchangeRateYes/no flag for forcing a cross exchange rate.low confidence | EnumNoYes (enum) | No | LTMDocumentClassificationEntity | |
InactiveYes/no flag showing that the class is not in use. | EnumNoYes (enum) | No | LTMDocumentClassificationEntity | |
IncludeTaxesYes/no flag showing that the voucher includes tax. | EnumNoYes (enum) | No | LTMDocumentClassificationEntity | |
Note1First free-form note. | String (-1)LTMNote | No | LTMDocumentClassificationEntity | |
Note2Second free-form note. | String (-1)LTMNote | No | LTMDocumentClassificationEntity | |
Note3Third free-form note. | String (-1)LTMNote | No | LTMDocumentClassificationEntity | |
NumLengthLength of the document class number. | IntegerInteger | No | LTMDocumentClassificationEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
POSEnabledYes/no flag that turns on the use of a sales point. | EnumNoYes (enum) | No | LTMDocumentClassificationEntity | |
POSLengthLength of the sales point part of the number. | IntegerInteger | No | LTMDocumentClassificationEntity | |
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 | |
ReportIdReport or service linked to the class. Points to a report reference record. | String (15)LTMReportId | No | LTMReport.ReportId | LTMDocumentClassificationEntity |
ReqCAEYes/no flag showing whether a CA number is required. | EnumNoYes (enum) | No | LTMDocumentClassificationEntity | |
SeparatorOne character that separates the parts of the document number. | String (1)LTMSeparator | No | LTMDocumentClassificationEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxpayerDetailYes/no choice for showing taxpayer details. | EnumLTMTaxpayerDetail (enum) | No | LTMDocumentClassificationEntity | |
UseInAllYes/no flag for adding the class to all records.low confidence | EnumNoYes (enum) | No | LTMDocumentClassificationEntity | |
UseReferencesYes/no flag for using a reference document. | EnumNoYes (enum) | No | None | |
VoucherOrigExchRateYes/no flag for using the source exchange rate on the voucher.low confidence | EnumNoYes (enum) | No | None | |
WithholdingCalculationYes/no flag for applying withholding calculation. | EnumNoYes (enum) | No | LTMDocumentClassificationEntity |
Indexes (1)
LTMDocumentClassificationNameIdxPrimary indexReplacement keyUnique, alternate key.
Relations (4)
Each relation joins LTMDocumentClassification to another table on the fields shown.
LTMSSRSReportReference→LTMReportJoin on
ReportId = LTMReport.ReportIdMany LTMDocumentClassification records → zero or one LTMReport record
LTMDocumentClassificationLetter→LTMDocumentClassificationLetterJoin on
DocumentClassificationLetterId = LTMDocumentClassificationLetter.IdMany LTMDocumentClassification records → zero or one LTMDocumentClassificationLetter record
LTMDocumentClassificationType→LTMDocumentClassificationTypeJoin on
DocumentClassificationTypeId = LTMDocumentClassificationType.DocumentClassificationTypeIdMany LTMDocumentClassification records → zero or one LTMDocumentClassificationType record
BankTransType→BankTransTypeJoin on
BankTransactionType = BankTransType.BankTransTypeMany 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.
LTMDocumentClassificationEntity· 28 fields from this table
Need help with LTMDocumentClassification in a report, an integration or a migration? Talk to Dr Dynamics.