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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxPayerTypeIdTaxpayer type. Points to a taxpayer type record.String (15)
LTMTaxPayerTypeId
YesLTMTaxPayerType.TaxPayerTypeIdLTMTaxPayerDocTypeEntity
DocTypeIdDocument type allowed for the taxpayer type. Points to a fiscal register record.String (15)
LTMDocTypeId
YesLTMFiscalRegisterV2.DocTypeIdLTMTaxPayerDocTypeEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • LTMFiscalRegister → LTMFiscalRegisterV2

    Join on DocTypeId = LTMFiscalRegisterV2.DocTypeId

    Exactly one LTMTaxPayerDocType record → zero or one LTMFiscalRegisterV2 record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Exactly 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.

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

Email sales@drdynamics.co.uk