Table

InventByProductTable_RU

By-product

Links a main product to a by-product, each with its inventory dimension, used for Russia. It also says whether the by-product is costed at a fixed or a calculated price.

Table name
InventByProductTable_RU
Module
Inventory
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
InventMainByProdIdx
Replacement key
None
Key fields
ItemIdMain, InventDimIdMain, ItemIdByProd, InventDimIdByProd
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ItemIdMainThe main product item. Points to the item table.String (20)
ProdItemIdMain_RU
YesInventTable.ItemIdNone
InventDimIdMainThe inventory dimension ID of the main product.String (20)
InventDimId
YesInventDim.inventDimIdInventByProductTableEntity
ItemIdByProdThe by-product item. Points to the item table.String (20)
ItemId
YesInventTable.ItemIdNone
InventDimIdByProdThe inventory dimension ID of the by-product.String (20)
InventDimId
YesInventDim.inventDimIdInventByProductTableEntity
ByProdCostingThe costing rule for the by-product: fixed price or calculated price.Enum
ProdByProdCosting_RU (enum)
NoInventByProductTableEntity
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
PercentageA percentage or a price, depending on the costing rule.Real
Percent
NoInventByProductTableEntity
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 InventByProductTable_RU to another table on the fields shown.

  • InventDimByProd → InventDim

    Join on InventDimIdByProd = InventDim.inventDimId

    Many InventByProductTable_RU records → exactly one InventDim record

  • InventDimMain → InventDim

    Join on InventDimIdMain = InventDim.inventDimId

    Many InventByProductTable_RU records → exactly one InventDim record

  • InventTableByProd → InventTable

    Join on ItemIdByProd = InventTable.ItemId

    Many InventByProductTable_RU records → exactly one InventTable record

  • InventTableMain → InventTable

    Join on ItemIdMain = InventTable.ItemId, InventTable.ItemType = ItemType::Item

    Many InventByProductTable_RU records → exactly one InventTable record

Get this data out

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

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

Email sales@drdynamics.co.uk