Table

IntrastatStateParameters

Intrastat code

Links a state or province, within a country or region, to an Intrastat code. The key is the country or region plus the state. It also stores the country or region type, such as domestic or EU.

Table name
IntrastatStateParameters
Module
Intrastat
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
ForeignTrade
Primary index
None
Replacement key
LogisticsAddressStateIdx
Key fields
CountryRegionId, StateId
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CountryRegionIdCountry or region that the state belongs to.String
LogisticsAddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdIntrastatCodeEntity
StateIdState or province, linked to the state table for the same country or region.String
LogisticsAddressStateId
YesLogisticsAddressState.StateIdIntrastatCodeEntity
CountryRegionTypeType of country or region, such as domestic, EU, EFTA, third country, special domestic or GCC.Enum
CountryRegionType (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IntrastatCodeCode used for the state in Intrastat reporting.String
IntrastatExternalCode
NoIntrastatCodeEntity
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
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)

Relations (2)

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

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many IntrastatStateParameters records → exactly one LogisticsAddressCountryRegion record

  • LogisticsAddressState → LogisticsAddressState

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

    Zero or one IntrastatStateParameters record → exactly one LogisticsAddressState record

Get this data out

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

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

Email sales@drdynamics.co.uk