PwsInvoiceAdjustmentHistoryCostCard

Overview

This data structure contains the necessary information of a cost card that has been adjusted. It includes the unique identifier of the time card, and the before and after snapshot of the cost card adjustment. 

Format


PwsInvoiceAdjustmentHistoryCostCard

Elements

Element

Data Type

Required?

Default

Description

CardDate

DateTime



The cost incurred date associated with the cost card.

CardId

Int32



The cost card Id is a unique identifier for a cost card. For internal use only.

CardUid

Int64



The cost card Uid is a unique identifier for a time card.

ResourceIdentity

PwsResourceRef



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

AfterImage

PwsCostCardImage



This data structure contains the essential information of a cost card that has been adjusted. AfterImage contains the after adjustment PwsCostCardImage.

BeforeImage

PwsCostCardImage



This data structure contains the essential information of a cost card that has been adjusted. AfterImage contains the after adjustment PwsCostCardImage.

Usage Example(s)


Example 01
  						<b:PwsInvoiceAdjustmentHistoryCostCard>
                           <b:CardDate>2015-06-01T00:00:00Z</b:CardDate>
                           <b:CardId i:nil="true"/>
                           <b:CardUid>1152921504613409729</b:CardUid>
                           <b:ResourceIdentity>
                              <b:ResourceDisplayName>Matt Murdock</b:ResourceDisplayName>
                              <b:ResourceId i:nil="true"/>
                              <b:ResourceReferenceSystemId>ID-MM</b:ResourceReferenceSystemId>
                              <b:ResourceUid>1152921504607073813</b:ResourceUid>
                           </b:ResourceIdentity>
                           <b:AfterImage>
                              <b:BaseAmount>1.97</b:BaseAmount>
                              <b:ClientAmount>1.97</b:ClientAmount>
                              <b:Description>#1 AP: No; AR: No (1.00) (new description)</b:Description>
                              <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>
                           <b:BeforeImage>
                              <b:BaseAmount>1.97</b:BaseAmount>
                              <b:ClientAmount>1.97</b:ClientAmount>
                              <b:Description>#1 AP: No; AR: No (1.00)</b:Description>
                              <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:BeforeImage>
                        </b:PwsInvoiceAdjustmentHistoryCostCard>