Ravi Yadav
09-Jun-2025 13:50:39
Hello All,
In the interactive report, I need to add a hyperlink to the column based on a condition.
Previously, a SUM
aggregate function was added to the OCT
column, and now the conditional hyperlink logic is causing an error.
I also tested using TO_NUMBER
instead of TO_CHAR
, but the issue still persists. CASE
WHEN NATURAL_ACCOUNT_DESCRIPTION = 'Adjustment' THEN
'<a href="' || apex_page.get_url(
p_page => 174,
p_items => 'P174_GL_AP_CODE,P174_FY_YEAR,P174_GL_NATURAL_ACCOUNT,P174_ENTERED_PERIOD_NAME',
p_values => AP_CODE || ',' || FY_YEAR || ',' || GL_NATURAL_ACCOUNT || ',' || 'OCT'
) || '">' || TO_char(OCT) || '</a>'
ELSE
TO_char(OCT))
END AS OCT,