BI Publisher (MOSC)

MOSC Banner

'If' condition with 'and'

edited Jul 5, 2013 10:17AM in BI Publisher (MOSC) 2 commentsAnswered
In Bi publisher coding i did the following and is working fine:

XML:

 <TOTAL_DUE>220</TOTAL_DUE>

<?if:number(TOTAL_DUE)<0?>
No payment is due, your account is up to date
<?end if?>

i did the below code as well and its working fine:

XML:

  <PAYINFO_OBJ>0.0.0.1 /payinfo/cc 698975 0</PAYINFO_OBJ>

code:

<?xdofx:if instr(PAYINFO_OBJ,'cc')>0?>
PAYMENT IS DUE
<?end if?>

-----------------------------------------------------------------

NOW I WANT TO COMBINE BOTH THE STATEMENTS:

code:

<?if:((number(TOTAL_DUE)>0) AND xdofx:instr(PAYINFO_OBJ,'cc'))?>
PAYMENT IS DUE
<?end if?>

BUT ITS NOT WORKING, CAN ANY ONE HELP ME WITH THE SAME.

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