BI Publisher (MOSC)

MOSC Banner

OR condition under If statement

edited Feb 5, 2015 9:00PM in BI Publisher (MOSC) 2 commentsAnswered

Hi Expert:

I need to add OR condition in a If statement to switch and print company logo.

I am using this If statement for a company field to print different logos.

I followed the syntax and cannot get it work and I am not sure I got the correct info:

     Multiple criteria for an internal field (multiple ORs):

<?xdofx:if (Order_Type_ID39='CO') OR (Order_Type_ID39='CN') OR (Order_Type_ID39='C1') OR (Order_Type_ID39='C2') then 'CREDIT MEMO' end if?>

This is ok for just 1 test condition:

<?if:CompanyKeyOrderNo_ID142='00700'?>

I put these and none of them work:

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