Table

LogisticsAddressZipCode

ZIP/postal codes

Holds ZIP or postal codes and the places they cover. A record can link to a city, district, county, state and country or region. It can also limit a code to a street and a range of street numbers, all, even or odd. It has no defined key.

Table name
LogisticsAddressZipCode
Module
Global address book
Table group
Group
Table type
Regular
Data per company
No
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Directory

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CityName of the city for the postal code.String (60)
LogisticsAddressCityName
NoLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
CityAliasShort search name for the city.String (30)
LogisticsAddressCityAlias
NoLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
CityRecIdPoints to the city record.Int64
LogisticsAddressCityRecId
NoLogisticsAddressCity.RecIdLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 1 more
CountryRegionIdCountry or region of the postal code.String
LogisticsAddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 3 more
CountyCounty of the postal code.String (30)
LogisticsAddressCountyId
NoLogisticsAddressCounty.CountyIdLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
DistrictPoints to the district record.Int64
LogisticsAddressDistrictRecId
NoLogisticsAddressDistrict.RecIdLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
DistrictNameName of the district.String (60)
LogisticsAddressDistrictName
NoLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
EvenOddTells whether the code covers all, even or odd street numbers.Enum
AllEvenOdd (enum)
NoLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
FromNumFirst street number in the range.Integer
StreetNum
NoLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
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
NoTrvAddressZipcodeEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StateState of the postal code.String
LogisticsAddressStateId
NoLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
StreetNameName of the street the code applies to.String (250)
LogisticsZipCodeStreet
NoLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
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 postal code area.Enum
Timezone (enum)
NoLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
ToNumLast street number in the range.Integer
StreetNum
NoLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 2 more
ZipCodeThe ZIP or postal code.String
LogisticsAddressZipCodeId
YesLogisticsAddressPostalCodeV3EntityLogisticsAddressPostalCodeV2EntityLogisticsAddressPostalCodeEntityand 11 more

Indexes (4)

Relations (7)

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

  • City → LogisticsAddressCity

    Join on CityRecId = LogisticsAddressCity.RecId

    Many LogisticsAddressZipCode records → zero or one LogisticsAddressCity record

  • Country → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many LogisticsAddressZipCode records → exactly one LogisticsAddressCountryRegion record

  • County → LogisticsAddressCounty

    Join on CountryRegionId = LogisticsAddressCounty.CountryRegionId, State = LogisticsAddressCounty.StateId, County = LogisticsAddressCounty.CountyId

    Many LogisticsAddressZipCode records → zero or one LogisticsAddressCounty record

  • District → LogisticsAddressDistrict

    Join on District = LogisticsAddressDistrict.RecId

    Many LogisticsAddressZipCode records → zero or one LogisticsAddressDistrict record

  • DistrictName → LogisticsAddressDistrict

    Join on District = LogisticsAddressDistrict.RecId, DistrictName = LogisticsAddressDistrict.Name

    Cardinality not set in the metadata.

  • State → LogisticsAddressState

    Join on CountryRegionId = LogisticsAddressState.CountryRegionId, State = LogisticsAddressState.StateId

    Many LogisticsAddressZipCode records → zero or one LogisticsAddressState record

  • CityName → LogisticsAddressCity

    Join on City = LogisticsAddressCity.Name

    Cardinality not set in the metadata.

Get this data out

Tables are not exposed directly. These public entities read from LogisticsAddressZipCode; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk