Create Records in Code & Records-based Generic Manager

Description

This method creates 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 or Shell levels.

Installation: ASP and Self host

Level

Yes or No

Company Level

Yes

Project and Shell Level

Yes

Program Level

No

Prototype

public XMLObject createConfigurableModuleRecord(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 project or shell in Unifier. 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, Electrical, IT Equipments etc..,)

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 Return Values.

Sample Method

createConfigurableModuleRecord ("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, etc.

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

Once 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 viz.., 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 both Project (Standard) and Shells of cost code type CBS and Generic.

Related Topics

Configurable Manager Methods

Update Records in Code & Records-based Generic Manager



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022