GetAttribute 

Returns the value for a specific attribute of a business object in the collection.

Syntax

Function GetAtribute(varindex, bstrAttributeName As String) As Variant

Parameters

varIndex

Required [in]; Specifies the index to identify the item (business object) in the collection. There are two possible values:

  • an integer indicating the position of the business object in the collection
  • the primary key of the business object

bstrAttributeName

Required [in]; There are two possible values:

  • mapped attribute of a business object
  • unmapped attribute of the business collection record-set

Return Values

Returns the value of the specified business object attribute.

Remarks

If the business object has not been created, this method will retrieve the attribute value from the record-set associated to the business collection. If the business object is created, the attribute value will be retrieved from the business object.