TYPE=VIEW
query=select `co-operativebank-dekhaliannapurna`.`voucher`.`sub_head` AS `sub_head`,(sum(`co-operativebank-dekhaliannapurna`.`voucher`.`cr`) - sum(`co-operativebank-dekhaliannapurna`.`voucher`.`dr`)) AS `bal` from `co-operativebank-dekhaliannapurna`.`voucher` where (`co-operativebank-dekhaliannapurna`.`voucher`.`sub_head` = \'18810\') union all select `co-operativebank-dekhaliannapurna`.`approciation`.`sub_head` AS `sub_head`,sum(`co-operativebank-dekhaliannapurna`.`approciation`.`amt`) AS `bal` from `co-operativebank-dekhaliannapurna`.`approciation` where (`co-operativebank-dekhaliannapurna`.`approciation`.`sub_head` = \'18810\')
md5=a8df852398e1f8783034eaf070218eec
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=2
with_check_option=0
timestamp=2026-04-13 13:45:47
create-version=1
source=SELECT sub_head,(sum(cr)-sum(dr)) as bal FROM `voucher` WHERE sub_head=\'18810\' union all select sub_head,sum(amt) as bal from approciation where sub_head=\'18810\'
client_cs_name=utf8mb4
connection_cl_name=utf8mb4_general_ci
view_body_utf8=select `co-operativebank-dekhaliannapurna`.`voucher`.`sub_head` AS `sub_head`,(sum(`co-operativebank-dekhaliannapurna`.`voucher`.`cr`) - sum(`co-operativebank-dekhaliannapurna`.`voucher`.`dr`)) AS `bal` from `co-operativebank-dekhaliannapurna`.`voucher` where (`co-operativebank-dekhaliannapurna`.`voucher`.`sub_head` = \'18810\') union all select `co-operativebank-dekhaliannapurna`.`approciation`.`sub_head` AS `sub_head`,sum(`co-operativebank-dekhaliannapurna`.`approciation`.`amt`) AS `bal` from `co-operativebank-dekhaliannapurna`.`approciation` where (`co-operativebank-dekhaliannapurna`.`approciation`.`sub_head` = \'18810\')
