You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle BI Publisher RFT Template Extended SQL/XSL functions help

edited Sep 1, 2019 12:01PM in Receivables & Collections 1 comment

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!