TYPE=VIEW
query=select (sum(`co-operativebank-242`.`voucher`.`cr`) - sum(`co-operativebank-242`.`voucher`.`dr`)) AS `amt`,`co-operativebank-242`.`voucher`.`Acc_no` AS `ledger` from `co-operativebank-242`.`voucher` where (`co-operativebank-242`.`voucher`.`status` = \'1\') group by `co-operativebank-242`.`voucher`.`Acc_no` union all select (sum(`co-operativebank-242`.`voucher`.`cr`) - sum(`co-operativebank-242`.`voucher`.`dr`)) AS `amt`,`co-operativebank-242`.`voucher`.`cash_acc` AS `cash_acc` from `co-operativebank-242`.`voucher` where (`co-operativebank-242`.`voucher`.`status` = \'1\') group by `co-operativebank-242`.`voucher`.`cash_acc`
md5=e404516479373681a32681442322be64
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=1
with_check_option=0
timestamp=2025-09-15 05:24:39
create-version=1
source=select ( sum(  `co-operativebank-242`.`voucher`.`cr`  )  - sum(  `co-operativebank-242`.`voucher`.`dr`  )  ) AS  `amt` ,\n `co-operativebank-242`.`voucher`.`Acc_no`  AS  `ledger`  from  `co-operativebank-242`.`voucher`  where (  `co-operativebank-242`.`voucher`.`status`  =  \'1\' ) group  by  `co-operativebank-242`.`voucher`.`Acc_no`  union  all  select ( sum(  `co-operativebank-242`.`voucher`.`cr`  )  - sum(  `co-operativebank-242`.`voucher`.`dr`  )  ) AS  `amt` ,\n `co-operativebank-242`.`voucher`.`cash_acc`  AS  `cash_acc`  from  `co-operativebank-242`.`voucher`  where (  `co-operativebank-242`.`voucher`.`status`  =  \'1\' ) group  by  `co-operativebank-242`.`voucher`.`cash_acc`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select (sum(`co-operativebank-242`.`voucher`.`cr`) - sum(`co-operativebank-242`.`voucher`.`dr`)) AS `amt`,`co-operativebank-242`.`voucher`.`Acc_no` AS `ledger` from `co-operativebank-242`.`voucher` where (`co-operativebank-242`.`voucher`.`status` = \'1\') group by `co-operativebank-242`.`voucher`.`Acc_no` union all select (sum(`co-operativebank-242`.`voucher`.`cr`) - sum(`co-operativebank-242`.`voucher`.`dr`)) AS `amt`,`co-operativebank-242`.`voucher`.`cash_acc` AS `cash_acc` from `co-operativebank-242`.`voucher` where (`co-operativebank-242`.`voucher`.`status` = \'1\') group by `co-operativebank-242`.`voucher`.`cash_acc`
