Keys to String

Retrieves the values of a business object's primary key attributes and returns them as a String.

Inputs

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

Output

A String object containing all the key values in a business object, concatenated, and ordered by the ordinal value of the attributes.

Notes

The output from this function block contains the name of the attribute and its value. Multiple values are primary key attribute values, concatenated and separated by spaces. For example, if there is one primary key attribute, SS#, the output might be:

SS#=100408394

If the primary key attributes are FirstName and LastName, the output might be:

FirstName=Nina LastName=Silk

Related information

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

Copyright IBM Corp. 1997, 2004