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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CompareToCostCalculationMethodSourcing mode for cost rollup on the compared-to side.Enum
BOMCostCalculationMethod (enum)
NoNone
CompareToFromDateStart date of the compared-to price.Date
CostingVersionFromDate
NoNone
CompareToMarkupPrice charges on the compared-to side.Real
InventItemPriceCompareStorageDetailsCompareToMarkup
NoNone
CompareToMarkupQtyQuantity that the compared-to charges relate to.Real
InventItemPriceCompareStorageDetailsCompareToMarkupQty
NoNone
CompareToOnhandValueOn-hand value on the compared-to side. Currency not stated in the metadata.Real
CostAmount
NoNone
CompareToPricePrice on the compared-to side.Real
InventItemPriceCompareStorageDetailsCompareToPrice
NoNone
CompareToPriceAllocateMarkupYes/no flag showing whether charges are included in the compared-to unit price.Enum
InventItemPriceCompareStorageDetailsCompareToPriceAllocateMarkup
NoYes (enum)
NoNone
CompareToPriceUnitQuantity that the compared-to price relates to.Real
InventItemPriceCompareStorageDetailsCompareToPriceUnit
NoNone
CompareToUnitIDUnit of measure on the compared-to side.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
CompareToUnitPriceUnit price on the compared-to side.Real
InventItemPriceCompareStorageDetailsCompareToUnitPrice
NoNone
CostCalculationMethodSourcing mode for cost rollup on the compare side: Unknown, Production order cost, Production flow cost or Purchase cost.Enum
BOMCostCalculationMethod (enum)
NoNone
CostGroupIdCost group for the line. Points to a cost group record.String
CostGroupId
NoBOMCostGroup.CostGroupIdNone
CostGroupTypeType of cost group, such as direct materials, direct manufacturing, indirect or direct outsourcing.Enum
CostGroupType (enum)
NoNone
CostLevelLevel of the cost: Total, Single or Multi.Enum
InventCostLevel (enum)
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultOrderTypeDefault order type: Purchase order, Production, Transfer or Kanban.Enum
ReqPOType (enum)
NoNone
FromDateStart date of the compare-side price.Date
CostingVersionFromDate
YesNone
InventDimIdInventory dimension number for the item on this line.String (20)
InventDimId
YesInventDim.inventDimIdNone
InventQtyOn-hand quantity of the item.Real
InventQty
NoNone
ItemIdItem number the result line belongs to.String (20)
ItemId
YesInventTable.ItemIdNone
ItemNameName of the product.String (60)
ItemName
NoNone
MarkupPrice charges on the compare side.Real
InventItemPriceCompareStorageDetailsMarkup
NoNone
MarkupQtyQuantity that the compare-side charges relate to.Real
InventItemPriceCompareStorageDetailsMarkupQty
NoNone
NetChangeChange in unit price between the two sides.Real
InventItemPriceCompareStorageDetailsNetChange
NoNone
NetChangeOnhandValueChange in on-hand value that results from the price change. Currency not stated in the metadata.Real
CostAmount
NoNone
OnhandValueNew on-hand value. Currency not stated in the metadata.Real
CostAmount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PricePrice on the compare side.Real
InventItemPriceCompareStorageDetailsPrice
NoNone
PriceAllocateMarkupYes/no flag showing whether charges are included in the compare-side unit price.Enum
InventItemPriceCompareStorageDetailsPriceAllocateMarkup
NoYes (enum)
NoNone
PriceUnitQuantity that the compare-side price relates to.Real
InventItemPriceCompareStorageDetailsPriceUnit
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionIdTransaction ID of the comparison run that this line belongs to.Int64
CreatedTransactionId
YesInventItemPriceCompareStorage.TransactionIdNone
UnitIDUnit of measure on the compare side.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
UnitPriceUnit price on the compare side.Real
InventItemPriceCompareStorageDetailsUnitPrice
NoNone

Indexes (3)

Relations (6)

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

  • BOMCostGroup → BOMCostGroup

    Join on CostGroupId = BOMCostGroup.CostGroupId

    Many InventItemPriceCompareStorageDetails records → zero or one BOMCostGroup record

  • CompareToUnitID → UnitOfMeasure

    Join on CompareToUnitID = UnitOfMeasure.Symbol

    Many InventItemPriceCompareStorageDetails records → zero or one UnitOfMeasure record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many InventItemPriceCompareStorageDetails records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many InventItemPriceCompareStorageDetails records → exactly one InventTable record

  • UnitId → UnitOfMeasure

    Join on UnitID = UnitOfMeasure.Symbol

    Many InventItemPriceCompareStorageDetails records → zero or one UnitOfMeasure record

  • InventItemPriceCompareStorage → InventItemPriceCompareStorage

    Join on TransactionId = InventItemPriceCompareStorage.TransactionId

    Many 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.

Email sales@drdynamics.co.uk