Hi, My custom function needs a field value from another table in order to calculate and return the result. Is there any way I can call SQL to get data using the field from $parameters_ar and return the result? Thanks