Oracle BI Publisher RFT Template Extended SQL/XSL functions help
Summary
I am customizing the default Credit Memo Print Template and am trying to format negative numbers to print in parentheses (-#,###.00)Content
I am customizing the default Credit Memo Print Template and am trying to format negative numbers to print in parentheses (-#,###.00)
Can someone help me figure out how to fix the code below?
Code Snippet
<?xdofx:if LINE_AMOUNT < 0 then ‘(’ || format-currency:LINE_AMOUNT;xdoxslt:get_variable($_XDOCTX, 'CurCode') || ‘)’ else format-currency:LINE_AMOUNT;xdoxslt:get_variable($_XDOCTX, 'CurCode') end if?>
Tagged:
1