Update Records in Code and Records-based Generic Manager

Support for SOAP is deprecated starting with Unifier 23.10.

Description

This method updates records under a generic manager class. This applies only to code-& records based generic managers.

Support

This applies to code-& records based generic managers at company and project/shell levels.

Installation: ASP and Self host

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

Prototype

public XMLObject updateConfigurableModuleRecord(String shortname, String authcode, String projectNumber, String CMCode, String ClassName, String copyFromRecord, String recordXML);

Parameters

Parameter Description
Shortname identifier of the company, company's short name
Authcode authentication key for the company, in text string
projectNumber Identifier of a project/shell. Value can be left empty/ignored if specified CM is a company-level manager.
CMCode Identify CM (‘CM1', ‘CM2', …)
ClassName Name of the class (Buildings, IT Equipments, and so on)
copyFromRecord Can be left empty if not copying from another record
recordXML Content of the record that needs to be created. This is based on Integration interface design for class in uDesigner.

Return Value

See Appendix B: Return Values.

Sample Method

updateConfigurableModuleRecord ("acme", "acme_authcode", "Buildings","CM5", "Electrical","", "XML")

Additional Information

Same logic while creating new records from UI will be used while creating a record from integration. This includes validation logic, setting status, and so on.

All validations on detail form including required fields and user defined form validations will be retained while creating new records through web services.

After a record is created, detail form will be in Finish Editing mode. Data will be rolled up to the corresponding manager sheet.

Data Element, which is based on data definition as follows, SYS Numeric Logical Datasource, SYS Date Logical Datasource, SYS Business Process Datasource and SYS Project Cost Datasource, will not be available as part of Integration.

This service can be used for Projects/Shells of cost code type CBS and Generic.