Description
This method gets the CBS Codes in Unifier for a particular project or shell.
Support
This service is available at Project/Shell
Level | Yes or No |
---|---|
Company Level | No |
Project and 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 or shell in Unifier. |
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 Return Values
Sample Method
getWBSCodes ("acme", "acme_authcode", "P-00001" status=active)