📚 SAP Business One SDK Help

GetApprovalStageList Method
See Also  Example

Description

Returns the ApprovalStagesParams Data Collection.

Syntax

Visual Basic
Public Function GetApprovalStageList() As ApprovalStagesParams

Example

Get a list of Approval Stages
Get Approval Stage List (Visual Basic)Copy Code
Dim oApprovalStageParams As ApprovalStagesParams
Dim i As Integer

'Get a list of Approval Stages
oApprovalStageParams = oApprovalStagesService.GetApprovalStageList

For i = 0 To oApprovalStageParams.Count - 1
    'Print the stage name
    Debug.WriteLine(oApprovalStageParams.Item(i).Name)
Next

See Also