TYPE=VIEW
query=select if((sum(`co-operativebank-dekhaliannapurna`.`headvoucher`.`cr`) > -(100000)),sum(`co-operativebank-dekhaliannapurna`.`headvoucher`.`cr`),0) AS `dp`,(`co-operativebank-dekhaliannapurna`.`headvoucher`.`hcode` + 46000) AS `hcode` from `co-operativebank-dekhaliannapurna`.`headvoucher` where ((`co-operativebank-dekhaliannapurna`.`headvoucher`.`htcode` = \'16000\') and (`co-operativebank-dekhaliannapurna`.`headvoucher`.`date` >= \'2024-04-01\') and (`co-operativebank-dekhaliannapurna`.`headvoucher`.`date` <= \'2025-03-31\')) group by `co-operativebank-dekhaliannapurna`.`headvoucher`.`hcode`
md5=abfaf08edc9e1a15bf38fc496ce7ec6b
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=2
with_check_option=0
timestamp=2026-04-15 11:30:13
create-version=1
source=select if(sum(cr)>-100000,sum(cr),0) dp,(hcode+46000) hcode from headvoucher where  htcode=\'16000\' and date>=\'2024-04-01\' and date<=\'2025-03-31\' group by hcode
client_cs_name=utf8mb4
connection_cl_name=utf8mb4_general_ci
view_body_utf8=select if((sum(`co-operativebank-dekhaliannapurna`.`headvoucher`.`cr`) > -(100000)),sum(`co-operativebank-dekhaliannapurna`.`headvoucher`.`cr`),0) AS `dp`,(`co-operativebank-dekhaliannapurna`.`headvoucher`.`hcode` + 46000) AS `hcode` from `co-operativebank-dekhaliannapurna`.`headvoucher` where ((`co-operativebank-dekhaliannapurna`.`headvoucher`.`htcode` = \'16000\') and (`co-operativebank-dekhaliannapurna`.`headvoucher`.`date` >= \'2024-04-01\') and (`co-operativebank-dekhaliannapurna`.`headvoucher`.`date` <= \'2025-03-31\')) group by `co-operativebank-dekhaliannapurna`.`headvoucher`.`hcode`
