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