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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CountryRegionIdCountry or region that the state belongs to. | StringLogisticsAddressCountryRegionId | Yes | LogisticsAddressCountryRegion.CountryRegionId | IntrastatCodeEntity |
StateIdState or province, linked to the state table for the same country or region. | StringLogisticsAddressStateId | Yes | LogisticsAddressState.StateId | IntrastatCodeEntity |
CountryRegionTypeType of country or region, such as domestic, EU, EFTA, third country, special domestic or GCC. | EnumCountryRegionType (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
IntrastatCodeCode used for the state in Intrastat reporting. | StringIntrastatExternalCode | No | IntrastatCodeEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
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 |
Indexes (1)
LogisticsAddressStateIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins IntrastatStateParameters to another table on the fields shown.
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany IntrastatStateParameters records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressState→LogisticsAddressStateJoin on
StateId = LogisticsAddressState.StateId,CountryRegionId = LogisticsAddressState.CountryRegionIdZero 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.
IntrastatCodeEntity· 3 fields from this table
Need help with IntrastatStateParameters in a report, an integration or a migration? Talk to Dr Dynamics.