Table
PdsComdPricingRunLine
Commodity pricing
Holds the lines of a commodity pricing run, linked to the run by PricingRunId. Each line carries an item, a base item with its site and warehouse, and previous and new cost values. It also holds price adjustment values such as a multiplier, a percentage and an added amount. The table has no defined key.
- Table name
PdsComdPricingRunLine- Module
Sales and marketing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
PdsCommodity- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BaseInventLocationIdBase warehouse for the line. It points to a warehouse. | StringInventLocationId | No | InventLocation.InventLocationId | None |
BaseInventSiteIdBase site for the line. It points to an inventory site. | StringInventSiteId | No | InventSite.SiteId | None |
BaseItemIdBase item for the line. It points to an item. | String (20)ItemId | No | InventTable.ItemId | None |
CostNew cost value for the line. | RealPdsCost | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdInventory dimension combination for the line. It points to an inventory dimension record. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemIdItem that the pricing line is for. It points to an item. | String (20)ItemId | Yes | InventTable.ItemId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrevCostCost value held before this run. | RealPdsComdPrevCost | No | None | |
PriceChangeFixed amount added to the price. | RealPdsComdPriceChange | No | None | |
PriceMultMultiplier applied to the price. | RealPdsComdPriceMult | No | None | |
PricePercPercentage added to the price. | RealPdsComdPricePerc | No | None | |
PricingRunIdPricing run that the line belongs to. It points to the pricing calculation record. | String (20)PdsComdPricingRunId | Yes | PdsComdPricingRun.PricingRunId | 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 | |
UseStandardCostYes/No flag labelled 'Active cost price'. The metadata does not explain how it is used.low confidence | EnumPdsUseStandardCostNoYes (enum) | No | None |
Indexes (2)
PricingRunItemIdxPricingRunId,ItemId,InventDimIdUnique.
BaseItemIdxPricingRunId,BaseItemId,BaseInventSiteId,BaseInventLocationIdNot unique.
Relations (7)
Each relation joins PdsComdPricingRunLine to another table on the fields shown.
BaseInventLocation→InventLocationJoin on
BaseInventLocationId = InventLocation.InventLocationIdMany PdsComdPricingRunLine records → zero or one InventLocation record
BaseInventSite→InventSiteJoin on
BaseInventSiteId = InventSite.SiteIdMany PdsComdPricingRunLine records → zero or one InventSite record
BaseInventTable→InventTableJoin on
BaseItemId = InventTable.ItemIdMany PdsComdPricingRunLine records → zero or one InventTable record
BaseItem→PdsComdPricingRunLineJoin on
PricingRunId = PdsComdPricingRunLine.PricingRunId,BaseItemId = PdsComdPricingRunLine.ItemIdMany PdsComdPricingRunLine records → zero or one PdsComdPricingRunLine record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany PdsComdPricingRunLine records → zero or one InventDim record
Item→InventTableJoin on
ItemId = InventTable.ItemIdMany PdsComdPricingRunLine records → exactly one InventTable record
PdsComdPricingRun→PdsComdPricingRunJoin on
PricingRunId = PdsComdPricingRun.PricingRunIdMany PdsComdPricingRunLine records → exactly one PdsComdPricingRun record
Get this data out
No public entity reads from PdsComdPricingRunLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with PdsComdPricingRunLine in a report, an integration or a migration? Talk to Dr Dynamics.