📚 SAP Business One SDK Help

GetConditions Method
See Also  Example

Description

Returns the collection of conditions for the ChooseFromList.

You can change a ChooseFromList's conditions by modifying the Conditions object returned by this method, and then passing the object to the SetConditions method.

Syntax

Visual Basic
Public Function GetConditions() As Conditions

Example

Getting conditions (Visual Basic)Copy Code
Dim oCFL As SAPbouiCOM.ChooseFromList
Dim oConds As SAPbouiCOM.Conditions

oCFL = oForm.ChooseFromLists.Item("MyBPCFL")
oConds = oCFL.GetConditions

See Also