Table
LTMTaxPayerDocType
Taxpayer document type
Defines which document types are allowed for each taxpayer type. Each row is keyed by taxpayer type and document type. It links to the taxpayer type table and the fiscal register table.
- Table name
LTMTaxPayerDocType- Module
Cross-module and platform- Table group
Reference- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LTMTaxPayerType- Replacement key
LTMTaxPayerType- Key fields
TaxPayerTypeId, DocTypeId- Model
GlobalizationLTM
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxPayerTypeIdTaxpayer type. Points to a taxpayer type record. | String (15)LTMTaxPayerTypeId | Yes | LTMTaxPayerType.TaxPayerTypeId | LTMTaxPayerDocTypeEntity |
DocTypeIdDocument type allowed for the taxpayer type. Points to a fiscal register record. | String (15)LTMDocTypeId | Yes | LTMFiscalRegisterV2.DocTypeId | LTMTaxPayerDocTypeEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LTMTaxPayerTypePrimary indexReplacement keyUnique, alternate key.
Relations (2)
Each relation joins LTMTaxPayerDocType to another table on the fields shown.
LTMFiscalRegister→LTMFiscalRegisterV2Join on
DocTypeId = LTMFiscalRegisterV2.DocTypeIdExactly one LTMTaxPayerDocType record → zero or one LTMFiscalRegisterV2 record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdExactly one LTMTaxPayerDocType record → zero or one LTMTaxPayerType record
Get this data out
Tables are not exposed directly. These public entities read from LTMTaxPayerDocType; use one of them in Power BI, Power Platform or a data management project.
LTMTaxPayerDocTypeEntity· 2 fields from this table
Need help with LTMTaxPayerDocType in a report, an integration or a migration? Talk to Dr Dynamics.