GetNumbersList()
A GetNumbersList() function returns all numbers generated for the given type and key. Result can be used in SetListChoices() function.
Syntax
GetNumbersList(NumberType, SearchKey);
Function arguments
- NumberType – (String) an identification key of autonumbering (a type of cases);
- SearchKey – (String) a key for which numeration will be returned;
Return value
This function returns String.
The GetNumbersList() returns a string with all numbers separated by semicolon.
Examples
Example 1
The function will fill a list field with numbers generated for the given document type and key.
SetListChoices("Numbers", GetNumbersList("DocumentTypeA",[Employee]));