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.