Table

IntrastatPort

Port

List of ports used in Intrastat, with a port code as the key and a description. It also holds optional country or region data for Hungary and a port state for Brazil.

Table name
IntrastatPort
Module
Intrastat
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
ForeignTrade
Primary index
PortIdx
Replacement key
None
Key fields
PortId
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PortIdCode that identifies the port.String
IntrastatPortId
YesIntrastatPortEntity
CountryRegionId_HUCountry or region of the port; used for Hungary.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdIntrastatPortEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the port.String (60)
Description
NoIntrastatPortEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PortState_BRState of the port; used for Brazil.String
PortState_BR
NoIntrastatPortEntity
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
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

Indexes (1)

  • PortIdxPrimary index

    PortId

    Unique, alternate key.

Relations (2)

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

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId_HU = LogisticsAddressCountryRegion.CountryRegionId

    Many IntrastatPort records → exactly one LogisticsAddressCountryRegion record

  • LogisticsAddressState → LogisticsAddressState

    Join on PortState_BR = LogisticsAddressState.StateId

    Many IntrastatPort records → zero or one LogisticsAddressState record

Get this data out

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

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

Email sales@drdynamics.co.uk