Good evening. I am trying to understand why this ...
# general
m
Good evening. I am trying to understand why this saved search criteria formula does not work: This works:
CASE WHEN ({type} = 'Item Receipt' AND SUBSTR({appliedtotransaction},1,8) = 'Transfer') THEN 1  ELSE 0 END
When I add this, it does not work, why?
CASE WHEN ({type} = 'Item Receipt' AND SUBSTR({appliedtotransaction},1,8) = 'Transfer') THEN 1 WHEN ({type} = 'Invoice' )THEN 1 WHEN ({type} = 'Cash Sale' )THEN 1  ELSE 0 END
Thanks!