PwsProjectCostBaselineDetail

Overview


This structure is part of the PwsProjectCostBaselineElement, and it contains the complete set of information about a project cost baseline. The structure is used both to retrieve detailed project cost baseline information and to pass information about a project cost baseline back to the server to get updated.

Format


PwsProjectCostBaselineDetail
  • PwsProjectCostBaselineDetail
    • ExternalSystemIdentifier: String (50)
    • ProjectCostBaselineId: Int32
    • ProjectCostBaselineUid: Int64
    • ActiveProjectCostBaselineFlag: Boolean
    • CaMetricActiveFlag: Boolean
    • DaMetricActiveFlag: Boolean
    • Description: String (1000)
    • EaMetricActiveFlag: Boolean
    • PrimaryMetric: String (1)
    • ProjectCostBaselineName: String (50)
    • ProjectCostBaselineBuckets: PwsProjectCostBaselineBucket []
    • Timestamp: String

Elements


Element

Data Type

Required?

Default

Description

Sample Data

ExternalSystemIdentifier

String (50)

One of ExternalSystemIdentifier or ProjectCostBaselineUid is required


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


ProjectCostBaselineId

Int32

No


The project cost baseline id is a unique identifier for a project cost baseline. For internal use only.


ProjectCostBaselineUid

Int64

See ExternalSystemIdentifier


A unique and immutable identifier for a project cost baseline.


ActiveProjectCostBaselineFlag

Boolean

On Insert: No

On Update: No 

Defaults to false on create, must be same as existing on update, or null

If set to 'true', the project cost baseline referenced by this web service is set as the active project cost baseline.

true


CaMetricActiveFlag

Boolean

On Insert: At least one of CaMetricActiveFlag, DaMetricActiveFlag and/or EaMetricActiveFlag is required

On Update: No 

Defaults to false on create, must be same as existing on update, or null

If set to 'true', the client amount is set as an active project cost baseline metric.

true


DaMetricActiveFlag

Boolean

See CaMetricActiveFlag 

Defaults to false on create, must be same as existing on update, or null

If set to 'true', the disbursed amount is set as an active project cost baseline metric.

false


Description

String (1000)

On Insert: No

On Update: No 


The project cost baseline description.

Client Amount Cost Baseline


EaMetricActiveFlag

Boolean

See CaMetricActiveFlag 


Defaults to false on create, must be same as existing on update, or null 

If set to 'true', the expense amount is set as an active project cost baseline metric. 

false


PrimaryMetric

String (1)

On Insert: Yes

On Update: No


The primary metric for the project cost baseline:

"C" for Client Amount
"D" for Disbursed Amount
"E" for Expense Amount


Baselines can have multiple active metrics, but only one metric is designated as the primary metric.

C


ProjectCostBaselineName

String (50)

On Insert: Yes

On Update: No 


The project cost baseline name.

Client Amount Budget

ProjectCostBaselineBuckets

PwsProjectCostBaselineBucket []

On Insert: Yes

On Update: No 


The information associated with the project cost baseline buckets.


TimestampString

On Insert: Yes

On Update: No


This is an optimistic locking timestamp that, if provided on update request, will cause the request to fail when the timestamp stored in the database does not match the provided value.AAAAABFC9fQ=

Usage Example(s)


Example 01
                 <b:ProjectCostBaselineDetail>
                     <b:ExternalSystemIdentifier i:nil="true"/>
                     <b:ProjectCostBaselineId i:nil="true"/>
                     <b:ProjectCostBaselineUid>1152921504607284685</b:ProjectCostBaselineUid>
                     <b:ActiveProjectCostBaselineFlag>true</b:ActiveProjectCostBaselineFlag>
                     <b:CaMetricActiveFlag>true</b:CaMetricActiveFlag>
                     <b:DaMetricActiveFlag>true</b:DaMetricActiveFlag>
                     <b:Description>Barber of Serville production cost</b:Description>
                     <b:EaMetricActiveFlag>true</b:EaMetricActiveFlag>
                     <b:PrimaryMetric>C</b:PrimaryMetric>
                     <b:ProjectCostBaselineName>Barber of Serville (Rossini)</b:ProjectCostBaselineName>
                     <b:ProjectCostBaselineBuckets>
                        <b:PwsProjectCostBaselineBucket>
                           <b:ClientAmount>100</b:ClientAmount>
                           <b:DisbursedAmount>0</b:DisbursedAmount>
                           <b:EndDate>2018-11-30T00:00:00Z</b:EndDate>
                           <b:ExpenseAmount>0</b:ExpenseAmount>
                           <b:ExpenseTypeGroupIdentity>
                              <b:ExpenseTypeGroupId i:nil="true"/>
                              <b:ExpenseTypeGroupName>Out of Pocket Expense</b:ExpenseTypeGroupName>
                              <b:ExpenseTypeGroupUid>1152921504606847004</b:ExpenseTypeGroupUid>
                           </b:ExpenseTypeGroupIdentity>
                           <b:ExpenseTypeIdentity i:nil="true"/>
                           <b:StartDate>2018-11-01T00:00:00Z</b:StartDate>
                        </b:PwsProjectCostBaselineBucket>
                        <b:PwsProjectCostBaselineBucket>
                           <b:ClientAmount>110</b:ClientAmount>
                           <b:DisbursedAmount>0</b:DisbursedAmount>
                           <b:EndDate>2018-11-30T00:00:00Z</b:EndDate>
                           <b:ExpenseAmount>0</b:ExpenseAmount>
                           <b:ExpenseTypeGroupIdentity>
                              <b:ExpenseTypeGroupId i:nil="true"/>
                              <b:ExpenseTypeGroupName>Vendor Expense</b:ExpenseTypeGroupName>
                              <b:ExpenseTypeGroupUid>1152921504606847264</b:ExpenseTypeGroupUid>
                           </b:ExpenseTypeGroupIdentity>
                           <b:ExpenseTypeIdentity i:nil="true"/>
                           <b:StartDate>2018-11-01T00:00:00Z</b:StartDate>
                        </b:PwsProjectCostBaselineBucket>
                        <b:PwsProjectCostBaselineBucket>
                           <b:ClientAmount>120</b:ClientAmount>
                           <b:DisbursedAmount>0</b:DisbursedAmount>
                           <b:EndDate>2018-11-30T00:00:00Z</b:EndDate>
                           <b:ExpenseAmount>0</b:ExpenseAmount>
                           <b:ExpenseTypeGroupIdentity>
                              <b:ExpenseTypeGroupId i:nil="true"/>
                              <b:ExpenseTypeGroupName>Administrative Fees</b:ExpenseTypeGroupName>
                              <b:ExpenseTypeGroupUid>1152921504606847524</b:ExpenseTypeGroupUid>
                           </b:ExpenseTypeGroupIdentity>
                           <b:ExpenseTypeIdentity i:nil="true"/>
                           <b:StartDate>2018-11-01T00:00:00Z</b:StartDate>
                        </b:PwsProjectCostBaselineBucket>
                        <b:PwsProjectCostBaselineBucket>
                           <b:ClientAmount>130</b:ClientAmount>
                           <b:DisbursedAmount>0</b:DisbursedAmount>
                           <b:EndDate>2018-11-30T00:00:00Z</b:EndDate>
                           <b:ExpenseAmount>0</b:ExpenseAmount>
                           <b:ExpenseTypeGroupIdentity>
                              <b:ExpenseTypeGroupId i:nil="true"/>
                              <b:ExpenseTypeGroupName>Software License Revenue</b:ExpenseTypeGroupName>
                              <b:ExpenseTypeGroupUid>1152921504606847784</b:ExpenseTypeGroupUid>
                           </b:ExpenseTypeGroupIdentity>
                           <b:ExpenseTypeIdentity i:nil="true"/>
                           <b:StartDate>2018-11-01T00:00:00Z</b:StartDate>
                        </b:PwsProjectCostBaselineBucket>
                        <b:PwsProjectCostBaselineBucket>
                           <b:ClientAmount>200</b:ClientAmount>
                           <b:DisbursedAmount>0</b:DisbursedAmount>
                           <b:EndDate>2018-12-31T00:00:00Z</b:EndDate>
                           <b:ExpenseAmount>0</b:ExpenseAmount>
                           <b:ExpenseTypeGroupIdentity>
                              <b:ExpenseTypeGroupId i:nil="true"/>
                              <b:ExpenseTypeGroupName>Out of Pocket Expense</b:ExpenseTypeGroupName>
                              <b:ExpenseTypeGroupUid>1152921504606847004</b:ExpenseTypeGroupUid>
                           </b:ExpenseTypeGroupIdentity>
                           <b:ExpenseTypeIdentity i:nil="true"/>
                           <b:StartDate>2018-12-01T00:00:00Z</b:StartDate>
                        </b:PwsProjectCostBaselineBucket>
                        <b:PwsProjectCostBaselineBucket>
                           <b:ClientAmount>220</b:ClientAmount>
                           <b:DisbursedAmount>0</b:DisbursedAmount>
                           <b:EndDate>2018-12-31T00:00:00Z</b:EndDate>
                           <b:ExpenseAmount>0</b:ExpenseAmount>
                           <b:ExpenseTypeGroupIdentity>
                              <b:ExpenseTypeGroupId i:nil="true"/>
                              <b:ExpenseTypeGroupName>Vendor Expense</b:ExpenseTypeGroupName>
                              <b:ExpenseTypeGroupUid>1152921504606847264</b:ExpenseTypeGroupUid>
                           </b:ExpenseTypeGroupIdentity>
                           <b:ExpenseTypeIdentity i:nil="true"/>
                           <b:StartDate>2018-12-01T00:00:00Z</b:StartDate>
                        </b:PwsProjectCostBaselineBucket>
                        <b:PwsProjectCostBaselineBucket>
                           <b:ClientAmount>240</b:ClientAmount>
                           <b:DisbursedAmount>0</b:DisbursedAmount>
                           <b:EndDate>2018-12-31T00:00:00Z</b:EndDate>
                           <b:ExpenseAmount>0</b:ExpenseAmount>
                           <b:ExpenseTypeGroupIdentity>
                              <b:ExpenseTypeGroupId i:nil="true"/>
                              <b:ExpenseTypeGroupName>Administrative Fees</b:ExpenseTypeGroupName>
                              <b:ExpenseTypeGroupUid>1152921504606847524</b:ExpenseTypeGroupUid>
                           </b:ExpenseTypeGroupIdentity>
                           <b:ExpenseTypeIdentity i:nil="true"/>
                           <b:StartDate>2018-12-01T00:00:00Z</b:StartDate>
                        </b:PwsProjectCostBaselineBucket>
                        <b:PwsProjectCostBaselineBucket>
                           <b:ClientAmount>260</b:ClientAmount>
                           <b:DisbursedAmount>0</b:DisbursedAmount>
                           <b:EndDate>2018-12-31T00:00:00Z</b:EndDate>
                           <b:ExpenseAmount>0</b:ExpenseAmount>
                           <b:ExpenseTypeGroupIdentity>
                              <b:ExpenseTypeGroupId i:nil="true"/>
                              <b:ExpenseTypeGroupName>Software License Revenue</b:ExpenseTypeGroupName>
                              <b:ExpenseTypeGroupUid>1152921504606847784</b:ExpenseTypeGroupUid>
                           </b:ExpenseTypeGroupIdentity>
                           <b:ExpenseTypeIdentity i:nil="true"/>
                           <b:StartDate>2018-12-01T00:00:00Z</b:StartDate>
                        </b:PwsProjectCostBaselineBucket>
                     </b:ProjectCostBaselineBuckets>
                     <b:Timestamp>AAAAABFC9fQ=</b:Timestamp>
                  </b:ProjectCostBaselineDetail>