Create Schedule Sheet Activities from Primavera P5 and P6 XML

Description

This method creates activities into an existing Unifier project or shell (cost code type CBS) level schedule sheet using default data mapping.

Support

This method can only support creation of activities in project or shell (cost code type CBS) level schedule sheets.

Installation: ASP and Self host

Level

Yes or No

Company Level

No

Project and Shell Level

Yes

Program Level

No

Prototype

public XMLObject createScheduleActivities(String shortname, String authcode, String projectNumber, String scheduleSheet, String scheduleXML);

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.

scheduleSheet

Name of Schedule Sheet to import activities into.

scheduleXML

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

createScheduleActivities("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. Only elements that are mapped will be copied.

This method can only be used to create new activities not for updating existing activities.

If invoked on an empty schedule sheet, this method will insert activities into the schedule sheet. If invoked on a non-empty schedule sheet, it will overwrite all existing activities (delete and recreate) in the non-empty schedule sheet if this function is allowed in the data mapping setup.

If the method is called on a non-empty schedule sheet and the data mapping setup does not allow overwrite, then the method will return an error in the response.

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

Activity identified with this creation method will be GUID.

Data Mapping Marked as default will be used.

Related Topics

Schedule Manager Methods

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

Create Schedule Activities from file V2

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

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