RemainingWork Element (SetAssignmentWorkData)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies a work data update to the Remaining Work field and contains the new value for that field.

<RemainingWork>
  WorkValue
</RemainingWork>

Attributes

Attribute

Description

None

Child Elements

None

Parent Elements

Change, PeriodChange

Occurrences

Minimum: 1

Maximum: 1

Text Value

A text value is required. This text specifies the value the Remaining Work field is updated to.

You must represent work duration data in Project work time units (PWU). 1 PWU=1/1000 of a minute. 480,000 PWU=8 hours.

Remarks

NoteNote

If the value specified in the TotalWork element does not equal the sum of the values specified in the ActualWork and RemainingWork elements, a StatusingInvalidUpdateData error occurs. This applies only to simple work data updates defined by using the parent Change element.

Example

The following example uses the RemainingWork element to specify that the Remaining Work field is updated to the value of 16 hours 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>