TYPE=VIEW
query=select `co-operativebank-mitrachak`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-mitrachak`.`headvoucher`.`shcode` AS `code`,\'BY CASH A/C\' AS `sub_head`,sum(`co-operativebank-mitrachak`.`headvoucher`.`cr`) AS `dr`,0 AS `cr`,0 AS `interest`,`co-operativebank-mitrachak`.`headvoucher`.`hcode` AS `head`,`co-operativebank-mitrachak`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-mitrachak`.`headvoucher` where ((`co-operativebank-mitrachak`.`headvoucher`.`deposit_type` = \'CASH\') and (`co-operativebank-mitrachak`.`headvoucher`.`date` = \'2025-09-27\') and ((`co-operativebank-mitrachak`.`headvoucher`.`shcode` = \'23101A\') or (`co-operativebank-mitrachak`.`headvoucher`.`shcode` = (\'23101A\' + 29000)))) union all select `co-operativebank-mitrachak`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-mitrachak`.`headvoucher`.`shcode` AS `code`,\'BY TRANSFER A/C\' AS `sub_head`,sum(`co-operativebank-mitrachak`.`headvoucher`.`cr`) AS `dr`,0 AS `cr`,0 AS `interest`,`co-operativebank-mitrachak`.`headvoucher`.`hcode` AS `head`,`co-operativebank-mitrachak`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-mitrachak`.`headvoucher` where ((`co-operativebank-mitrachak`.`headvoucher`.`deposit_type` = \'TRANSFER\') and (`co-operativebank-mitrachak`.`headvoucher`.`date` = \'2025-09-27\') and ((`co-operativebank-mitrachak`.`headvoucher`.`shcode` = \'23101A\') or (`co-operativebank-mitrachak`.`headvoucher`.`shcode` = (\'23101A\' + 29000)))) union all select `co-operativebank-mitrachak`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-mitrachak`.`headvoucher`.`shcode` AS `code`,concat(\'TO \',`co-operativebank-mitrachak`.`headvoucher`.`sub_head`,\' A/C\') AS `sub_head`,0 AS `dr`,sum(`co-operativebank-mitrachak`.`headvoucher`.`cr`) AS `cr`,0 AS `interest`,`co-operativebank-mitrachak`.`headvoucher`.`hcode` AS `head`,`co-operativebank-mitrachak`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-mitrachak`.`headvoucher` where ((`co-operativebank-mitrachak`.`headvoucher`.`date` = \'2025-09-27\') and (`co-operativebank-mitrachak`.`headvoucher`.`shcode` = \'23101A\')) union all select `co-operativebank-mitrachak`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-mitrachak`.`headvoucher`.`shcode` AS `code`,concat(\'TO INTEREST\',\' A/C\') AS `sub_head`,0 AS `dr`,sum(`co-operativebank-mitrachak`.`headvoucher`.`cr`) AS `cr`,0 AS `interest`,`co-operativebank-mitrachak`.`headvoucher`.`hcode` AS `head`,`co-operativebank-mitrachak`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-mitrachak`.`headvoucher` where ((`co-operativebank-mitrachak`.`headvoucher`.`date` = \'2025-09-27\') and (`co-operativebank-mitrachak`.`headvoucher`.`shcode` = (\'23101A\' + 29000)))
md5=66da75b06aa90dffe8517f19305fc824
updatable=0
algorithm=0
definer_user=admin
definer_host=%
suid=2
with_check_option=0
timestamp=2026-02-10 06:45:59
create-version=1
source=select sub_head as headname,shcode as code,\'BY CASH A/C\' AS sub_head,sum(cr) dr,0 cr,0 as interest, hcode as head,htcode htcode,0 as m_count from headvoucher where  deposit_type=\'CASH\' and date=\'2025-09-27\'  AND (SHCODE=\'23101A\' OR SHCODE=\'23101A\'+29000) union all select sub_head as headname,shcode as code,\'BY TRANSFER A/C\' AS sub_head,sum(cr) dr,0 cr,0 as interest, hcode as head,htcode htcode,0 as m_count from headvoucher where  deposit_type=\'TRANSFER\' and date=\'2025-09-27\'  AND (SHCODE=\'23101A\' OR SHCODE=\'23101A\'+29000) union all select sub_head as headname,shcode as code,CONCAT(\'TO \',sub_head,\' A/C\') AS sub_head,0 dr,sum(cr) cr,0 as interest, hcode as head,htcode htcode,0 as m_count from headvoucher where   date=\'2025-09-27\'  AND SHCODE=\'23101A\' union all select sub_head as headname,shcode as code,CONCAT(\'TO INTEREST\',\' A/C\') AS sub_head,0 dr,sum(cr) cr,0 as interest, hcode as head,htcode htcode,0 as m_count from headvoucher where   date=\'2025-09-27\'  AND SHCODE=\'23101A\'+29000
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `co-operativebank-mitrachak`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-mitrachak`.`headvoucher`.`shcode` AS `code`,\'BY CASH A/C\' AS `sub_head`,sum(`co-operativebank-mitrachak`.`headvoucher`.`cr`) AS `dr`,0 AS `cr`,0 AS `interest`,`co-operativebank-mitrachak`.`headvoucher`.`hcode` AS `head`,`co-operativebank-mitrachak`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-mitrachak`.`headvoucher` where ((`co-operativebank-mitrachak`.`headvoucher`.`deposit_type` = \'CASH\') and (`co-operativebank-mitrachak`.`headvoucher`.`date` = \'2025-09-27\') and ((`co-operativebank-mitrachak`.`headvoucher`.`shcode` = \'23101A\') or (`co-operativebank-mitrachak`.`headvoucher`.`shcode` = (\'23101A\' + 29000)))) union all select `co-operativebank-mitrachak`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-mitrachak`.`headvoucher`.`shcode` AS `code`,\'BY TRANSFER A/C\' AS `sub_head`,sum(`co-operativebank-mitrachak`.`headvoucher`.`cr`) AS `dr`,0 AS `cr`,0 AS `interest`,`co-operativebank-mitrachak`.`headvoucher`.`hcode` AS `head`,`co-operativebank-mitrachak`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-mitrachak`.`headvoucher` where ((`co-operativebank-mitrachak`.`headvoucher`.`deposit_type` = \'TRANSFER\') and (`co-operativebank-mitrachak`.`headvoucher`.`date` = \'2025-09-27\') and ((`co-operativebank-mitrachak`.`headvoucher`.`shcode` = \'23101A\') or (`co-operativebank-mitrachak`.`headvoucher`.`shcode` = (\'23101A\' + 29000)))) union all select `co-operativebank-mitrachak`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-mitrachak`.`headvoucher`.`shcode` AS `code`,concat(\'TO \',`co-operativebank-mitrachak`.`headvoucher`.`sub_head`,\' A/C\') AS `sub_head`,0 AS `dr`,sum(`co-operativebank-mitrachak`.`headvoucher`.`cr`) AS `cr`,0 AS `interest`,`co-operativebank-mitrachak`.`headvoucher`.`hcode` AS `head`,`co-operativebank-mitrachak`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-mitrachak`.`headvoucher` where ((`co-operativebank-mitrachak`.`headvoucher`.`date` = \'2025-09-27\') and (`co-operativebank-mitrachak`.`headvoucher`.`shcode` = \'23101A\')) union all select `co-operativebank-mitrachak`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-mitrachak`.`headvoucher`.`shcode` AS `code`,concat(\'TO INTEREST\',\' A/C\') AS `sub_head`,0 AS `dr`,sum(`co-operativebank-mitrachak`.`headvoucher`.`cr`) AS `cr`,0 AS `interest`,`co-operativebank-mitrachak`.`headvoucher`.`hcode` AS `head`,`co-operativebank-mitrachak`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-mitrachak`.`headvoucher` where ((`co-operativebank-mitrachak`.`headvoucher`.`date` = \'2025-09-27\') and (`co-operativebank-mitrachak`.`headvoucher`.`shcode` = (\'23101A\' + 29000)))
