I need a formula like below, just not sure what to put after the else.
if {IMRECHST_SQL.qty_received} is <=0 then 0 else (in this I want the actual amount received {IMRECHST_SQL.qty_received}
What I am getting in the received qty is, if the qty was received it is showing -450 and if it hasn't been received it is showing 450 and I want this latter part to show 0.
I tried it like this - if {IMRECHST_SQL.qty_received}<= 0 then 0 else {IMRECHST_SQL.qty_received}. But it came up with this error - The formula result must be a boolean
if {IMRECHST_SQL.qty_received} is <=0 then 0 else (in this I want the actual amount received {IMRECHST_SQL.qty_received}
What I am getting in the received qty is, if the qty was received it is showing -450 and if it hasn't been received it is showing 450 and I want this latter part to show 0.
I tried it like this - if {IMRECHST_SQL.qty_received}<= 0 then 0 else {IMRECHST_SQL.qty_received}. But it came up with this error - The formula result must be a boolean