Table
LogisticsAddressState
States
Holds states or provinces within a country or region. The key is the country/region plus the state ID. It has an Intrastat code, a time zone and a default-state flag. It also has country-specific codes for Italy, Brazil, India and Russia.
- Table name
LogisticsAddressState- Module
Global address book- Table group
Group- Table type
Regular- Data per company
No- Configuration key
None- Primary index
CountryRegionStateIdx- Replacement key
CountryRegionStateIdx- Key fields
CountryRegionId, StateId- Model
Directory
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CountryRegionIdCountry or region the state belongs to. | StringLogisticsAddressCountryRegionId | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsAddressStateEntityVRMLogisticsAddressStateEntityPayrollEmployerTaxRegionEntityand 1 more |
StateIdIdentifier of the state. | StringLogisticsAddressStateId | Yes | LogisticsAddressStateEntityVRMLogisticsAddressStateEntityEFDocAuthorityStateEntityand 2 more | |
DefaultStateForCountryRegionYes/no flag marking the state as the default for its country or region. | EnumLogisticsAddressDefaultStateNoYes (enum) | No | LogisticsAddressStateEntity | |
GNISLocationGNIS code of the state. | String (20)GNIS | No | None | |
IBGECode_BRIBGE code of the state, used for Brazil. | String (2)StateIBGECode_BR | No | LogisticsAddressStateEntity | |
IntrastatCodeIntrastat code of the state. | StringIntrastatExternalCode | No | LogisticsAddressStateEntity | |
NameName of the state. | String (60)LogisticsAddressStatename | No | LogisticsAddressStateEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
Properties_RUPoints to the address property record, used for Russia. | Int64LogisticsAddressPropertiesId_RU | No | LogisticsAddressProperties_RU.RecId | 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 | |
StateCode_INTwo-character state code from the 2011 census, used for India. | String (2)StateCode_IN | No | None | |
StateCode_ITState code, used for Italy. | String (2)AddressStateCode_IT | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TimeZoneTime zone of the state. | EnumTimezone (enum) | No | LogisticsAddressStateEntity | |
UnionTerritory_INYes/no flag showing a union territory, used for India. | EnumNoYesIdNoYes (enum) | No | None |
Indexes (2)
CountryRegionStateIdxPrimary indexReplacement keyUnique, alternate key.
CountryRegionDefaultStateIdxCountryRegionId,DefaultStateForCountryRegionNot unique.
Relations (2)
Each relation joins LogisticsAddressState to another table on the fields shown.
Properties_RU_FK→LogisticsAddressProperties_RUJoin on
Properties_RU = LogisticsAddressProperties_RU.RecIdMany LogisticsAddressState records → zero or one LogisticsAddressProperties_RU record
State→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany LogisticsAddressState records → exactly one LogisticsAddressCountryRegion record
Get this data out
Tables are not exposed directly. These public entities read from LogisticsAddressState; use one of them in Power BI, Power Platform or a data management project.
LogisticsAddressStateEntity· 7 fields from this tableVRMLogisticsAddressStateEntity· 2 fields from this tableEFDocAuthorityStateEntity· 1 field from this tablePayrollEmployerTaxRegionEntity· 2 fields from this tablePayrollWorkerGarnishmentRuleEntity· 0 fields from this tableStateHolidayEntity· 2 fields from this table
Need help with LogisticsAddressState in a report, an integration or a migration? Talk to Dr Dynamics.