Sum

Adds the values of the specified attribute for all business objects in this business object array.

Inputs

Business object array
The business object array (specified as an object of type BusObjArray).

Attribute
A String that specifies the name of the attribute.

Output

Returns the sum (as a double data type) of the specified attribute from the list of the business objects.

Notes

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

Copyright IBM Corp. 2003, 2004