Share via


Status Element (SetAssignmentWorkData)

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

In this article
Attributes
Child Elements
Parent Elements
Occurrences
Text Value

Specifies the assignment-level value for the Health enterprise custom field to set with a work data update.

<Status>
  Text
</Status>

Attributes

Attribute

Description

None

Child Elements

None

Parent Elements

Change, PeriodChange

Occurrences

Minimum: 0

Maximum: 1

Text Value

A text value is optional. This text specifies the text value of the Health lookup table value.

Remarks

To update the assignment-level value of the Health enterprise custom field, you must include both the Status and the StatusGuid elements in your ChangeXML string.

Table 1 defines the preconfigured lookup table values for the Health enterprise custom field and their corresponding GUIDs.

Table 1. Preconfigured lookup table values for Health enterprise custom field

Text Value

GUID

Blocked

0000eee0-9844-4de1-97c1-357d94cd8802

Completed

00001db0-125e-4641-b5fc-2a52ba36e278

Early

00001441-3cf6-4710-b877-2e17914fa97c

Late

0000c45d-8a43-4eb0-9b74-e535b391988a

Not specified

000079d2-4a43-41fc-b264-98d23fadd84b

On schedule

0000bb21-b2ae-410a-88b6-82c108903823

Example

The following example uses the Status and StatusGuid elements to set the value of the assignment-level Health enterprise custom field to the lookup table value Early.

<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>
        <Comments>-I started early because I had some extra time.</Comments>
        <Status>Early</Status>
        <StatusGuid>00001441-3cf6-4710-b877-2e17914fa97c</StatusGuid>
      </Change>
    </Assn>
  </Proj>
</Changes>

See Also

Reference

StatusGuid