Is Required

Determines whether a business object's attribute is defined as a required attribute.

Inputs

Business object
The current business object (a BusObj object).
Attribute
A String that specifies the name of the attribute.

Output

Returns true if the attribute is required; otherwise, returns false.

Notes

If an attribute is defined as required, it must have a value and the value must not be a null.

Related information

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

Copyright IBM Corp. 2004, 2005