Table
LTMAddressStateDocType
Address state document type
Links a state to the document types that are valid for it. Each row is keyed by state document type, state and country or region. The document type comes from the fiscal register table.
- Table name
LTMAddressStateDocType- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LTMAddressStateIdx- Replacement key
LTMAddressStateIdx- Key fields
StateDocTypeId, StateId, CountryRegionId- Model
GlobalizationLTM
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
StateDocTypeIdCode of a state document type, taken from the fiscal register table. | String (15)LTMDocTypeId | Yes | LTMFiscalRegisterV2.DocTypeId | LTMAddressStateDocTypeEntity |
StateIdCode of the state that the document type applies to. | StringLogisticsAddressStateId | Yes | LogisticsAddressState.StateId | LTMAddressStateDocTypeEntity |
CountryRegionIdCode of the country or region that the state is in. | StringAddressCountryRegionId | Yes | LogisticsAddressCountryRegion.CountryRegionId | LTMAddressStateDocTypeEntity |
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)
LTMAddressStateIdxPrimary indexReplacement keyStateDocTypeId,StateId,CountryRegionIdUnique, alternate key.
Relations (3)
Each relation joins LTMAddressStateDocType to another table on the fields shown.
LTMAddressState→LogisticsAddressStateJoin on
StateId = LogisticsAddressState.StateId,CountryRegionId = LogisticsAddressState.CountryRegionIdExactly one LTMAddressStateDocType record → exactly one LogisticsAddressState record
LTMFiscalRegister→LTMFiscalRegisterV2Join on
StateDocTypeId = LTMFiscalRegisterV2.DocTypeIdExactly one LTMAddressStateDocType record → zero or one LTMFiscalRegisterV2 record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany LTMAddressStateDocType records → zero or one LogisticsAddressCountryRegion record
Get this data out
Tables are not exposed directly. These public entities read from LTMAddressStateDocType; use one of them in Power BI, Power Platform or a data management project.
LTMAddressStateDocTypeEntity· 3 fields from this table
Need help with LTMAddressStateDocType in a report, an integration or a migration? Talk to Dr Dynamics.