Michael Mariani
11/17/2022, 1:40 AMCASE 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!