TYPE=VIEW
query=select if((sum(`co-operativebank-henria`.`headvoucher`.`cr`) > -(100000)),sum(`co-operativebank-henria`.`headvoucher`.`cr`),0) AS `br`,(`co-operativebank-henria`.`headvoucher`.`hcode` + 46000) AS `hcode` from `co-operativebank-henria`.`headvoucher` where ((`co-operativebank-henria`.`headvoucher`.`htcode` = \'15000\') and (`co-operativebank-henria`.`headvoucher`.`date` >= \'2025-10-01\') and (`co-operativebank-henria`.`headvoucher`.`date` <= \'2025-12-31\')) group by `co-operativebank-henria`.`headvoucher`.`hcode`
md5=7bf229a44e2c0797acc9c7e1a6aa94f4
updatable=0
algorithm=0
definer_user=admin
definer_host=%
suid=2
with_check_option=0
timestamp=2026-01-06 03:40:38
create-version=1
source=select if(sum(cr)>-100000,sum(cr),0) br,(hcode+46000) hcode from headvoucher where  htcode=\'15000\' and date>=\'2025-10-01\' and date<=\'2025-12-31\' group by hcode
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select if((sum(`co-operativebank-henria`.`headvoucher`.`cr`) > -(100000)),sum(`co-operativebank-henria`.`headvoucher`.`cr`),0) AS `br`,(`co-operativebank-henria`.`headvoucher`.`hcode` + 46000) AS `hcode` from `co-operativebank-henria`.`headvoucher` where ((`co-operativebank-henria`.`headvoucher`.`htcode` = \'15000\') and (`co-operativebank-henria`.`headvoucher`.`date` >= \'2025-10-01\') and (`co-operativebank-henria`.`headvoucher`.`date` <= \'2025-12-31\')) group by `co-operativebank-henria`.`headvoucher`.`hcode`
