About InsertRecord Method
Use this method, described in the following table, to insert a record into a Business Component.
Parameter Name | Direction | Description |
---|---|---|
BusCompName |
Input |
The name of a business component to which a record is to be inserted. |
FieldName(1,2,3…n) |
Input |
The name of the fields to be included in the insert. |
FieldValue(1,2,3…n) |
Input |
The value for the field. FieldName and FieldValue must be defined in pairs. That is, for each FieldName defined, a FieldValue must be defined as well. |
Status |
Output |
The status of the InsertRecord operation. Status can have one of 2 values:
Following any data operation, use the Status field to check for error conditions and take appropriate actions. See Handling Business Rules Processor Errors for information on error handling. |