Table
IntrastatToProdcom
Intrastat to PRODCOM conversion
Maps an Intrastat commodity to a PRODCOM code for a range of years. The key is the commodity with the first and last valid year. It also stores a unit and a variable.
- Table name
IntrastatToProdcom- Module
Intrastat- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
ForeignTrade- Primary index
RecId- Replacement key
KeyIdx- Key fields
IntrastatCommodity, ValidFromYear, ValidTillYear- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
IntrastatCommodityIntrastat commodity, pointing to a category record. | Int64IntrastatCommodityId | Yes | EcoResCategory.RecId | None |
ValidFromYearFirst year in which the mapping is valid. | IntegerYr | Yes | IntrastatToProdComEntity | |
ValidTillYearLast year in which the mapping is valid. | IntegerYr | Yes | IntrastatToProdComEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
IntrastatItemCodeIDCommodity code as text. The EDT name suggests it is obsolete.low confidence | StringDEL_IntrastatItemCodeId | No | None | |
InventProdComCodeIDPRODCOM code linked to the commodity. | StringInventProdComItemCodeId | Yes | IntrastatToProdComEntity | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitUnit of measure, linked to the unit table. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | IntrastatToProdComEntity |
VariableOne-character PRODCOM variable. | String (1)InventProdComVariable | No | IntrastatToProdComEntity |
Indexes (2)
InventProdComItemCodeIdIdxNot unique.
KeyIdxReplacement keyIntrastatCommodity,ValidFromYear,ValidTillYearUnique, alternate key.
Relations (2)
Each relation joins IntrastatToProdcom to another table on the fields shown.
IntrastatCommodity→EcoResCategoryJoin on
IntrastatCommodity = EcoResCategory.RecIdMany IntrastatToProdcom records → exactly one EcoResCategory record
UnitOfMeasure→UnitOfMeasureJoin on
Unit = UnitOfMeasure.SymbolMany IntrastatToProdcom records → zero or one UnitOfMeasure record
Get this data out
Tables are not exposed directly. These public entities read from IntrastatToProdcom; use one of them in Power BI, Power Platform or a data management project.
IntrastatToProdComEntity· 5 fields from this table
Need help with IntrastatToProdcom in a report, an integration or a migration? Talk to Dr Dynamics.