BI Publisher (MOSC)

MOSC Banner

Multiple arithmetic calculation in single tag

edited Jun 3, 2015 10:10AM in BI Publisher (MOSC) 3 commentsAnswered

Hi,

I have a requirement where i need to subtract two values and multiply the result with another value. i.e.[(x-y)*z]

i am doing the calculation in below manner:

<?xdofx: (INITIAL_DURATION-INCREMENT)*invoice/DEVICES/SERVICES/AR_ITEMS/EVENTS/TOTAL/AMOUNT?>


Now as i have to use a for-each loop and the tag values in the loop will change so i used the below code:


<?xdofx: (INITIAL_DURATION-INCREMENT)*;./TOTAL/AMOUNT?>


Now, in the RTF if i remove the 1st code then the 2nd code is not working, i am attaching the RTF and a sample XML, can any one suggest a solution.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center