About SetFieldValue Method
Use this method, described in the following table, to set a value of a business component field.
Parameter Name | Direction | Description |
---|---|---|
BusCompName |
Input |
The name of a business component where the field to be updated is located. |
FieldName(1,2,3…n) |
Input |
The name of the fields to be updated. This field must be activated prior to fetching. See About Query Method. |
FieldValue(1,2,3…n) |
Input |
The new 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 SetFieldValue operation. Status can have one of 2 values:
Use the status field to check for error conditions and throw appropriate errors. See Handling Business Rules Processor Errors for information on error handling. |