Siebel Chat Guide > Methods for Customizing Siebel Chat Process Flow and Interface Functionality > Methods for Customizing Siebel Chat Process Flow and Interface Functionality >

InsertRecord


This method is used to insert a new record into a specific business component. You can define the business object name, business component name, and field value pairs to be inserted as input. The row ID of the newly created record is returned as output. Table 30 shows the input PropertySet arguments for InsertRecord.

Table 30. InsertRecord Method: Input Arguments
Input Argument
Description

BusObj

The business object name.

BusComp

The business component name.

Field: XXX

The fields to be set. In this argument, you must replace XXX with the field name.

Use Locale (Optional)

A value of True or False indicates whether to format the value or not.

Table 31 shows the output PropertySet argument for InsertRecord, which returns the row ID of the newly created record.

Table 31. InsertRecord Method: Output Arguments
Output Argument
Description

Id

The row ID of the newly created record.

Example

If you want to insert a new service request record with a contact ID of 04-LLSQ5, then the input is as follows:

BusObj = Service Request
BusComp = Service Request
Field: Contact Id = 04-LLSQ5

Siebel Chat Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.