Condividi tramite


ActualWork Element for Parent PeriodChange (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 a timephased work data update to the Actual Work field and contains the new value for that field.

<ActualWork
  Start="dateTime"
  End="dateTime">
      WorkValue
</TotalWork>

Attributes

Attribute

Description

Start

Required dateTime. The value for the beginning of the timephased period.

End

Required dateTime. The value for the end of the timephased period.

Child Elements

None

Parent Elements

PeriodChange

Occurrences

Minimum: 0

Maximum: Unbounded

Text Value

A text value is required. This text specifies the value that the Actual 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.

Example

The following example uses the ActualWork element to specify a timephased update of 40 hours over 5 days to the Actual Work field for the specified assignment.

<Changes>
  <Proj ID="a47faeab-0f72-455a-b629-d62faf5fece6">
    <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>