📚 SAP Business One SDK Help

GetSectionList Method
See Also  Example

Description

Retrieves the keys and codes of all the sections.

Syntax

Visual Basic
Public Function GetSectionList() As SectionsParams

Example

Getting a list of sections (C#)Copy Code
SectionsParams oSecList = oSectionSrv.GetSectionList(); 
 
String result = ""; 
foreach (SAPbobsCOM.SectionParams oItem in oSecList) 

    result += oItem.AbsEntry + " " + oItem.Code + " " + oItem.Description + "\n"; 

 
Interaction.MsgBox(result, (Microsoft.VisualBasic.MsgBoxStyle)0, null); 

See Also