Get CBS Codes

Support for SOAP is deprecated starting with Unifier 23.10.

Description

This method gets the CBS Codes in Unifier for a particular project/shell.

Support

This service is available at project/shell level.

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

Prototype

Public XMLObject getWBSCodes(String shortname, String authcode, String projectnumber, String options);

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/shell.
options

Three options are available:

  • <status>: can be set to active or inactive. If status is blank or not provided it will return all status.
  • <cost_type>: can be set to capital or expense. If cost_type is blank or not provided it will return all cost types.
  • <summary_detail>: can be set to true or false. Setting to true, leaving blank or not providing the value will return all summaries and detail CBS codes. Setting to false will return on the detail CBS codes with no summaries.

Return Value

See Appendix B: Return Values.

Sample Method

getWBSCodes ("acme", "acme_authcode", "P-00001" status=active)