REFPRESENTATION Function
It is used to obtain a reference value presentation.
You should pass the expression to be used to obtain the result presentation as a function parameter. If the expression result is a reference, the function returns the function presentation string. Otherwise, the function results in the passed parameter value.
Example:
SELECT
REFPRESENTATION(ExpInvoiceContent.Nomenclature) AS NomenclaturePresentation
See also: Functions of Query Language