2158 Scalar function not found

Advantage Error Guide

Problem: A scalar function used in an SQL statement does not exist.

Solution: Verify that the scalar function name is spelled correctly.