ResourceViewTablesCreate Method

Description

Starts the process that populates the resource view tables from the Enterprise Resource Pool of Microsoft Office Project Server 2003, for the specified resource UID.

Syntax

<Request>
   <ResourceViewTablesCreate>
      <ResourceUID></ResourceUID>
      <StartDate></StartDate>
      <FinishDate></FinishDate>
   </ResourceViewTablesCreate>
</Request>

Parameters

Dates may be entered as YYYYMMDD or YYYYMMDDHHMMSS. If the hours, minutes and seconds are included, they should be set to the exact day (for example, 20031021000000). The date must fall within the range 1984 to 2049, inclusive.

ResourceUID

Optional. The resource unique ID. Multiple resource UIDs are valid. If ResourceUID is not specified, ResourceViewTablesCreate defaults to all resources in the Enterprise Resource Pool.

StartDate

Optional. If the start date is specified, it overrides the default start date in Project Server.

FinishDate

Optional. If the finish date is specified, it overrides the default finish date in Project Server.

Return Value

If the table update is successful, the PDS returns a successful HRESULT and STATUS.

<Reply>
   <HRESULT></HRESULT>
   <STATUS></STATUS>
   <UserName></UserName>
</Reply>

Remarks

The PDS checks Project Server security for the currently logged-on user, and determines whether that user has checkout access to the specified resource UIDs, or has administrative permissions. If so, the PDS starts the process that populates the resource view tables with updated resource availability and work entries for the specified Resource UID.