Table

InventProdComLineDetail

PRODCOM details

Holds detail lines for PRODCOM statistics. Each line links a sales order and item to a PRODCOM period, with customer, quantity, price and unit. The key combines sales order, item, period, line number and branch number.

Table name
InventProdComLineDetail
Module
Inventory
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
ForeignTrade
Primary index
RecId
Replacement key
KeyIdx
Key fields
SalesId, ItemId, InventProdComTable, LineNum, BranchNumber
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesIdSales order number. It points to a sales order.String (20)
SalesIdBase
NoSalesTable.SalesIdProdComEntity
ItemIdItem number. It points to an item.String (20)
ItemIdSmall
NoInventTable.ItemIdProdComEntity
InventProdComTablePRODCOM period the line belongs to. It points to a PRODCOM record.Int64
InventProdComPeriodRecId
NoInventProdComTable.RecIdNone
LineNumLine number.Real
LineNum
NoProdComEntity
BranchNumberBranch number that the line belongs to. It relates to the PRODCOM product list.String (13)
TaxBranchNumber
NoNone
CreationWorkYes/No flag that shows whether the work was done for other enterprises.Enum
InventProdComCreationWork
NoYes (enum)
NoProdComEntity
CustAccountCustomer account for the line. It points to a customer.String (20)
CustAccount
NoCustTable.AccountNumProdComEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventProdComItemCodeIdPRODCOM code of the product. It relates to the Intrastat to PRODCOM conversion.String
InventProdComItemCodeId
YesNone
OtherDeliveryYes/No flag that shows whether the delivery went to a third party.Enum
InventProdComDelivery
NoYes (enum)
NoProdComEntity
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
SalesNameName linked to the sales order.String (60)
SalesName
NoProdComEntity
SalesPriceSales price of the item.Real
SalesPrice
NoProdComEntity
SalesQtyOrdered quantity.Real
SalesOrderedQty
NoProdComEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnitIdUnit of measure. It points to a unit.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolProdComEntity

Indexes (1)

Relations (7)

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

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many InventProdComLineDetail records → zero or one CustTable record

  • IntrastatToProdcom → IntrastatToProdcom

    Join on InventProdComItemCodeId = IntrastatToProdcom.InventProdComCodeID

    Many InventProdComLineDetail records → exactly one IntrastatToProdcom record

  • InventProdComLineWithCode → InventProdComLineWithCode

    Join on BranchNumber = InventProdComLineWithCode.BranchNumber, InventProdComItemCodeId = InventProdComLineWithCode.ColumnA, InventProdComTable = InventProdComLineWithCode.InventProdComTable

    Many InventProdComLineDetail records → exactly one InventProdComLineWithCode record

  • InventProdComTable → InventProdComTable

    Join on InventProdComTable = InventProdComTable.RecId

    Many InventProdComLineDetail records → zero or one InventProdComTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many InventProdComLineDetail records → zero or one InventTable record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many InventProdComLineDetail records → zero or one SalesTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitId = UnitOfMeasure.Symbol

    Many InventProdComLineDetail records → zero or one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk