Update Schedule Sheet Activities from Oracle® Primavera™ P5 and P6 XML

Description

This method will insert/update activities into any project or shell schedule sheet. It will not overwrite existing activities in the schedule sheet.

Support

This method can only update activities in project or shell level schedule sheets.

Installation: ASP and Self host

Level

Yes or No

Company Level

No

Project or Shell Level

Yes

Prototype

public XMLObject updateScheduleActivities(String shortname, String authcode, String projectNumber, String sheetName, String sheetXML);

Parameters

Parameter

Description

shortname

Identifier of the company, company’s short name

authcode

Authentication code for the company, in text string

projectNumber

Identifier of project or shell in Unifier.

sheetName

Name of Schedule Sheet to import activities into.

sheetXML

Content of activities to import. This is obtained from the Primavera P5/P6 xml content. The Primavera XML content should be generated by exporting the full Primavera project.

Return Value

See Return Values.

Sample Method

updateScheduleActivities("acme","acme_authcode","Proj-0001","Schedule Sheet 001", "<XML Content>");

Additional Information

You must perform appropriate data mapping setups on the target schedule sheet. This includes mapping Unifier Schedule Sheet columns to Primavera XML elements, and setting appropriate XML Import options.

This method will insert/update activities into any project or shell schedule sheet. It will not overwrite existing activities in the schedule sheet. The method will utilize the data mapping setup to update only those elements that are mapped.

The method errors out if the data mapping option does not allow merge.

Activities are uniquely identified within Primavera by the Globally Unique Id (<GUID>). The GUID is assumed to be unique not just within Primavera but across all products including Unifier.

Resource assignments will be imported (inserted/updated) if the ‘Import Resource Assignments’ checkbox is selected. Resource assignments will be matched by Resource Name.

This service can be used for both Project (Standard) and Shells of cost code type CBS.

Related Topics

Schedule Manager Methods

Create Schedule Sheet Activities from Primavera P5 and P6 XML

Create Schedule Sheet Activities V2 from Oracle® Primavera P6™ XML

Create Schedule Activities from file V2

Update Schedule Sheet Activities V2 from Oracle® Primavera™ P6 XML

Update Schedule Activities From File V2

Get Schedule Sheet Activities from Unifier

Get a List of Project Schedule Sheets

Get a List of Schedule Sheet Data Mappings



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022