Table
InventDistinctProduct
Distinct products
Holds distinct products, which are products without variants. It is keyed by product and links to the item, the inventory dimension and the product lifecycle state. It also stores configuration, colour, size, style and version names, plus planning formula and production type.
- Table name
InventDistinctProduct- Module
Product information management- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
None- Replacement key
ProductIdx- Key fields
Product- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProductPoints to the distinct product. It is the key of the table. | Int64EcoResProductRecId | Yes | EcoResDistinctProduct.RecId | None |
configIdConfiguration name of the product. | String (50)EcoResItemConfigurationName | No | EcoResReleasedDistinctProductCDSEntityEcoResReleasedDistinctProductDVEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventColorIdColour name of the product. | StringEcoResItemColorName | No | EcoResReleasedDistinctProductCDSEntityEcoResReleasedDistinctProductDVEntity | |
InventDimIdPoints to the inventory dimension combination of the product. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventSizeIdSize name of the product. | StringEcoResItemSizeName | No | EcoResReleasedDistinctProductCDSEntityEcoResReleasedDistinctProductDVEntity | |
InventStyleIdStyle name of the product. | StringEcoResItemStyleName | No | EcoResReleasedDistinctProductCDSEntityEcoResReleasedDistinctProductDVEntity | |
InventVersionIdVersion name of the product. | StringEcoResVersionName | No | EcoResReleasedDistinctProductCDSEntityEcoResReleasedDistinctProductDVEntity | |
ItemIdItem number of the product. | String (20)ItemId | Yes | InventTable.ItemId | EcoResReleasedDistinctProductCDSEntityEcoResReleasedDistinctProductDVEntity |
LevelLevel of the item in a bill of materials. | IntegerItemBOMLevel | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PmfPlanningItemIdPlanning formula item ID. | String (20)PmfPlanningItemId | No | None | |
PmfProductTypeProduction type: co-product, by-product, none, planning item, BOM or formula. | EnumPmfProductType (enum) | No | None | |
ProductLifecycleStateIdLifecycle state of the product. | String (60)EcoResProductLifecycleStateId | No | EcoResProductLifecycleState.StateId | 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 (5)
ItemIdxItemId,InventStyleId,InventSizeId,InventColorId,configId,InventVersionIdNot unique.
PmfPlanningTypePlanningItemIdxPmfPlanningItemId,PmfProductTypeNot unique.
ProductIdxReplacement keyUnique, alternate key.
ProductLifecycleStateIdxNot unique.
InventDimIdxUnique, alternate key.
Relations (4)
Each relation joins InventDistinctProduct to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany InventDistinctProduct records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventDistinctProduct records → exactly one InventTable record
EcoResDistinctProduct→EcoResDistinctProductJoin on
Product = EcoResDistinctProduct.RecIdMany InventDistinctProduct records → exactly one EcoResDistinctProduct record
EcoResProductLifecycleState→EcoResProductLifecycleStateJoin on
ProductLifecycleStateId = EcoResProductLifecycleState.StateIdMany InventDistinctProduct records → zero or one EcoResProductLifecycleState record
Get this data out
Tables are not exposed directly. These public entities read from InventDistinctProduct; use one of them in Power BI, Power Platform or a data management project.
EcoResSellableReleasedProductEntity· 0 fields from this tableEcoResReleasedDistinctProductCDSEntity· 6 fields from this tableEcoResReleasedDistinctProductDVEntity· 6 fields from this tableSalesOrderLineCDSV2Entity· 0 fields from this tablePurchPurchaseOrderLineCDSEntity· 0 fields from this tableSalesOrderLineCDSEntity· 0 fields from this tableSalesOrderLineD365SalesEntity· 0 fields from this tableSalesQuotationLineCDSEntity· 0 fields from this tableSalesQuotationLineD365SalesEntity· 0 fields from this tableSalesInvoiceLineV4Entity· 0 fields from this tableSalesInvoiceLineV3Entity· 0 fields from this tableSalesInvoiceLineV2Entity· 0 fields from this tableVendProductReceiptLineV2Entity· 0 fields from this tableBundleSalesInvoiceBundleParentLineEntity· 0 fields from this tableBundleSalesInvoiceLineEntity· 0 fields from this tableEcoResProductNumberIdentifiedBarcodeEntity· 0 fields from this tableProjVendInvoiceLineExportEntity· 0 fields from this tableReturnInvoiceLineCDSEntity· 0 fields from this tableSalesInvoiceLineEntity· 0 fields from this tableVendProductReceiptLineEntity· 0 fields from this table
Need help with InventDistinctProduct in a report, an integration or a migration? Talk to Dr Dynamics.