Searches for an item in the business collection.
Syntax
Function Find(bstrName As String, varValue) As Long
Parameters
bstrName |
Required [in]; Specifies the name of the business object attribute or segment field |
VarValue |
Required [in]; Specifies the attribute value to be found |
Return Values
Returns the index at which the item was found in the business collection.
Remarks
It searches the business collection for the attribute and value that is passed. If the item is found in the collection, it will return the corresponding index for that item.