Table
InventItemPriceCompareStorageDetails
Result of item price comparison
Holds the result lines of an item price comparison. Each line covers an item and inventory dimensions, and shows the compared prices, charges, units, quantities and on-hand values with the net change. Lines link to the comparison run through its transaction ID.
- Table name
InventItemPriceCompareStorageDetails- Module
Inventory- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (37)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CompareToCostCalculationMethodSourcing mode for cost rollup on the compared-to side. | EnumBOMCostCalculationMethod (enum) | No | None | |
CompareToFromDateStart date of the compared-to price. | DateCostingVersionFromDate | No | None | |
CompareToMarkupPrice charges on the compared-to side. | RealInventItemPriceCompareStorageDetailsCompareToMarkup | No | None | |
CompareToMarkupQtyQuantity that the compared-to charges relate to. | RealInventItemPriceCompareStorageDetailsCompareToMarkupQty | No | None | |
CompareToOnhandValueOn-hand value on the compared-to side. Currency not stated in the metadata. | RealCostAmount | No | None | |
CompareToPricePrice on the compared-to side. | RealInventItemPriceCompareStorageDetailsCompareToPrice | No | None | |
CompareToPriceAllocateMarkupYes/no flag showing whether charges are included in the compared-to unit price. | EnumInventItemPriceCompareStorageDetailsCompareToPriceAllocateMarkupNoYes (enum) | No | None | |
CompareToPriceUnitQuantity that the compared-to price relates to. | RealInventItemPriceCompareStorageDetailsCompareToPriceUnit | No | None | |
CompareToUnitIDUnit of measure on the compared-to side. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
CompareToUnitPriceUnit price on the compared-to side. | RealInventItemPriceCompareStorageDetailsCompareToUnitPrice | No | None | |
CostCalculationMethodSourcing mode for cost rollup on the compare side: Unknown, Production order cost, Production flow cost or Purchase cost. | EnumBOMCostCalculationMethod (enum) | No | None | |
CostGroupIdCost group for the line. Points to a cost group record. | StringCostGroupId | No | BOMCostGroup.CostGroupId | None |
CostGroupTypeType of cost group, such as direct materials, direct manufacturing, indirect or direct outsourcing. | EnumCostGroupType (enum) | No | None | |
CostLevelLevel of the cost: Total, Single or Multi. | EnumInventCostLevel (enum) | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultOrderTypeDefault order type: Purchase order, Production, Transfer or Kanban. | EnumReqPOType (enum) | No | None | |
FromDateStart date of the compare-side price. | DateCostingVersionFromDate | Yes | None | |
InventDimIdInventory dimension number for the item on this line. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
InventQtyOn-hand quantity of the item. | RealInventQty | No | None | |
ItemIdItem number the result line belongs to. | String (20)ItemId | Yes | InventTable.ItemId | None |
ItemNameName of the product. | String (60)ItemName | No | None | |
MarkupPrice charges on the compare side. | RealInventItemPriceCompareStorageDetailsMarkup | No | None | |
MarkupQtyQuantity that the compare-side charges relate to. | RealInventItemPriceCompareStorageDetailsMarkupQty | No | None | |
NetChangeChange in unit price between the two sides. | RealInventItemPriceCompareStorageDetailsNetChange | No | None | |
NetChangeOnhandValueChange in on-hand value that results from the price change. Currency not stated in the metadata. | RealCostAmount | No | None | |
OnhandValueNew on-hand value. Currency not stated in the metadata. | RealCostAmount | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PricePrice on the compare side. | RealInventItemPriceCompareStorageDetailsPrice | No | None | |
PriceAllocateMarkupYes/no flag showing whether charges are included in the compare-side unit price. | EnumInventItemPriceCompareStorageDetailsPriceAllocateMarkupNoYes (enum) | No | None | |
PriceUnitQuantity that the compare-side price relates to. | RealInventItemPriceCompareStorageDetailsPriceUnit | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionIdTransaction ID of the comparison run that this line belongs to. | Int64CreatedTransactionId | Yes | InventItemPriceCompareStorage.TransactionId | None |
UnitIDUnit of measure on the compare side. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
UnitPriceUnit price on the compare side. | RealInventItemPriceCompareStorageDetailsUnitPrice | No | None |
Indexes (3)
ItemProductDimensionCostGroupIdxItemId,InventDimId,CostLevel,CostGroupIdNot unique.
CreatedTransactionIdIdxNot unique.
TransactionIdIdxNot unique.
Relations (6)
Each relation joins InventItemPriceCompareStorageDetails to another table on the fields shown.
BOMCostGroup→BOMCostGroupJoin on
CostGroupId = BOMCostGroup.CostGroupIdMany InventItemPriceCompareStorageDetails records → zero or one BOMCostGroup record
CompareToUnitID→UnitOfMeasureJoin on
CompareToUnitID = UnitOfMeasure.SymbolMany InventItemPriceCompareStorageDetails records → zero or one UnitOfMeasure record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany InventItemPriceCompareStorageDetails records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventItemPriceCompareStorageDetails records → exactly one InventTable record
UnitId→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany InventItemPriceCompareStorageDetails records → zero or one UnitOfMeasure record
InventItemPriceCompareStorage→InventItemPriceCompareStorageJoin on
TransactionId = InventItemPriceCompareStorage.TransactionIdMany InventItemPriceCompareStorageDetails records → exactly one InventItemPriceCompareStorage record
Get this data out
No public entity reads from InventItemPriceCompareStorageDetails. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventItemPriceCompareStorageDetails in a report, an integration or a migration? Talk to Dr Dynamics.