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. The following table shows the input PropertySet arguments for InsertRecord.
Input Argument | Description |
---|---|
|
The business object name. |
|
The business component name. |
|
The fields to be set. In this argument, you must replace XXX with the field name. |
|
A value of True or False indicates whether to format the value or not. |
The following table shows the output PropertySet argument for InsertRecord, which returns the row ID of the newly created record.
Output Argument | Description |
---|---|
|
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