Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This structure represents the unique key fields associated with identifying an project stage. Project Stages can be identified by ProjectStageName, ProjectStageShortName or ProjectStageUid. When specifying a PwsProjectStageRef as an input to a web service, you may specify one or all three fields the ProjectStageName, ProjectStageShortName and/or ProjectStageUid. However, if you do specify all three, they must refer to the same project stage or the project stage reference will not be considered valid. When a PwsProjectStageRef is returned in the response to a web service, the ProjectStageName, ProjectStageShortName and/or ProjectStageUid will be populated, and guaranteed to refer to a single Project stagecontains a segment (from Begin Date to End Date) of rate setup for a project.  Rate card, contract rate discount percentage and billing adjusted discount percentage can be specified. A collection of these structures, taken together, represent the rate cards and discounts in use over time for a project.

Format

Panel
titlePwsProjectRate
  • PwsProjectRate
    • BeginDate: DateTime
    • BillingAdjustedDiscountPercent: Double
    • ContractDiscountPercent: Double
    • EndDate: DateTime
    • RateCardIdentity: PwsRateCardRef

Elements

Element

Data Type

Required?

Default

Description

Sample Data

BeginDate

DateTime

 

 

 

 

On Insert: No

On Update: No


This is the start of the effective date range for this record.

2018-07-01T00:00:00Z

BillingAdjustedDiscountPercent

Double

 

 

 

  

On Insert: No

On Update: No

0

This number reflects the discount on billing adjusted revenue rate from the contract rate.Use a negative discount to raise rates. A positive discount to lower them.

5

ContractDiscountPercent

Double

 

 

 

 

On Insert: No

On Update: No

0

This number reflects the discount on contract rate from the rate card rate. Use a negative discount to raise rates. A positive discount to lower them.

0

EndDate

DateTime

 

 

 

 

On Insert: No

On Update: No


This is the end of the effective date range for this record.

2018-12-31T00:00:00Z

RateCardIdentity

PwsRateCardRef

 

 

 

On Insert: Yes

On Update: Yes


The identity of the rate card in use for the project during the specified time period. Please click here for more information.


Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
   					  <b:PwsProjectRate>
                           <b:BeginDate>2018-07-01T00:00:00Z</b:BeginDate>
                           <b:BillingAdjustedDiscountPercent>5</b:BillingAdjustedDiscountPercent>
                           <b:ContractDiscountPercent>0</b:ContractDiscountPercent>
                           <b:EndDate i:nil="true"/>
                           <b:RateCardIdentity>
                              <b:RateCardId i:nil="true"/>
                              <b:RateCardName>Corporate Standard Rates (USD)</b:RateCardName>
                              <b:RateCardType>R</b:RateCardType>
                              <b:RateCardUid>1152921504606854730</b:RateCardUid>
                           </b:RateCardIdentity>
                        </b:PwsProjectRate>