Set Value By Position

Sets a business object's attribute to a specified value based on the attribute's position.

Inputs

Business object
The current business object (a BusObj object).

Position
An integer that specifies the ordinal position of an attribute in the business object's attribute list.

Value
The value for the attribute. Must be of the appropriate type (Object, String, or BusObj).

Exceptions

The Set Value By Position function block can set the following exception type for a CollaborationException exception:

Notes

The acceptable values for this function block are limited to the Object, String, and BusObj data types.

Related information

This function block is based on the BusObj.set() method. For more information, see set().

Copyright IBM Corp. 1997, 2004