Table

InventProdComLineWithCode

Products on the PRODCOM list

Holds the products on a PRODCOM list for a period. Each line has a PRODCOM code, a commodity and a unit. It also has quantity and amount columns for production, third party deliveries and foreign vendors. The key combines period, PRODCOM code, commodity and branch number.

Table name
InventProdComLineWithCode
Module
Inventory
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
ForeignTrade
Primary index
RecId
Replacement key
KeyIdx
Key fields
InventProdComTable, ColumnA, IntrastatCommodity, BranchNumber
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InventProdComTablePRODCOM period the line belongs to. It points to a PRODCOM record.Int64
InventProdComPeriodRecId
YesInventProdComTable.RecIdNone
ColumnAPRODCOM code of the product. It relates to the Intrastat to PRODCOM conversion.String
InventProdComItemCodeId
YesProdComEntity
IntrastatCommodityCommodity of the product. It points to a category.Int64
IntrastatCommodityId
NoEcoResCategory.RecIdNone
BranchNumberBranch number for the line.String (13)
TaxBranchNumber
YesProdComEntity
ColumnBCommodity code held as text. The type name suggests it is an older field.low confidenceString
DEL_IntrastatItemCodeId
NoNone
ColumnCUnit of measure. It points to a unit.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolProdComEntity
ColumnDTotal production quantity.Real
InventProdComColumnField
NoProdComEntity
ColumnEReport column E. The meaning is not given in the metadata.low confidenceReal
InventProdComColumnField
NoProdComEntity
ColumnFQuantity delivered to third parties.Real
InventProdComColumnField
NoProdComEntity
ColumnGReport column G. The meaning is not given in the metadata.low confidenceReal
InventProdComColumnField
NoProdComEntity
ColumnHReport column H. The meaning is not given in the metadata.low confidenceReal
InventProdComColumnField
NoProdComEntity
ColumnIAmount for third party deliveries.Real
InventProdComColumnField
NoProdComEntity
ColumnJReport column J. The meaning is not given in the metadata.low confidenceReal
InventProdComColumnField
NoProdComEntity
ColumnKReport column K. The meaning is not given in the metadata.low confidenceReal
InventProdComColumnField
NoProdComEntity
ColumnLReport column L. The meaning is not given in the metadata.low confidenceReal
InventProdComColumnField
NoProdComEntity
ColumnMReport column M. The meaning is not given in the metadata.low confidenceReal
InventProdComColumnField
NoProdComEntity
ColumnNQuantity from foreign vendors.Real
InventProdComColumnField
NoProdComEntity
ColumnOAmount from foreign vendors.Real
InventProdComColumnField
NoProdComEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • IntrastatCommodity → EcoResCategory

    Join on IntrastatCommodity = EcoResCategory.RecId

    Zero or one InventProdComLineWithCode record → exactly one EcoResCategory record

  • IntrastatToProdcom → IntrastatToProdcom

    Join on ColumnA = IntrastatToProdcom.InventProdComCodeID

    Many InventProdComLineWithCode records → exactly one IntrastatToProdcom record

  • InventProdComTable → InventProdComTable

    Join on InventProdComTable = InventProdComTable.RecId

    Many InventProdComLineWithCode records → exactly one InventProdComTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on ColumnC = UnitOfMeasure.Symbol

    Many InventProdComLineWithCode records → zero or one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk