Table

ProjHourSalesPrice

Project - hour sales price

Holds sales prices per hour for project work. Rows can be limited by project, contract, customer, category, resource, role or worker. Each row has a start and end date, a sales currency and a price model.

Table name
ProjHourSalesPrice
Module
Project management and accounting
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CategoryIdProject category the sales price applies to.String (30)
ProjCategoryId
NoProjCategory.CategoryIdProjHourSalesPriceV2Entity
CurrencyIdSales currency of the price.String (3)
CurrencyCode
YesCurrency.CurrencyCodeProjHourSalesPriceV2Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndDateDate on which the price stops being effective.Date
EndDate
NoProjHourSalesPriceV2Entity
ExtensionHashHash value of 64 characters linked to extensions. Its purpose is not described in the metadata.low confidenceString (64)
ProjExtensionHash
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjIdProject the price applies to.String (20)
ProjId
NoProjTable.ProjIdProjHourSalesPriceV2Entity
ProjPriceGroupProject price group the price relates to.String
ProjPriceGroupID
NoProjHourSalesPriceV2Entity
ProjSalesPriceModelPrice model used. Values are quantity, contribution ratio, charges percentage and charges amount.Enum
ProjSalesPriceModel (enum)
NoProjHourSalesPriceV2Entity
ProjSalesPricingNumeric pricing value. Its meaning depends on the chosen price model.Real
ProjSalesPricing
NoProjHourSalesPriceV2Entity
ProjValidForShows whether the price is valid for a single record (table), a group, or all.Enum
ProjPriceGroupValidFor
TableGroupAll (enum)
NoProjHourSalesPriceV2Entity
PSACustAccountCustomer account the price applies to.String (20)
CustAccount
NoCustTable.AccountNumProjHourSalesPriceV2Entity
PSAProjInvoiceProjIdProject contract the price applies to.String (20)
ProjInvoiceProjId
NoProjInvoiceTable.ProjInvoiceProjIdProjHourSalesPriceV2Entity
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
ResourceResource the price applies to, stored as a system record ID.Int64
ResourceRecId
NoResourceView.RecIdProjHourSalesPriceV2Entity
ResourceCategoryRole the price applies to, stored as a system record ID.Int64
ResourceCategoryRecId
NoResourceCategoryView.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate from which the price is effective.Date
TransDate
YesProjHourSalesPriceV2Entity
WorkerWorker the price applies to, stored as a system record ID.Int64
ProjWorkerRecId
NoNone

Indexes (2)

Relations (8)

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

  • Currency → Currency

    Join on CurrencyId = Currency.CurrencyCode

    Many ProjHourSalesPrice records → exactly one Currency record

  • CustTable → CustTable

    Join on PSACustAccount = CustTable.AccountNum

    Many ProjHourSalesPrice records → zero or one CustTable record

  • PriceDiscGroup → PriceDiscGroup

    Join on ProjPriceGroup = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust

    Many ProjHourSalesPrice records → zero or one PriceDiscGroup record

  • ProjCategory → ProjCategory

    Join on CategoryId = ProjCategory.CategoryId

    Many ProjHourSalesPrice records → zero or one ProjCategory record

  • ProjInvoiceTable → ProjInvoiceTable

    Join on PSAProjInvoiceProjId = ProjInvoiceTable.ProjInvoiceProjId

    Many ProjHourSalesPrice records → zero or one ProjInvoiceTable record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many ProjHourSalesPrice records → zero or one ProjTable record

  • Resource → ResourceView

    Join on Resource = ResourceView.RecId

    Many ProjHourSalesPrice records → zero or one ResourceView record

  • ResourceCategory → ResourceCategoryView

    Join on ResourceCategory = ResourceCategoryView.RecId

    Many ProjHourSalesPrice records → zero or one ResourceCategoryView record

Get this data out

Tables are not exposed directly. These public entities read from ProjHourSalesPrice; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk