if AND then else statement

Asked by At

I am a self taught beginner. I am looking to get addition {billing.items} that will only show when standard {billing.items} are present. Then if not present, just get the standard. I am using an IF AND THEN ELSE statement. Nothing is being returned from the beginning IF AND THEN, I am only getting the ELSE.

when i make a simple IF THEN statement with the entire list, i and getting all data. So the data does exist. But i need the additional items to be dependent on if the standard items are present. I am stumped.

( if ({billing.items} in [1244, 1245, 1246, 1247, 1248, 1249, 1250] and {billing.items} in [1296, 2390, 2391, 2392, 2393]) then true else {billing.items} in [1244, 1245, 1246, 1247, 1248, 1249, 1250] )

0 Answers