Multiple entities support functions. The syntax for using a function is as follows:
get EntityName/FunctionName(Parameter) or
get EntityName(Parameter)/FunctionName(Parameter)
return: {"returnName":"value","returnName":"value"} or see the documentation of this function call
Example
System/ReadSetup("fert_charge_maske","XXX")
Get next Batch Number for a work order
instance bsl b
b.get=WorkorderPos/GetNextBatchNumber(6002478,40)
messagebox=<b.value>