Share via


Change Element (SetAssignmentWorkData)

Applies to: Office 2010 | Project 2010 | Project Server 2010 | SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Contains the elements that define a simple work data update.

<Change>
</Change>

Attributes

Attribute

Description

None

Child Elements

ActualWork, Comments, RemainingWork, Status, StatusGuid, TotalWork

Parent Elements

Assn

Occurrences

Minimum: 1

Maximum: 1

Remarks

You can define only a single Change element within each parent Assn element.

Example

The following example uses the Change element to contain a simple work data update that specifies 8 hours of actual work, 16 hours of remaining work, and 24 hours of total work for the specified assignment.

<Changes>
  <Proj ID="a47faeab-0f72-455a-b629-d62faf5fece6">
    <Assn ID="6c9888a8-a782-47ac-a905-e84ad1fe0fb2">
      <Change>
        <ActualWork>480000</ActualWork>
        <RemainingWork>960000</RemainingWork>
        <TotalWork>1440000</TotalWork>
      </Change>
    </Assn>
  </Proj>
</Changes>