No two functions can have the same name. No two reports can have the same name. Change one of the two occurrences of name to a different name. Only NewEra returns this error.
-4452 The function (or report) name has already been defined. Function and report cannot both have the same name.
Each function (or report, which is similar to a function) must have a unique name within the program. Change the function or report name.