📚 SAP Business One SDK Help

GetPredefinedTextList Method
See Also  Example

Description

Retrieves the keys and names of all the predefined texts.

Syntax

Visual Basic
Public Function GetPredefinedTextList() As PredefinedTextsParams

Example

Getting list of predefined texts (C#)Copy Code
// Get list of predefined text 
PredefinedTextsParams textsParams = textService.GetPredefinedTextList(); 
 
int i = 1; 
 
// Print the list 
foreach (PredefinedTextParams textParams In textsParams) 

    Console.WriteLine("item {0}: Numerator:{1}, TextCode:{2}", i++, textParams.Numerator, textParams.TextCode); 

See Also