Assn Element

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 the identity of the assignment to change with a status update and contains change information.

<Assn
  ID = "Text">
</Assn>

Attributes

Attribute

Description

ID

Required Text. Specifies the globally unique identifier (GUID) of the assignment. Values must be in the form "FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF" where "F" represents a hexadecimal digit between "0" and "F".

Child Elements

Change, LookupTableCustomFieldChange, PeriodChange, SimpleCustomFieldChange

Parent Elements

Proj

Occurrences

Minimum: 0

Maximum: Unbounded

Remarks

For information about updatable assignment fields, PIDs, and required data types, see Supported Project Fields and Field Information for Statusing ChangeXML.

Example

The following example specifies multiple updates to a single assignment. The Change element updates the Percent Work Complete field to the integer value of 25. Three PeriodChange elements specify timephased updates to the Actual Work field for the assignment. These updates use Project Time Unit values to add 4, 2, and 6 hours of actual work to the assignment with the timephasing specified by the Start and End attributes of the PeriodChange elements.

<Changes>
  <Proj ID="a47faeab-0f72-455a-b629-d62faf5fece6">
    <Assn ID="6c9888a8-a782-47ac-a905-e84ad1fe0fb2">
      <Change PID="251658274">
        25
      </Change>
      <PeriodChange PID="251658250" Start="2006-10-27T08:00:00" End="2006-10-27T12:00:00">
        240000
      </PeriodChange>
      <PeriodChange PID="251658250"  Start="2006-10-28T08:00:00" End="2006-10-27T12:00:00">
        120000
      </PeriodChange>
      <PeriodChange PID="251658250"  Start="2006-10-29T08:00:00" End="2006-10-27T12:00:00">
        360000
      </PeriodChange>
    </Assn>
  </Proj>
</Changes>