OR (Disjunction) 

You use the OR (disjunction) operator when at least one of your logical statements must be true for the combined statement to be true.

1.

Los Angeles is a city in California OR (2 + 2 = 4) (TRUE)

2.

Los Angeles is a city in California OR (10 < 6) (TRUE)

3.

(10 < 6) OR Los Angeles is a city in California (TRUE)

4.

Los Angeles is a city in Texas OR (10 < 6) (FALSE)

The following table is the truth table for the OR (disjunction) operator.

Statement A

Statement B

A OR B

TRUE

TRUE

TRUE

TRUE

FALSE

TRUE

FALSE

TRUE

TRUE

FALSE

FALSE

FALSE

 

In the FI-SL application component, you use the OR (disjunction) operator when you want the system to check that at least one statement is true before using the data.

The following graphic uses a truth table for the OR (disjunction) operator to determine if transaction data should be substituted.

 

 

If the transaction is for account 500000 or for cost center 150, then the combined statement is TRUE and the data is substituted. If the transaction is not for account 500000 or for cost center 150, then the combined statement is FALSE and the data is not substituted.