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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BaseInventLocationIdBase warehouse for the line. It points to a warehouse.String
InventLocationId
NoInventLocation.InventLocationIdNone
BaseInventSiteIdBase site for the line. It points to an inventory site.String
InventSiteId
NoInventSite.SiteIdNone
BaseItemIdBase item for the line. It points to an item.String (20)
ItemId
NoInventTable.ItemIdNone
CostNew cost value for the line.Real
PdsCost
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdInventory dimension combination for the line. It points to an inventory dimension record.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemIdItem that the pricing line is for. It points to an item.String (20)
ItemId
YesInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrevCostCost value held before this run.Real
PdsComdPrevCost
NoNone
PriceChangeFixed amount added to the price.Real
PdsComdPriceChange
NoNone
PriceMultMultiplier applied to the price.Real
PdsComdPriceMult
NoNone
PricePercPercentage added to the price.Real
PdsComdPricePerc
NoNone
PricingRunIdPricing run that the line belongs to. It points to the pricing calculation record.String (20)
PdsComdPricingRunId
YesPdsComdPricingRun.PricingRunIdNone
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
UseStandardCostYes/No flag labelled 'Active cost price'. The metadata does not explain how it is used.low confidenceEnum
PdsUseStandardCost
NoYes (enum)
NoNone

Indexes (2)

Relations (7)

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

  • BaseInventLocation → InventLocation

    Join on BaseInventLocationId = InventLocation.InventLocationId

    Many PdsComdPricingRunLine records → zero or one InventLocation record

  • BaseInventSite → InventSite

    Join on BaseInventSiteId = InventSite.SiteId

    Many PdsComdPricingRunLine records → zero or one InventSite record

  • BaseInventTable → InventTable

    Join on BaseItemId = InventTable.ItemId

    Many PdsComdPricingRunLine records → zero or one InventTable record

  • BaseItem → PdsComdPricingRunLine

    Join on PricingRunId = PdsComdPricingRunLine.PricingRunId, BaseItemId = PdsComdPricingRunLine.ItemId

    Many PdsComdPricingRunLine records → zero or one PdsComdPricingRunLine record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many PdsComdPricingRunLine records → zero or one InventDim record

  • Item → InventTable

    Join on ItemId = InventTable.ItemId

    Many PdsComdPricingRunLine records → exactly one InventTable record

  • PdsComdPricingRun → PdsComdPricingRun

    Join on PricingRunId = PdsComdPricingRun.PricingRunId

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

Email sales@drdynamics.co.uk