次の方法で共有


Assignment Elements and XML Structure

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.

This section contains information about children of the Assignments element defined in the Microsoft Office Project 2007 XML Data Interchange Schema (mspdi_pj12.xsd). The elements represent assignment data when you save a project in the XML format.

Assignments is a child of the Project element. For more information, see Project Elements and XML Structure.

XML Structure of Assignment Elements

The following shows the XML structure of the elements defined by the Assignment schema section of mspdi_pj12.xsd. The data type is indicated for those elements that require a text value. You can find more detailed information about valid text values for each element in the documentation annotations that are embedded in the XML Schema for the Assignments Element.

For more information about the data types used in the Project 2007 XML Data Interchange Schema, see Introduction to Project XML Data.

Many of the Assignment elements represent data fields in Microsoft Office Project Professional 2007. For more information about fields in Project Professional 2007 and Project Standard 2007, see Fields Reference.

Note

Detailed information about the structure of the TimephasedData element is shown in TimephasedDataType Elements and XML Structure in this schema reference.

<Assignments>

    <Assignment>

        <UID>integer</UID>

        <TaskUID>integer</TaskUID>

        <ResourceUID>integer</ResourceUID>

        <PercentWorkComplete>integer</PercentWorkComplete>

        <ActualCost>decimal</ActualCost>

        <ActualFinish>dateTime</ActualFinish>

        <ActualOvertimeCost>decimal</ActualOvertimeCost>

        <ActualOvertimeWork>duration</ActualOvertimeWork>

        <ActualStart>dateTime</ActualStart>

        <ActualWork>duration</ActualWork>

        <ACWP>float</ACWP>

        <Confirmed>boolean</Confirmed>

        <Cost>decimal</Cost>

        <CostRateTable>integer</CostRateTable>

        <CostVariance>float</CostVariance>

        <CV>float</CV>

        <Delay>integer</Delay>

        <Finish>dateTime</Finish>

        <FinishVariance>integer</FinishVariance>

        <Hyperlink>string</Hyperlink>

        <HyperlinkAddress>string</HyperlinkAddress>

        <HyperlinkSubAddress>string</HyperlinkSubAddress>

        <WorkVariance>float</WorkVariance>

        <HasFixedRateUnits>boolean</HasFixedRateUnits>

        <FixedMaterial>boolean</FixedMaterial>

        <LevelingDelay>integer</LevelingDelay>

        <LevelingDelayFormat>integer</LevelingDelayFormat>

        <LinkedFields>boolean</LinkedFields>

        <Milestone>boolean</Milestone>

        <Notes>string</Notes>

        <OverAllocated>boolean</Overallocated>

        <OvertimeCost>decimal</OvertimeCost>

        <OvertimeWork>duration</OvertimeWork>

        <PeakUnits>float</PeakUnits>

        <RegularWork>duration</RegularWork>

        <RemainingCost>decimal</RemainingCost>

        <RemainingOvertimeCost>decimal</RemainingOvertimeCost>

        <RemainingOvertimeWork>duration</RemainingOvertimeWork>

        <RemainingWork>duration</RemainingWork>

        <ResponsePending>boolean</ResponsePending>

        <Start>dateTime</Start>

        <Stop>dateTime</Stop>

        <Resume>dateTime</Resume>

        <StartVariance>integer</StartVariance>

        <Summary>boolean</Summary>

        <SV>float</SV>

        <Units>float</Units>

        <UpdateNeeded>boolean</UpdateNeeded>

        <VAC>float</VAC>

        <Work>duration</Work>

        <WorkContour>integer</WorkContour>

        <BCWS>float</BCWS>

        <BCWP>float</BCWP>

        <BookingType>integer</BookingType>

        <ActualWorkProtected>duration</ActualWorkProtected>

        <ActualOvertimeWorkProtected>duration</ActualOvertimeWorkProtected>

        <CreationDate>dateTime</CreationDate>

        <AssnOwner>string</AssnOwner>

        <AssnOwnerGuid>string</AssnOwnerGuid>

        <BudgetCost>decimal</BudgetCost>

        <BudgetWork>duration</BudgetWork>

        <ExtendedAttribute>

            <FieldID>string</FieldID>

            <Value>string</ValueID>

            <ValueGUID>string</UID>

            <DurationFormat>integer</ValueID>

        </ExtendedAttribute>

        <Baseline>

            <TimephasedData>…</TimephasedData>        

            <Number>string</Number>

            <Start>string</Start>

            <Finish>string</Finish>

            <Work>duration</Work>

            <Cost>string</Cost>

            <BCWS>float</BCWS>

            <BCWP>float</BCWP>

        </Baseline>    

        <!-- ##New Project 2007 assignment enterprise custom field elements are written here. See Custom Field Data in XML for more information. -->    

        <f404000>variable data type</f404000>        <!-- See f404000 - f4040c8 Elements -->

        . . .

        <f4040c8>variable data type</f4040c8>

        <f408000>variable data type</f408000>        <!-- See f408000 - f417fff Elements -->

        . . .

        <f417fff>variable data type</f417fff>

        <TimephasedData>. . .</TimephasedData>

    </Assignment>

</Assignments>

See Also

Reference

TimephasedDataType Elements and XML Structure

Concepts

Introduction to Project XML Data

XML Schema for the Assignments Element

Custom Field Data in XML

Project Elements and XML Structure

Other Resources

Fields Reference