Table
InventItemPrice
Price
Holds item prices with their activation date, price type (cost, purchase price or sales price) and costing type. Each row is tied to an item, inventory dimension combination and costing version. The key also includes the creation time and a unique GUID for last-price records. Fields cover price charges, price quantity and a secondary cost used for Russia.
- Table name
InventItemPrice- Module
Inventory- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
ItemIdx- Replacement key
ItemIdx- Key fields
ItemId, InventDimId, PriceType, ActivationDate, createdDateTime, LastPriceUniquenessAllowance- Model
Foundation
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ItemIdItem the price belongs to. | String (20)ItemId | Yes | InventTable.ItemId | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity |
InventDimIdInventory dimension combination the price applies to. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
PriceTypeType of price: cost, purchase price or sales price. | EnumCostingVersionPriceType (enum) | No | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity | |
ActivationDateDate from which the price is active. | DateTransDate | No | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity | |
LastPriceUniquenessAllowanceTechnical GUID that keeps last-price records unique; not meant for other uses. | Guid | No | None | |
CostingTypeCosting type: all, planned cost, standard cost or last price. | EnumInventItemCostingType (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
MarkupAmount of price charges for the item. | RealCostAmountNonMonetary | No | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity | |
MarkupSecCur_RUPrice charges in the secondary currency; used for Russia. | RealInventPriceMarkupSecCur_RU | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceThe price amount. | RealCostPriceNonMonetary | No | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity | |
PriceAllocateMarkupYes/No flag showing whether charges are included in the unit price. | EnumPriceAllocateMarkupNoYes (enum) | No | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity | |
PriceCalcIdCalculation this price came from, linked to the calculation record. | String (20)PriceCalcId | No | BOMCalcTable.PriceCalcId | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity |
PriceQtyNumber of units that the price charges relate to. | RealInventPriceMarkupQty | No | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity | |
PriceSecCur_RUSecondary cost of the item; used for Russia. | RealCostPriceSecCur_RU | No | None | |
PriceUnitQuantity that the price applies to. | RealInventPriceUnitQty | No | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity | |
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 | |
StdCostTransDateDate linked to the standard cost revaluation, relating to inventory settlement. | DateTransDate | No | None | |
StdCostVoucherVoucher number of the standard cost revaluation. | String (20)InventStdCostRevaluationVoucherId | 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 | |
UnitIDUnit of measure for the price. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity |
VersionIdCosting version the price belongs to. | StringCostingVersionId | Yes | CostingVersion.VersionId | InventItemPriceV3EntityInventItemPriceV2EntityInventItemPriceEntity |
Indexes (4)
ItemIdxPrimary indexReplacement keyItemId,InventDimId,PriceType,ActivationDate,createdDateTime,LastPriceUniquenessAllowanceUnique, alternate key.
VersionIdxNot unique.
ActivationDateIdxActivationDate,createdDateTimeNot unique.
CreatedDateTimeIdxNot unique.
Relations (7)
Each relation joins InventItemPrice to another table on the fields shown.
BOMCalcTable→BOMCalcTableJoin on
PriceCalcId = BOMCalcTable.PriceCalcIdMany InventItemPrice records → zero or one BOMCalcTable record
CostingVersion→CostingVersionJoin on
VersionId = CostingVersion.VersionIdMany InventItemPrice records → exactly one CostingVersion record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany InventItemPrice records → exactly one InventDim record
InventItemPriceCurrentActive→InventItemPriceCurrentActiveJoin on
VersionId = InventItemPriceCurrentActive.VersionId,ItemId = InventItemPriceCurrentActive.ItemId,InventDimId = InventItemPriceCurrentActive.InventDimId,PriceType = InventItemPriceCurrentActive.PriceType,ActivationDate = InventItemPriceCurrentActive.MaxActivationDate,createdDateTime = InventItemPriceCurrentActive.MaxCreatedDateTimeExactly one InventItemPrice record → exactly one InventItemPriceCurrentActive record
InventSettlement→InventSettlementJoin on
StdCostVoucher = InventSettlement.Voucher,StdCostTransDate = InventSettlement.TransDateCardinality not set in the metadata.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventItemPrice records → exactly one InventTable record
UnitOfMeasure→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany InventItemPrice records → zero or one UnitOfMeasure record
Get this data out
Tables are not exposed directly. These public entities read from InventItemPrice; use one of them in Power BI, Power Platform or a data management project.
InventItemPriceV3Entity· 12 fields from this tableInventItemPriceV2Entity· 12 fields from this tableInventItemPriceEntity· 12 fields from this table
Need help with InventItemPrice in a report, an integration or a migration? Talk to Dr Dynamics.