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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PricingRunIdUnique code of the pricing calculation run. | String (20)PdsComdPricingRunId | Yes | None | |
CostBasisTypeCommodity cost basis type used by the run. It points to a record in the commodity cost basis table. | StringPdsCostBasisType | Yes | PdsCostBasis.CostBasisType | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventSiteIdSite that the pricing run applies to. It points to an inventory site. | StringInventSiteId | No | InventSite.SiteId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | 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 | |
PreviousRunIdThe pricing run that came before this one. It points to another record in the same table. | String (20)PdsComdPricingRunId | No | 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 | |
RunEffectiveDate from which the run is effective. | DatePdsRunEffective | Yes | None | |
RunExpiryDate on which the run expires. | DatePdsRunExpiry | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
PricingRunidxPrimary indexReplacement keyUnique, alternate key.
EffectiveIdxCostBasisType,InventSiteId,RunEffectiveUnique, alternate key.
Relations (3)
Each relation joins PdsComdPricingRun to another table on the fields shown.
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany PdsComdPricingRun records → zero or one InventSite record
PdsCostBasis→PdsCostBasisJoin on
CostBasisType = PdsCostBasis.CostBasisTypeMany PdsComdPricingRun records → exactly one PdsCostBasis record
PreviousRun→PdsComdPricingRunJoin on
PreviousRunId = PdsComdPricingRun.PricingRunIdMany 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.