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")
In JBS you can execute function calls in simple way
Standard ODATA Variant
#jbs
let r=bsl.get('UoMConversion/QtyConversion("Pcs","TPcs",10,10,10,1.5,0,3)');
// return object with different properties. In this case we need the quantity
alert(r.quantity);
Special in JBS you can use the Entity as object and can execute the function directly
#jbs
let UoM=bsl.UoMConversion;
let quantity=UoM.QtyConversion("Pcs","TPcs",10,10,10,1.5,0,4).quantity;
or short variant
#jbs
let quantity=bsl.UoMConversion.QtyConversion("Pcs","TPcs",10,10,10,1.5,0,4).quantity;