Update CBS Codes

Support for SOAP is deprecated starting with Unifier 23.10.

Description

This method updates CBS code under project/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

WBSXML

identifier used for CBS update XML format

Return Value

See Appendix A: 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. To send XML message to update Cost codes, the user has to send data using schema that is generated as output from getWBSStrucutre service.

If the project/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, you must pass in "~~" as delimiter at all levels to separate parent and child.

This service will only work for projects/shells with a CBS Cost Code.



Last Published Wednesday, April 9, 2025