Table

PdsComdPricingRun

Pricing calculation

Holds one commodity pricing calculation run, identified by PricingRunId. Each run has an effective date and an expiry date. It can point to a site, a commodity cost basis and the previous run.

Table name
PdsComdPricingRun
Module
Sales and marketing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
PdsCommodity
Primary index
PricingRunidx
Replacement key
PricingRunidx
Key fields
PricingRunId
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PricingRunIdUnique code of the pricing calculation run.String (20)
PdsComdPricingRunId
YesNone
CostBasisTypeCommodity cost basis type used by the run. It points to a record in the commodity cost basis table.String
PdsCostBasisType
YesPdsCostBasis.CostBasisTypeNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventSiteIdSite that the pricing run applies to. It points to an inventory site.String
InventSiteId
NoInventSite.SiteIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PreviousRunIdThe pricing run that came before this one. It points to another record in the same table.String (20)
PdsComdPricingRunId
NoPdsComdPricingRun.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
RunEffectiveDate from which the run is effective.Date
PdsRunEffective
YesNone
RunExpiryDate on which the run expires.Date
PdsRunExpiry
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (3)

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

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many PdsComdPricingRun records → zero or one InventSite record

  • PdsCostBasis → PdsCostBasis

    Join on CostBasisType = PdsCostBasis.CostBasisType

    Many PdsComdPricingRun records → exactly one PdsCostBasis record

  • PreviousRun → PdsComdPricingRun

    Join on PreviousRunId = PdsComdPricingRun.PricingRunId

    Many PdsComdPricingRun records → zero or one PdsComdPricingRun record

Get this data out

No public entity reads from PdsComdPricingRun. Its data is only reachable through the application, a custom entity or a database export.

Need help with PdsComdPricingRun in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk