TYPE=VIEW
query=select `v`.`shcode` AS `shcode`,`co-operativebank-dekhaliannapurna`.`od_s`.`cc_loan_code` AS `cc_loan_code`,`v`.`sub_head` AS `sub_head`,sum(`v`.`dr`) AS `dr`,sum(`v`.`cr`) AS `cr`,`v`.`htcode` AS `htcode`,`v`.`type` AS `type` from (`co-operativebank-dekhaliannapurna`.`headvoucher` `v` join `co-operativebank-dekhaliannapurna`.`od_s`) where ((`co-operativebank-dekhaliannapurna`.`od_s`.`cc_loan_code` = `v`.`shcode`) and (`v`.`date` <= \'2018-03-31\') and (`v`.`htcode` = \'23000\') and ((`v`.`cr` <> 0) or (`v`.`dr` <> 0))) group by `v`.`shcode`
md5=a23a15fe1c8c982f3c1de3bce5a26e1c
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=1
with_check_option=0
timestamp=2022-05-24 07:43:38
create-version=1
source=select  `v`.`shcode`  AS  `shcode` ,\n `od_s`.`cc_loan_code`  AS  `cc_loan_code` ,\n `v`.`sub_head`  AS  `sub_head` ,\nsum(  `v`.`dr`  )  AS  `dr` ,\nsum(  `v`.`cr`  )  AS  `cr` ,\n `v`.`htcode`  AS  `htcode` ,\n `v`.`type`  AS  `type`  from (  `co-operativebank-dekhaliannapurna`.`headvoucher`  `v`  join  `co-operativebank-dekhaliannapurna`.`od_s`  ) where ( (  `od_s`.`cc_loan_code`  =  `v`.`shcode`  ) and (  `v`.`date`  <=  \'2018-03-31\' ) and (  `v`.`htcode`  =  \'23000\' ) and ( (  `v`.`cr`  <>0 ) or (  `v`.`dr`  <>0 ) ) ) group  by  `v`.`shcode`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `v`.`shcode` AS `shcode`,`co-operativebank-dekhaliannapurna`.`od_s`.`cc_loan_code` AS `cc_loan_code`,`v`.`sub_head` AS `sub_head`,sum(`v`.`dr`) AS `dr`,sum(`v`.`cr`) AS `cr`,`v`.`htcode` AS `htcode`,`v`.`type` AS `type` from (`co-operativebank-dekhaliannapurna`.`headvoucher` `v` join `co-operativebank-dekhaliannapurna`.`od_s`) where ((`co-operativebank-dekhaliannapurna`.`od_s`.`cc_loan_code` = `v`.`shcode`) and (`v`.`date` <= \'2018-03-31\') and (`v`.`htcode` = \'23000\') and ((`v`.`cr` <> 0) or (`v`.`dr` <> 0))) group by `v`.`shcode`
