Share via


Assn Element (SetAssignmentWorkData)

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

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Specifies the identity of the assignment to change with a work data 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 "HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH" where "H" represents a hexadecimal digit between "'0" and "F".

Child Elements

Change, PeriodChange

Parent Elements

Proj

Occurrences

Minimum: 1

Maximum: Unbounded

Remarks

Each Assn element can contain either a single Change element, or one or more PeriodChange elements.

Example

The following example uses two Assn elements. The first Assn element contains a simple work data update defined with the Change element. The second Assn element contains a timephased work data update defined with the PeriodChange element.

<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>
    <Assn ID="352eb69a-a915-4849-b9f0-3d26d0d6e0a8">
      <PeriodChange>
        <ActualWork Start="2007-04-16T08:00:00" End="2007-04-20T16:00:00">19200000</ActualWork>
        <OvertimeWork Start="2007-04-17T16:00:00" End="2007-04-17T18:00:00">480000</OvertimeWork>
        <RemainingWork>920000</RemainingWork>
      </PeriodChange>
    </Assn>
  </Proj>
</Changes>