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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CountryRegionIdCountry or region the state belongs to.String
LogisticsAddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdLogisticsAddressStateEntityVRMLogisticsAddressStateEntityPayrollEmployerTaxRegionEntityand 1 more
StateIdIdentifier of the state.String
LogisticsAddressStateId
YesLogisticsAddressStateEntityVRMLogisticsAddressStateEntityEFDocAuthorityStateEntityand 2 more
DefaultStateForCountryRegionYes/no flag marking the state as the default for its country or region.Enum
LogisticsAddressDefaultState
NoYes (enum)
NoLogisticsAddressStateEntity
GNISLocationGNIS code of the state.String (20)
GNIS
NoNone
IBGECode_BRIBGE code of the state, used for Brazil.String (2)
StateIBGECode_BR
NoLogisticsAddressStateEntity
IntrastatCodeIntrastat code of the state.String
IntrastatExternalCode
NoLogisticsAddressStateEntity
NameName of the state.String (60)
LogisticsAddressStatename
NoLogisticsAddressStateEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
Properties_RUPoints to the address property record, used for Russia.Int64
LogisticsAddressPropertiesId_RU
NoLogisticsAddressProperties_RU.RecIdNone
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
StateCode_INTwo-character state code from the 2011 census, used for India.String (2)
StateCode_IN
NoNone
StateCode_ITState code, used for Italy.String (2)
AddressStateCode_IT
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TimeZoneTime zone of the state.Enum
Timezone (enum)
NoLogisticsAddressStateEntity
UnionTerritory_INYes/no flag showing a union territory, used for India.Enum
NoYesId
NoYes (enum)
NoNone

Indexes (2)

Relations (2)

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

  • Properties_RU_FK → LogisticsAddressProperties_RU

    Join on Properties_RU = LogisticsAddressProperties_RU.RecId

    Many LogisticsAddressState records → zero or one LogisticsAddressProperties_RU record

  • State → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

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

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

Email sales@drdynamics.co.uk