Update CBS Codes

Description

This method updates CBS code under Project or Shell (cost code type as CBS) cost sheet. The updateWBS allows existing CBS attributes to be changed. All user-defined and system-attributes are available to be modified. The CBS Code cannot be edited.

Support

This service is available for Project/Shell.

Prototype

Public XMLObject updateWBS(String shortname,String authcode, string projectNumber, String WBSXML );

Parameters

Parameter

Description

shortname

identifier of the company, company’s short name

authcode

authentication key for the company, in text string

projectNumber

identifier of the project or a shell in Unifier

WBSXML

identifier used for CBS update XML format

Return Value

See Return Values

Additional Information

You can update CBS Code with a Tree Structure.

getWBSStructure

Users will be able to update CBS codes with tree structure.

Use getWBSStructure service to get the CBS attribute structure. The retrieved structure can be used to update CBS codes; however, the retrieved structure XML is needed to be wrapped as follows:

<![CDATA[

<List_Wrapper> <!-- List Wrapper Added -->

<_bp_wbscode>

<wbs_code></wbs_code>

<wbs_item></wbs_item>

<description></description>

<costattribute></costattribute>

<external_refid></external_refid>

<owner></owner>

<status></status>

<cost_type></cost_type>

<exposed_to_p6></exposed_to_p6>

</_bp_wbscode>

</List_Wrapper> <!-- List Wrapper Closed-->

]]>

User can define a Cost Attribute form in uDesigner. In order to send XML message to update Cost codes user has to send data using schema that is generated as output from getWBSStrucutre service.

If the Project or Shell CBS structure is in tree mode, or a parent / child relationship is required, the CBS code passed via the integration interface must concatenate the parent CBS code and child CBS code with "~~" as the delimiter.

If you have multilevel parent child relationship then you have to pass in "~~" as delimiter at all levels to separate parent and child.

This service will only work for Shells with Cost Code: CBS and standard projects.



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022