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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesIdSales order number. It points to a sales order. | String (20)SalesIdBase | No | SalesTable.SalesId | ProdComEntity |
ItemIdItem number. It points to an item. | String (20)ItemIdSmall | No | InventTable.ItemId | ProdComEntity |
InventProdComTablePRODCOM period the line belongs to. It points to a PRODCOM record. | Int64InventProdComPeriodRecId | No | InventProdComTable.RecId | None |
LineNumLine number. | RealLineNum | No | ProdComEntity | |
BranchNumberBranch number that the line belongs to. It relates to the PRODCOM product list. | String (13)TaxBranchNumber | No | None | |
CreationWorkYes/No flag that shows whether the work was done for other enterprises. | EnumInventProdComCreationWorkNoYes (enum) | No | ProdComEntity | |
CustAccountCustomer account for the line. It points to a customer. | String (20)CustAccount | No | CustTable.AccountNum | ProdComEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventProdComItemCodeIdPRODCOM code of the product. It relates to the Intrastat to PRODCOM conversion. | StringInventProdComItemCodeId | Yes | None | |
OtherDeliveryYes/No flag that shows whether the delivery went to a third party. | EnumInventProdComDeliveryNoYes (enum) | No | ProdComEntity | |
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 | |
SalesNameName linked to the sales order. | String (60)SalesName | No | ProdComEntity | |
SalesPriceSales price of the item. | RealSalesPrice | No | ProdComEntity | |
SalesQtyOrdered quantity. | RealSalesOrderedQty | No | ProdComEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitIdUnit of measure. It points to a unit. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | ProdComEntity |
Indexes (1)
KeyIdxReplacement keySalesId,ItemId,InventProdComTable,LineNum,BranchNumberUnique, alternate key.
Relations (7)
Each relation joins InventProdComLineDetail to another table on the fields shown.
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany InventProdComLineDetail records → zero or one CustTable record
IntrastatToProdcom→IntrastatToProdcomJoin on
InventProdComItemCodeId = IntrastatToProdcom.InventProdComCodeIDMany InventProdComLineDetail records → exactly one IntrastatToProdcom record
InventProdComLineWithCode→InventProdComLineWithCodeJoin on
BranchNumber = InventProdComLineWithCode.BranchNumber,InventProdComItemCodeId = InventProdComLineWithCode.ColumnA,InventProdComTable = InventProdComLineWithCode.InventProdComTableMany InventProdComLineDetail records → exactly one InventProdComLineWithCode record
InventProdComTable→InventProdComTableJoin on
InventProdComTable = InventProdComTable.RecIdMany InventProdComLineDetail records → zero or one InventProdComTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventProdComLineDetail records → zero or one InventTable record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany InventProdComLineDetail records → zero or one SalesTable record
UnitOfMeasure→UnitOfMeasureJoin on
UnitId = UnitOfMeasure.SymbolMany 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.
ProdComEntity· 10 fields from this table
Need help with InventProdComLineDetail in a report, an integration or a migration? Talk to Dr Dynamics.