Create Schedule Sheet Activities from Primavera P5 and P6 XML

Support for SOAP is deprecated starting with Unifier 23.10.

Description

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

Support

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

Installation: ASP and Self host

Level Yes or No
Company Level No
Project/Shell Level Yes

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 a project/shell.
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 Appendix B: 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, the method will return an error in the response.

This service can be used for Projects/Shells of cost code type CBS.

Activity identified with this creation method will be the globally unique identifier (GUID).

Data Mapping Marked as default will be used.