Add Field to Record
Adds a named field to an XML representation of a database record. If the field already exists it is updated.
| 1. | Record Document | (Mandatory) | The string containing an xml representation of a record. If building a record from scratch, this may be passed in empty. On output this contains the record representation with the new field value added or updated. |
| 2. | Field Name | (Mandatory) | The name of the field to be added to the document. If the field already exists the field's value will be updated in the docuent. |
| 3. | Field Value | (Mandatory) | The value to be set for the field name. |
| 4. | Field Is Numeric | (Mandatory) | A boolean value indicating whether the field is a numeric data type. |
Fig. 1 - Add Field to Record - Inputs
Depending on the success of the operation:
| 1. | Next |
| 2. | Fail |