PwsCostCardImage

Overview

This data structure contains the essential information of a cost card that has been adjusted.  It is contained within PwsInvoiceAdjustmentHistoryCostCard for either the before or after snapshot of the cost card. 

Format


PwsCostCardImage

Elements

Element

Data Type

Required?

Default

Description

BaseAmount

Double



The base amount associated with the cost card. 

ClientAmount

Double



The client amount associated with the cost card.  It is the same of the BaseAmount and all the write up/down adjustments. 

Description

String



The description assoiated with the cost card. 

ExpenseTypeIdentity

PwsExpenseTypeRef



This structure represents the unique key fields associated with identifying an expense type.

LocationIdentity

PwsLocationRef



This structure contains the unique key fields associated with a location.

ProjectIdentity

PwsProjectRef



This structure represents the unique key fields associated with identifying a project.

ProjectName

String



The name of the project. 

Udf1Value

PwsCardUdfValue



This structure represents the value of a user defined field. 

Udf2Value

PwsCardUdfValue



This structure represents the value of a user defined field. 

Units

Double



If the cost card is unit based, this is the value of the number of units associated with the cost card. 

Usage Example(s)


Example 01
  					         <b:AfterImage>
                              <b:BaseAmount>1.97</b:BaseAmount>
                              <b:ClientAmount>1.97</b:ClientAmount>
                              <b:Description i:nil="true"/>
                              <b:ExpenseTypeIdentity>
                                 <b:ExpenseTypeId i:nil="true"/>
                                 <b:ExpenseTypeName>---Passthrough cost---</b:ExpenseTypeName>
                                 <b:ExpenseTypeUid>1152921504606869370</b:ExpenseTypeUid>
                              </b:ExpenseTypeIdentity>
                              <b:LocationIdentity i:nil="true"/>
                              <b:ProjectIdentity>
                                 <b:ProjectCode>VANGOGH-001</b:ProjectCode>
                                 <b:ProjectId i:nil="true"/>
                                 <b:ProjectUid>1152921504607331036</b:ProjectUid>
                              </b:ProjectIdentity>
                              <b:ProjectName>Van Gogh and Nature exhibit</b:ProjectName>
                              <b:Udf1Value>
                                 <b:BooleanValue i:nil="true"/>
                                 <b:DateValue i:nil="true"/>
                                 <b:IntegerValue i:nil="true"/>
                                 <b:TextValue i:nil="true"/>
                                 <b:RelationValue i:nil="true"/>
                                 <b:NumericValue i:nil="true"/>
                              </b:Udf1Value>
                              <b:Udf2Value>
                                 <b:BooleanValue i:nil="true"/>
                                 <b:DateValue i:nil="true"/>
                                 <b:IntegerValue i:nil="true"/>
                                 <b:TextValue i:nil="true"/>
                                 <b:RelationValue i:nil="true"/>
                                 <b:NumericValue i:nil="true"/>
                              </b:Udf2Value>
                              <b:Units>1.5</b:Units>
                           </b:AfterImage>