TYPE=VIEW
query=select if((sum(`co-operativebank-simuldari`.`headvoucher`.`cr`) > -(100000)),sum(`co-operativebank-simuldari`.`headvoucher`.`cr`),0) AS `dp`,(`co-operativebank-simuldari`.`headvoucher`.`hcode` + 46000) AS `hcode` from `co-operativebank-simuldari`.`headvoucher` where ((`co-operativebank-simuldari`.`headvoucher`.`htcode` = \'16000\') and (`co-operativebank-simuldari`.`headvoucher`.`date` >= \'2025-04-01\') and (`co-operativebank-simuldari`.`headvoucher`.`date` <= \'2026-03-31\')) group by `co-operativebank-simuldari`.`headvoucher`.`hcode`
md5=936a6b98e1b02425c9c6d379a17a2fba
updatable=0
algorithm=0
definer_user=admin
definer_host=%
suid=2
with_check_option=0
timestamp=2026-02-19 15:43:37
create-version=1
source=select if(sum(cr)>-100000,sum(cr),0) dp,(hcode+46000) hcode from headvoucher where  htcode=\'16000\' and date>=\'2025-04-01\' and date<=\'2026-03-31\' group by hcode
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select if((sum(`co-operativebank-simuldari`.`headvoucher`.`cr`) > -(100000)),sum(`co-operativebank-simuldari`.`headvoucher`.`cr`),0) AS `dp`,(`co-operativebank-simuldari`.`headvoucher`.`hcode` + 46000) AS `hcode` from `co-operativebank-simuldari`.`headvoucher` where ((`co-operativebank-simuldari`.`headvoucher`.`htcode` = \'16000\') and (`co-operativebank-simuldari`.`headvoucher`.`date` >= \'2025-04-01\') and (`co-operativebank-simuldari`.`headvoucher`.`date` <= \'2026-03-31\')) group by `co-operativebank-simuldari`.`headvoucher`.`hcode`
