📚 SAP Business One SDK Help

GetCockpitList Method
See Also  Example

Description

Retrieves the keys and names of all the cockpits.

Syntax

Visual Basic
Public Function GetCockpitList() As CockpitsParams

Example

Getting the Cockpit List (C#)Copy Code
SAPbobsCOM.CockpitsParams cockParams = cockService.GetCockpitList(); 
if (cockParams.Count > 0) 

     foreach (SAPbobsCOM.CockpitParams cockParam in cockParams) 
     { 
           SAPbobsCOM.Cockpit cpt = cockService.GetCockpit(cockParam); 
     } 

See Also