Limitations
For functions to be used in a report, they must meet two conditions:
-
Functions must have defined return types for each of the output parameters.
-
Functions must not have whole tables as input parameters.
Finally, the ability to call entire programs is not supported—you may call individual functions only.