TYPE=VIEW
query=select `co-operativebank-246`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-246`.`headvoucher`.`shcode` AS `code`,\'BY CASH A/C\' AS `sub_head`,sum(`co-operativebank-246`.`headvoucher`.`cr`) AS `dr`,0 AS `cr`,0 AS `interest`,`co-operativebank-246`.`headvoucher`.`hcode` AS `head`,`co-operativebank-246`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-246`.`headvoucher` where ((`co-operativebank-246`.`headvoucher`.`deposit_type` = \'CASH\') and (`co-operativebank-246`.`headvoucher`.`date` = \'2026-02-01\') and ((`co-operativebank-246`.`headvoucher`.`shcode` = \'23113\') or (`co-operativebank-246`.`headvoucher`.`shcode` = (\'23113\' + 29000)))) union all select `co-operativebank-246`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-246`.`headvoucher`.`shcode` AS `code`,\'BY TRANSFER A/C\' AS `sub_head`,sum(`co-operativebank-246`.`headvoucher`.`cr`) AS `dr`,0 AS `cr`,0 AS `interest`,`co-operativebank-246`.`headvoucher`.`hcode` AS `head`,`co-operativebank-246`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-246`.`headvoucher` where ((`co-operativebank-246`.`headvoucher`.`deposit_type` = \'TRANSFER\') and (`co-operativebank-246`.`headvoucher`.`date` = \'2026-02-01\') and ((`co-operativebank-246`.`headvoucher`.`shcode` = \'23113\') or (`co-operativebank-246`.`headvoucher`.`shcode` = (\'23113\' + 29000)))) union all select `co-operativebank-246`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-246`.`headvoucher`.`shcode` AS `code`,concat(\'TO \',`co-operativebank-246`.`headvoucher`.`sub_head`,\' A/C\') AS `sub_head`,0 AS `dr`,sum(`co-operativebank-246`.`headvoucher`.`cr`) AS `cr`,0 AS `interest`,`co-operativebank-246`.`headvoucher`.`hcode` AS `head`,`co-operativebank-246`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-246`.`headvoucher` where ((`co-operativebank-246`.`headvoucher`.`date` = \'2026-02-01\') and (`co-operativebank-246`.`headvoucher`.`shcode` = \'23113\')) union all select `co-operativebank-246`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-246`.`headvoucher`.`shcode` AS `code`,concat(\'TO INTEREST\',\' A/C\') AS `sub_head`,0 AS `dr`,sum(`co-operativebank-246`.`headvoucher`.`cr`) AS `cr`,0 AS `interest`,`co-operativebank-246`.`headvoucher`.`hcode` AS `head`,`co-operativebank-246`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-246`.`headvoucher` where ((`co-operativebank-246`.`headvoucher`.`date` = \'2026-02-01\') and (`co-operativebank-246`.`headvoucher`.`shcode` = (\'23113\' + 29000)))
md5=3fb90aabf2fc77f893902e9223ee32ec
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=2
with_check_option=0
timestamp=2026-02-01 06:13:30
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=\'2026-02-01\'  AND (SHCODE=\'23113\' OR SHCODE=\'23113\'+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=\'2026-02-01\'  AND (SHCODE=\'23113\' OR SHCODE=\'23113\'+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=\'2026-02-01\'  AND SHCODE=\'23113\' 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=\'2026-02-01\'  AND SHCODE=\'23113\'+29000
client_cs_name=utf8mb4
connection_cl_name=utf8mb4_general_ci
view_body_utf8=select `co-operativebank-246`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-246`.`headvoucher`.`shcode` AS `code`,\'BY CASH A/C\' AS `sub_head`,sum(`co-operativebank-246`.`headvoucher`.`cr`) AS `dr`,0 AS `cr`,0 AS `interest`,`co-operativebank-246`.`headvoucher`.`hcode` AS `head`,`co-operativebank-246`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-246`.`headvoucher` where ((`co-operativebank-246`.`headvoucher`.`deposit_type` = \'CASH\') and (`co-operativebank-246`.`headvoucher`.`date` = \'2026-02-01\') and ((`co-operativebank-246`.`headvoucher`.`shcode` = \'23113\') or (`co-operativebank-246`.`headvoucher`.`shcode` = (\'23113\' + 29000)))) union all select `co-operativebank-246`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-246`.`headvoucher`.`shcode` AS `code`,\'BY TRANSFER A/C\' AS `sub_head`,sum(`co-operativebank-246`.`headvoucher`.`cr`) AS `dr`,0 AS `cr`,0 AS `interest`,`co-operativebank-246`.`headvoucher`.`hcode` AS `head`,`co-operativebank-246`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-246`.`headvoucher` where ((`co-operativebank-246`.`headvoucher`.`deposit_type` = \'TRANSFER\') and (`co-operativebank-246`.`headvoucher`.`date` = \'2026-02-01\') and ((`co-operativebank-246`.`headvoucher`.`shcode` = \'23113\') or (`co-operativebank-246`.`headvoucher`.`shcode` = (\'23113\' + 29000)))) union all select `co-operativebank-246`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-246`.`headvoucher`.`shcode` AS `code`,concat(\'TO \',`co-operativebank-246`.`headvoucher`.`sub_head`,\' A/C\') AS `sub_head`,0 AS `dr`,sum(`co-operativebank-246`.`headvoucher`.`cr`) AS `cr`,0 AS `interest`,`co-operativebank-246`.`headvoucher`.`hcode` AS `head`,`co-operativebank-246`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-246`.`headvoucher` where ((`co-operativebank-246`.`headvoucher`.`date` = \'2026-02-01\') and (`co-operativebank-246`.`headvoucher`.`shcode` = \'23113\')) union all select `co-operativebank-246`.`headvoucher`.`sub_head` AS `headname`,`co-operativebank-246`.`headvoucher`.`shcode` AS `code`,concat(\'TO INTEREST\',\' A/C\') AS `sub_head`,0 AS `dr`,sum(`co-operativebank-246`.`headvoucher`.`cr`) AS `cr`,0 AS `interest`,`co-operativebank-246`.`headvoucher`.`hcode` AS `head`,`co-operativebank-246`.`headvoucher`.`htcode` AS `htcode`,0 AS `m_count` from `co-operativebank-246`.`headvoucher` where ((`co-operativebank-246`.`headvoucher`.`date` = \'2026-02-01\') and (`co-operativebank-246`.`headvoucher`.`shcode` = (\'23113\' + 29000)))
