/
PwsProjectRateTypeDetail

PwsProjectRateTypeDetail

Overview

This structure contains the complete set of information about a project rate type. The structure is used both to retrieve detailed project rate type information and to pass information about a project rate type back to the server to get updated.

Format

PwsProjectRateTypeDetail
  • PwsProjectRateTypeDetail
    • ExternalSystemIdentifier: String
    • ProjectRateTypeId: Int32
    • ProjectRateTypeUid: Int64
    • ProjectRateTypeName: String (50)
    • BillingAdjustedDiscountPercent: Double
    • BillingAdjustedHourlyRate: Double
    • ContractDiscountPercent: Double
    • ContractHourlyRate: Double
    • SortOrder: Int16
    • StandardRateTypeIdentity: PwsStandardRateTypeRef

Elements

Element

Data Type

Required?

Default

Description

Sample Data

ExternalSystemIdentifier

String

One of ExternalSystemIdentifier or ProjectRateTypeUid is required


The external system identifier is a unique identifier for a project rate type (may be null, but once set can only be updated to a different, non-null value).

MET-RT-002

ProjectRateTypeId

Int32

On Insert: No

On Update: No


The project rate type id is a unique identifier for a project role. For internal use only.   


ProjectRateTypeUid

Int64

See ExternalSystemIdentifier


A unique and immutable identifier for a project rate type.

1152921504606847340

ProjectRateTypeName

String (50)

On Insert: No

On Update: No


The name of the project rate type.

Non-chargeable

BillingAdjustedDiscountPercent

Double

On Insert: No

On Update: No

0

The discount percent that applies to the billing adjusted rate.

0.2

BillingAdjustedHourlyRate

Double

On Insert: No

On Update: No


The billing adjusted hourly rate.

120

ContractDiscountPercent

Double

On Insert: No

On Update: No

0

The discount percent that applies to the contract rate.

0.3

ContractHourlyRate

Double

On Insert: No

On Update: No


The contract hourly rate.

100

SortOrder

Int16

On Insert: No

On Update: No


The sort order, among all of the rate types defined for the project.

1

StandardRateTypeIdentity

PwsStandardRateTypeRef

On Insert: No

On Update: No


The standard rate type for the project rate type. Click here for more information.


Usage Example(s)


Example 01
    <b:ProjectRateTypeDetail>
       <b:ExternalSystemIdentifier i:nil="true"/>
       <b:ProjectRateTypeId i:nil="true"/>
       <b:ProjectRateTypeUid>1152921504606922399</b:ProjectRateTypeUid>
       <b:ProjectRateTypeName>Regular</b:ProjectRateTypeName>
       <b:BillingAdjustedDiscountPercent i:nil="true"/>
       <b:BillingAdjustedHourlyRate>110</b:BillingAdjustedHourlyRate>
       <b:ContractDiscountPercent i:nil="true"/>
       <b:ContractHourlyRate>100</b:ContractHourlyRate>
       <b:SortOrder>1</b:SortOrder>
       <b:StandardRateTypeIdentity>
          <b:StandardRateTypeCode>Reg</b:StandardRateTypeCode>
          <b:StandardRateTypeId i:nil="true"/>
          <b:StandardRateTypeName>Regular</b:StandardRateTypeName>
          <b:StandardRateTypeUid>1152921504606847191</b:StandardRateTypeUid>
       </b:StandardRateTypeIdentity>
    </b:ProjectRateTypeDetail>
Example 02
   <b:ProjectRateTypeDetail>
      <b:ExternalSystemIdentifier i:nil="true"/>
      <b:ProjectRateTypeId i:nil="true"/>
      <b:ProjectRateTypeUid>1152921504606922400</b:ProjectRateTypeUid>
      <b:ProjectRateTypeName>Not Chargeable</b:ProjectRateTypeName>
      <b:BillingAdjustedDiscountPercent i:nil="true"/>
      <b:BillingAdjustedHourlyRate>0</b:BillingAdjustedHourlyRate>
      <b:ContractDiscountPercent i:nil="true"/>
      <b:ContractHourlyRate>0</b:ContractHourlyRate>
      <b:SortOrder>2</b:SortOrder>
      <b:StandardRateTypeIdentity>
         <b:StandardRateTypeCode>NC</b:StandardRateTypeCode>
         <b:StandardRateTypeId i:nil="true"/>
         <b:StandardRateTypeName>Not Chargeable</b:StandardRateTypeName>
         <b:StandardRateTypeUid>1152921504606847193</b:StandardRateTypeUid>
      </b:StandardRateTypeIdentity>
   </b:ProjectRateTypeDetail> 




Related content

PwsProjectElement
PwsProjectElement
Read with this
PwsProjectRateTypeSummary
PwsProjectRateTypeSummary
More like this
PwsSaveProjectRateTypes
PwsSaveProjectRateTypes
Read with this
PwsProjectRateTypeRef
PwsProjectRateTypeRef
More like this
PwsProjectTaskTypeDetail
PwsProjectTaskTypeDetail
Read with this
PwsProjectProjectRateTypes
PwsProjectProjectRateTypes
More like this