2024-08-12 18:11:59.520054
SELECT name, value FROM 0_sys_prefs

2024-08-12 18:11:59.549288
SELECT * FROM 0_fiscal_year WHERE id='17'

2024-08-12 18:11:59.555312
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND 0_chart_master.account_code >= '51271' AND 0_chart_master.account_code <= '51271' ORDER BY account_code

2024-08-12 18:11:59.561673
SELECT 0_chart_class.ctype 
            FROM 0_chart_class, 0_chart_types, 0_chart_master
            WHERE 0_chart_master.account_type=0_chart_types.id AND
                    0_chart_types.class_id=0_chart_class.cid
                    AND 0_chart_master.account_code='51271'

2024-08-12 18:11:59.567124
SELECT SUM(amount) FROM 0_gl_trans
		WHERE account='51271'  AND tran_date < '2023-04-30'

2024-08-12 18:11:59.587346
SELECT gt.*, 
		cm.account_name, 
		pm.project_code   
                
                FROM 0_gl_trans gt 
                    JOIN 0_chart_master cm 
                        ON cm.account_code=gt.account 
                    LEFT JOIN 0_projects_master pm 
                        ON pm.project_id = gt.dimension_id  
                    LEFT JOIN 0_voided v 
                        ON gt.type_no=v.id 
                        AND v.type=gt.type 
                WHERE ISNULL(v.date_)
		AND tran_date >= '2023-04-30'
		AND tran_date <= '2024-03-31' AND gt.amount <> 0 AND gt.account = '51271' ORDER BY tran_date, counter

2024-08-12 18:11:59.618973
SELECT * FROM 0_refs WHERE type='222' AND id='266'

2024-08-12 18:11:59.620595
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.622026
SELECT * FROM 0_refs WHERE type='222' AND id='266'

2024-08-12 18:11:59.623314
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.624689
SELECT * FROM 0_refs WHERE type='1' AND id='581'

2024-08-12 18:11:59.628452
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.630307
SELECT * FROM 0_refs WHERE type='1' AND id='582'

2024-08-12 18:11:59.632217
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.633966
SELECT * FROM 0_refs WHERE type='222' AND id='271'

2024-08-12 18:11:59.635354
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.638228
SELECT * FROM 0_refs WHERE type='222' AND id='271'

2024-08-12 18:11:59.639665
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.645370
SELECT * FROM 0_refs WHERE type='1' AND id='744'

2024-08-12 18:11:59.647567
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.650169
SELECT * FROM 0_refs WHERE type='1' AND id='748'

2024-08-12 18:11:59.651574
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.652909
SELECT * FROM 0_refs WHERE type='1' AND id='803'

2024-08-12 18:11:59.654265
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.657118
SELECT * FROM 0_refs WHERE type='1' AND id='804'

2024-08-12 18:11:59.658506
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.659902
SELECT * FROM 0_refs WHERE type='1' AND id='805'

2024-08-12 18:11:59.661260
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.663013
SELECT * FROM 0_refs WHERE type='1' AND id='806'

2024-08-12 18:11:59.665338
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.666823
SELECT * FROM 0_refs WHERE type='2' AND id='388'

2024-08-12 18:11:59.669589
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.788596
SELECT * FROM 0_refs WHERE type='222' AND id='160'

2024-08-12 18:11:59.799872
SELECT * FROM 0_refs WHERE type='223' AND id='36'

2024-08-12 18:11:59.823632
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:11:59.832602
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.864245
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:11:59.877231
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.886408
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:11:59.887806
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.889565
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:11:59.891314
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.894078
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:11:59.895960
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.897346
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:11:59.898890
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.907339
SELECT * FROM 0_refs WHERE type='1' AND id='1069'

2024-08-12 18:11:59.909589
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.912232
SELECT * FROM 0_refs WHERE type='1' AND id='1070'

2024-08-12 18:11:59.914108
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.915440
SELECT * FROM 0_refs WHERE type='1' AND id='1176'

2024-08-12 18:11:59.923028
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.924850
SELECT * FROM 0_refs WHERE type='1' AND id='1177'

2024-08-12 18:11:59.926641
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.928084
SELECT * FROM 0_refs WHERE type='222' AND id='291'

2024-08-12 18:11:59.930742
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.932654
SELECT * FROM 0_refs WHERE type='222' AND id='291'

2024-08-12 18:11:59.933964
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.941923
SELECT * FROM 0_refs WHERE type='222' AND id='291'

2024-08-12 18:11:59.943664
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.945481
SELECT * FROM 0_refs WHERE type='222' AND id='291'

2024-08-12 18:11:59.948133
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.950073
SELECT * FROM 0_refs WHERE type='1' AND id='1236'

2024-08-12 18:11:59.957903
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.959735
SELECT * FROM 0_refs WHERE type='1' AND id='1237'

2024-08-12 18:11:59.961678
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.963098
SELECT * FROM 0_refs WHERE type='1' AND id='1238'

2024-08-12 18:11:59.965707
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.967626
SELECT * FROM 0_refs WHERE type='1' AND id='1239'

2024-08-12 18:11:59.968917
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.976889
SELECT * FROM 0_refs WHERE type='1' AND id='1240'

2024-08-12 18:11:59.980355
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.982322
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:11:59.989838
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.991610
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:11:59.993110
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.994949
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:11:59.996316
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:11:59.998960
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:12:00.818
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:00.2264
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:12:00.12195
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:00.14288
SELECT * FROM 0_refs WHERE type='1' AND id='1451'

2024-08-12 18:12:00.17968
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:00.28145
SELECT * FROM 0_refs WHERE type='1' AND id='1452'

2024-08-12 18:12:00.30044
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:00.31905
SELECT * FROM 0_refs WHERE type='1' AND id='1453'

2024-08-12 18:12:00.34908
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:00.36877
SELECT * FROM 0_refs WHERE type='222' AND id='303'

2024-08-12 18:12:00.38213
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:00.47826
SELECT * FROM 0_refs WHERE type='222' AND id='303'

2024-08-12 18:12:00.49667
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:00.51444
SELECT * FROM 0_refs WHERE type='222' AND id='303'

2024-08-12 18:12:00.54381
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.477671
SELECT name, value FROM 0_sys_prefs

2024-08-12 18:12:38.504949
SELECT * FROM 0_fiscal_year WHERE id='17'

2024-08-12 18:12:38.508049
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND 0_chart_master.account_code >= '51271' AND 0_chart_master.account_code <= '51271' ORDER BY account_code

2024-08-12 18:12:38.509102
SELECT 0_chart_class.ctype 
            FROM 0_chart_class, 0_chart_types, 0_chart_master
            WHERE 0_chart_master.account_type=0_chart_types.id AND
                    0_chart_types.class_id=0_chart_class.cid
                    AND 0_chart_master.account_code='51271'

2024-08-12 18:12:38.510098
SELECT SUM(amount) FROM 0_gl_trans
		WHERE account='51271'  AND tran_date < '2023-04-30'

2024-08-12 18:12:38.511241
SELECT gt.*, 
		cm.account_name, 
		pm.project_code   
                
                FROM 0_gl_trans gt 
                    JOIN 0_chart_master cm 
                        ON cm.account_code=gt.account 
                    LEFT JOIN 0_projects_master pm 
                        ON pm.project_id = gt.dimension_id  
                    LEFT JOIN 0_voided v 
                        ON gt.type_no=v.id 
                        AND v.type=gt.type 
                WHERE ISNULL(v.date_)
		AND tran_date >= '2023-04-30'
		AND tran_date <= '2024-03-31' AND gt.amount <> 0 AND gt.account = '51271' ORDER BY tran_date, counter

2024-08-12 18:12:38.514262
SELECT * FROM 0_refs WHERE type='222' AND id='266'

2024-08-12 18:12:38.515406
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.516543
SELECT * FROM 0_refs WHERE type='222' AND id='266'

2024-08-12 18:12:38.517615
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.518757
SELECT * FROM 0_refs WHERE type='1' AND id='581'

2024-08-12 18:12:38.519847
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.520991
SELECT * FROM 0_refs WHERE type='1' AND id='582'

2024-08-12 18:12:38.522106
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.523245
SELECT * FROM 0_refs WHERE type='222' AND id='271'

2024-08-12 18:12:38.524320
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.525445
SELECT * FROM 0_refs WHERE type='222' AND id='271'

2024-08-12 18:12:38.526507
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.527638
SELECT * FROM 0_refs WHERE type='1' AND id='744'

2024-08-12 18:12:38.528783
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.529928
SELECT * FROM 0_refs WHERE type='1' AND id='748'

2024-08-12 18:12:38.531024
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.532187
SELECT * FROM 0_refs WHERE type='1' AND id='803'

2024-08-12 18:12:38.533259
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.534375
SELECT * FROM 0_refs WHERE type='1' AND id='804'

2024-08-12 18:12:38.535449
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.536568
SELECT * FROM 0_refs WHERE type='1' AND id='805'

2024-08-12 18:12:38.537623
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.544034
SELECT * FROM 0_refs WHERE type='1' AND id='806'

2024-08-12 18:12:38.545155
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.546303
SELECT * FROM 0_refs WHERE type='2' AND id='388'

2024-08-12 18:12:38.547384
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.548593
SELECT * FROM 0_refs WHERE type='222' AND id='160'

2024-08-12 18:12:38.549991
SELECT * FROM 0_refs WHERE type='223' AND id='36'

2024-08-12 18:12:38.551352
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:12:38.552452
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.553766
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:12:38.554865
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.555988
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:12:38.557068
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.558190
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:12:38.559267
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.560390
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:12:38.561466
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.562678
SELECT * FROM 0_refs WHERE type='222' AND id='286'

2024-08-12 18:12:38.563985
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.565201
SELECT * FROM 0_refs WHERE type='1' AND id='1069'

2024-08-12 18:12:38.566284
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.567402
SELECT * FROM 0_refs WHERE type='1' AND id='1070'

2024-08-12 18:12:38.568472
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.569596
SELECT * FROM 0_refs WHERE type='1' AND id='1176'

2024-08-12 18:12:38.570660
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.571789
SELECT * FROM 0_refs WHERE type='1' AND id='1177'

2024-08-12 18:12:38.572882
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.573994
SELECT * FROM 0_refs WHERE type='222' AND id='291'

2024-08-12 18:12:38.575065
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.576179
SELECT * FROM 0_refs WHERE type='222' AND id='291'

2024-08-12 18:12:38.577248
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.578357
SELECT * FROM 0_refs WHERE type='222' AND id='291'

2024-08-12 18:12:38.579435
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.580573
SELECT * FROM 0_refs WHERE type='222' AND id='291'

2024-08-12 18:12:38.581662
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.582849
SELECT * FROM 0_refs WHERE type='1' AND id='1236'

2024-08-12 18:12:38.583918
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.585041
SELECT * FROM 0_refs WHERE type='1' AND id='1237'

2024-08-12 18:12:38.586108
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.587223
SELECT * FROM 0_refs WHERE type='1' AND id='1238'

2024-08-12 18:12:38.588284
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.589439
SELECT * FROM 0_refs WHERE type='1' AND id='1239'

2024-08-12 18:12:38.590539
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.591668
SELECT * FROM 0_refs WHERE type='1' AND id='1240'

2024-08-12 18:12:38.592737
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.593906
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:12:38.594984
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.596097
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:12:38.597157
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.598284
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:12:38.599370
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.600504
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:12:38.601607
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.602717
SELECT * FROM 0_refs WHERE type='222' AND id='298'

2024-08-12 18:12:38.603791
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.604911
SELECT * FROM 0_refs WHERE type='1' AND id='1451'

2024-08-12 18:12:38.605983
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.607110
SELECT * FROM 0_refs WHERE type='1' AND id='1452'

2024-08-12 18:12:38.608201
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.609311
SELECT * FROM 0_refs WHERE type='1' AND id='1453'

2024-08-12 18:12:38.610360
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.611493
SELECT * FROM 0_refs WHERE type='222' AND id='303'

2024-08-12 18:12:38.612560
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.613676
SELECT * FROM 0_refs WHERE type='222' AND id='303'

2024-08-12 18:12:38.614741
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:12:38.615850
SELECT * FROM 0_refs WHERE type='222' AND id='303'

2024-08-12 18:12:38.616974
SELECT supp_name AS name FROM 0_suppliers WHERE supplier_id='224'

2024-08-12 18:13:30.969
SELECT name, value FROM 0_sys_prefs

2024-08-12 18:13:36.5454
SELECT name, value FROM 0_sys_prefs

2024-08-12 18:13:36.29210
SELECT * FROM 0_fiscal_year WHERE id='17'

2024-08-12 18:13:36.51065
SELECT * FROM 0_chart_class WHERE !inactive ORDER BY ctype, cid

2024-08-12 18:13:36.73449
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='1' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:36.113152
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77000' ORDER BY account_code

2024-08-12 18:13:36.182126
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:36.185426
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.188649
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.190204
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.192052
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77000' ORDER BY class_id, id, parent

2024-08-12 18:13:36.193486
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77100' ORDER BY account_code

2024-08-12 18:13:36.194925
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:36.196645
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.215954
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.217777
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.219850
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.221455
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.223043
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.224807
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77100' ORDER BY class_id, id, parent

2024-08-12 18:13:36.226312
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77200' ORDER BY account_code

2024-08-12 18:13:36.227814
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:36.229430
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77200' ORDER BY class_id, id, parent

2024-08-12 18:13:36.231817
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77210' ORDER BY account_code

2024-08-12 18:13:36.233323
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:36.234996
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.237837
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.239411
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.241281
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.242882
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.244442
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.246274
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.247975
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.249555
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.251402
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.280489
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.291478
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.293558
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.307326
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.318430
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.333134
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.345199
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.357940
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.360334
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.377441
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.388135
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.389981
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.392643
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.405822
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.416377
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.427747
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.440376
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.460342
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.471655
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.490804
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.501072
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.514292
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.535238
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.547300
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.549866
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.551311
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.552992
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77210' ORDER BY class_id, id, parent

2024-08-12 18:13:36.554353
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77220' ORDER BY account_code

2024-08-12 18:13:36.555725
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:36.566398
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.571471
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.597852
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.608735
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.621451
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.630582
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.633839
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.647599
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.666496
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.669809
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.683430
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.692544
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.705340
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.708935
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.718171
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.729379
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.742721
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.752643
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.754999
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.767441
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.786510
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.799148
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.809193
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.820055
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.832784
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.852406
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.869215
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.873498
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.875835
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.878157
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.888154
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.892605
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.904667
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.913789
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.917939
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.929279
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.941219
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:36.950449
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.954589
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:36.966981
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77220' ORDER BY class_id, id, parent

2024-08-12 18:13:36.976780
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='78000' ORDER BY account_code

2024-08-12 18:13:36.981391
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:36.993620
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.16874
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.29684
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.31543
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.42324
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.57235
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.59604
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.72617
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.77875
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.79636
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.81082
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.82559
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.84269
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.85767
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.87199
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.88898
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.90373
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.91842
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.93555
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.96080
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.98340
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.100038
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.102339
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.136582
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.152028
SELECT * FROM 0_chart_types WHERE !inactive AND parent='78000' ORDER BY class_id, id, parent

2024-08-12 18:13:37.166183
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='79000' ORDER BY account_code

2024-08-12 18:13:37.178267
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:37.192556
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.358712
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.380324
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.393502
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.395203
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.396640
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.398526
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.409790
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.412571
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.414916
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.417034
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.421064
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.423356
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.425114
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.426558
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.428567
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.430169
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.431631
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.434727
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.436336
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.437784
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.439474
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.440933
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.442400
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.444074
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.445545
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.447013
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.448740
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.515453
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.529261
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.543051
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.578829
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.600999
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.603666
SELECT * FROM 0_chart_types WHERE !inactive AND parent='79000' ORDER BY class_id, id, parent

2024-08-12 18:13:37.612657
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='80000' ORDER BY account_code

2024-08-12 18:13:37.625736
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:37.646635
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.669915
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.680874
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.683405
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.709667
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.720165
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.723190
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.725846
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.727291
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.729209
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.730814
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.732289
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.734071
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.754843
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.756407
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.758913
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.760418
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.761868
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.763626
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.765140
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.766568
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.777998
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.779476
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.780926
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.782599
SELECT * FROM 0_chart_types WHERE !inactive AND parent='80000' ORDER BY class_id, id, parent

2024-08-12 18:13:37.783968
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='81000' ORDER BY account_code

2024-08-12 18:13:37.785333
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:37.786942
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.829921
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.843479
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.846960
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.916899
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.938510
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.944206
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.948172
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.959594
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.969540
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:37.982470
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:37.993987
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.4136
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.8154
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.29472
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.50833
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.68902
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.81932
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.100602
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.113278
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.132288
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.146681
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.158820
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.169565
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.190887
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.200584
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.212791
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.225467
SELECT * FROM 0_chart_types WHERE !inactive AND parent='81000' ORDER BY class_id, id, parent

2024-08-12 18:13:38.239313
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='82000' ORDER BY account_code

2024-08-12 18:13:38.258285
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:38.271324
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.306556
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.319924
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.323111
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.343891
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.365830
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.384228
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.405296
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.419483
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.442068
SELECT * FROM 0_chart_types WHERE !inactive AND parent='82000' ORDER BY class_id, id, parent

2024-08-12 18:13:38.464342
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='83000' ORDER BY account_code

2024-08-12 18:13:38.466730
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:38.474639
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:38.718155
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.744414
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:38.930966
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.56441
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.79291
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.105897
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.125571
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.128972
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.140180
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.205636
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.217195
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.244645
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.274845
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.295705
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.301711
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.310340
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.323361
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.342784
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.356287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.368514
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.391315
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.395314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.396918
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.418883
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.461392
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.484348
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.497357
SELECT * FROM 0_chart_types WHERE !inactive AND parent='83000' ORDER BY class_id, id, parent

2024-08-12 18:13:39.518011
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84000' ORDER BY account_code

2024-08-12 18:13:39.527675
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:39.551518
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84000' ORDER BY class_id, id, parent

2024-08-12 18:13:39.553750
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84100' ORDER BY account_code

2024-08-12 18:13:39.564188
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:39.578674
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.588595
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.590186
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.592000
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.596135
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.598165
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.599923
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84100' ORDER BY class_id, id, parent

2024-08-12 18:13:39.601318
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84200' ORDER BY account_code

2024-08-12 18:13:39.602685
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:39.604278
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.688199
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.703172
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.707091
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.719201
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.721414
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.723540
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.745673
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.758288
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.760907
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.786947
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.807924
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.829321
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84200' ORDER BY class_id, id, parent

2024-08-12 18:13:39.847844
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84300' ORDER BY account_code

2024-08-12 18:13:39.851376
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:39.863329
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.899371
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.901766
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.913084
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.915813
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.928640
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.931092
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:39.940418
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.955939
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:39.967202
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84300' ORDER BY class_id, id, parent

2024-08-12 18:13:39.980232
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84400' ORDER BY account_code

2024-08-12 18:13:40.1013
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:40.18471
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.59381
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.70941
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.73253
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.79588
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.91506
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.94057
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.106443
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.121888
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.124534
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.152380
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.162239
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.167305
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.320246
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.332648
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.336979
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.350633
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.364877
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.367552
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.381599
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.388461
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.391234
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.411519
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.433463
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.447572
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84400' ORDER BY class_id, id, parent

2024-08-12 18:13:40.463478
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84500' ORDER BY account_code

2024-08-12 18:13:40.475763
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:40.491904
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.505022
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.520170
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.522759
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.537111
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.551433
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.554040
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.592493
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.606030
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.607917
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.614117
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.615597
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.633904
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.643061
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.644574
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.646501
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.663336
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.665857
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.668789
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.670904
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.672368
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.674057
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.675498
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.677128
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.678792
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.680290
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.681788
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.683566
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.684984
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.686377
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.688037
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.896631
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.903822
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.926573
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.929306
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.931550
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.933287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.934777
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.936217
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.937917
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.939399
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.940828
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.942609
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.944143
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.945560
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.947246
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:40.948684
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.950110
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:40.951751
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84500' ORDER BY class_id, id, parent

2024-08-12 18:13:40.953140
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='2' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:40.955253
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='50000' ORDER BY account_code

2024-08-12 18:13:40.958252
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:40.962481
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.37988
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.40097
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.53037
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.54834
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.56243
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.57825
SELECT * FROM 0_chart_types WHERE !inactive AND parent='50000' ORDER BY class_id, id, parent

2024-08-12 18:13:41.59167
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51100' ORDER BY account_code

2024-08-12 18:13:41.60524
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.62077
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.63604
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.65016
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.66908
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.68479
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.70021
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.71749
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.73330
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.74782
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.76662
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51100' ORDER BY class_id, id, parent

2024-08-12 18:13:41.78025
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51200' ORDER BY account_code

2024-08-12 18:13:41.79448
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.80994
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.83322
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.84822
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.86472
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.87954
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.89409
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.91081
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.92855
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.94274
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.96267
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.98946
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.100396
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.102676
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.106114
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.112656
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.115344
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.116752
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.118173
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.120114
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.121536
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.123003
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.124699
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.126159
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.127568
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.129272
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.130718
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.132104
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.133787
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.135395
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.136856
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.138556
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.140040
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.141482
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.143171
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.144652
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.146055
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.147798
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.149316
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.150740
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.152409
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.155609
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.157080
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.159107
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.160559
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.161998
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.163763
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.165299
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.166822
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.168615
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.170277
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.171719
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.173578
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.175226
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.176663
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.178577
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.180044
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.181499
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.183224
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.185385
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.186955
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.188654
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.190919
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.192383
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.194855
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51200' ORDER BY class_id, id, parent

2024-08-12 18:13:41.196339
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51250' ORDER BY account_code

2024-08-12 18:13:41.197743
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.199342
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.200874
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.202321
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.204102
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.205754
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.207161
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.208964
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.210584
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.212034
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.213863
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.215345
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.216802
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.218444
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51250' ORDER BY class_id, id, parent

2024-08-12 18:13:41.220380
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51260' ORDER BY account_code

2024-08-12 18:13:41.221674
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.223245
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.225562
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.227012
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.228920
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.230733
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.232150
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.234051
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.235688
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.237114
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.238918
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51260' ORDER BY class_id, id, parent

2024-08-12 18:13:41.240285
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51270' ORDER BY account_code

2024-08-12 18:13:41.241633
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.243211
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.244850
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.246291
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.248109
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.249687
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.251100
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.252910
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.254417
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.255893
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.257662
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.259374
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.260857
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.262722
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51270' ORDER BY class_id, id, parent

2024-08-12 18:13:41.264045
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51280' ORDER BY account_code

2024-08-12 18:13:41.265400
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.266968
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.268531
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.269967
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.271744
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.275800
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.277270
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.280502
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.281976
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.283403
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.285099
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.287581
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.289018
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.290925
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.292581
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.294064
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.295757
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.297933
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.299465
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.301829
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.303404
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.304887
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.306681
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.308771
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.310259
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.312385
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51280' ORDER BY class_id, id, parent

2024-08-12 18:13:41.313778
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51300' ORDER BY account_code

2024-08-12 18:13:41.315130
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.316672
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.318110
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.319544
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.321245
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.322699
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.324210
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.325979
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.327471
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.328891
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.330555
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.331997
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.333428
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.335106
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.336543
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.338009
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.339727
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.341184
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.342593
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.344272
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.345751
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.347159
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.348878
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.350324
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.351767
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.353515
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.354955
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.356505
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.358130
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51300' ORDER BY class_id, id, parent

2024-08-12 18:13:41.359448
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52000' ORDER BY account_code

2024-08-12 18:13:41.360778
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.362367
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.363841
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.365271
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.366970
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.368531
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.369956
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.379878
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52000' ORDER BY class_id, id, parent

2024-08-12 18:13:41.381327
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52100' ORDER BY account_code

2024-08-12 18:13:41.382874
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.389478
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.391078
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.392515
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.394278
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.395757
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.397194
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.399000
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.400674
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.402345
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.404197
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.405715
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.407135
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.408851
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.410289
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.411760
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.413483
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.414982
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.416401
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.418204
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.419734
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.421154
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.422869
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.424364
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.425878
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.427583
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.429048
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.430478
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.432199
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.433649
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.435095
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.436865
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.438390
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.439857
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.441565
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.443017
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.444439
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.446154
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.447633
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.449048
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.450887
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.452428
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.453864
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.455570
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.457003
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.458434
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.460132
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.461577
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.463043
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.464748
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.466218
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.467634
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.469331
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.470875
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.472289
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.474078
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.475638
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.477049
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.478899
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.480436
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.481981
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.483798
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.485328
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.486967
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.488802
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.490328
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.491761
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.493585
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.495132
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.496556
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.498558
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.500194
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.501613
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.503418
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.504954
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.506378
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.508209
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.509678
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.511096
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.512845
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.514392
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.515822
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.517506
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.518991
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.520840
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.522534
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.524017
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.525449
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.527137
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52100' ORDER BY class_id, id, parent

2024-08-12 18:13:41.528517
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52200' ORDER BY account_code

2024-08-12 18:13:41.529873
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.531448
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.532960
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.534383
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.536164
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.537708
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.539214
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.540936
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.542395
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.544519
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.546236
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.547789
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.549248
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.551120
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.552747
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.554746
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.556424
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.558148
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.560272
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.561919
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52200' ORDER BY class_id, id, parent

2024-08-12 18:13:41.563306
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53000' ORDER BY account_code

2024-08-12 18:13:41.564629
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.566132
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53000' ORDER BY class_id, id, parent

2024-08-12 18:13:41.567509
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53100' ORDER BY account_code

2024-08-12 18:13:41.568869
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.570423
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.571939
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.573388
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.575091
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.576631
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.578089
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.624947
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.626569
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.627984
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.629731
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.631232
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.632658
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.634328
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.635838
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.637238
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.638989
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.642028
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.643453
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.645411
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.646905
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.648331
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.650052
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.651495
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.652938
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.654660
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.660790
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.662237
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.664010
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53100' ORDER BY class_id, id, parent

2024-08-12 18:13:41.665394
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53200' ORDER BY account_code

2024-08-12 18:13:41.666805
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.668383
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.669814
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.671325
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.672974
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.674420
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.675843
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.677530
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.679101
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.680526
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.682197
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.683662
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.685085
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.686794
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.688260
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.689668
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.691395
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.692860
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.694290
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.695982
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.697429
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.698849
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.700509
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.702137
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.703588
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.705260
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.706861
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.708292
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.709986
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.711501
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.712929
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.714615
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.716590
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.718027
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.719773
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53200' ORDER BY class_id, id, parent

2024-08-12 18:13:41.721150
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='54000' ORDER BY account_code

2024-08-12 18:13:41.722440
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.723931
SELECT * FROM 0_chart_types WHERE !inactive AND parent='54000' ORDER BY class_id, id, parent

2024-08-12 18:13:41.725302
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='5' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:41.726675
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='3' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:41.728050
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='20000' ORDER BY account_code

2024-08-12 18:13:41.729376
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.730926
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.746283
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.747808
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.749767
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.751563
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.753007
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.754792
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.756256
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.757755
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.759368
SELECT * FROM 0_chart_types WHERE !inactive AND parent='20000' ORDER BY class_id, id, parent

2024-08-12 18:13:41.760745
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='20200' ORDER BY account_code

2024-08-12 18:13:41.762059
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.763627
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.769817
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.771281
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.773074
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.777473
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.780558
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.782386
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.791909
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.793412
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.795326
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:41.801824
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.803315
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:41.805097
SELECT * FROM 0_chart_types WHERE !inactive AND parent='20200' ORDER BY class_id, id, parent

2024-08-12 18:13:41.806479
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='4' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:41.807853
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10000' ORDER BY account_code

2024-08-12 18:13:41.809317
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:41.810893
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.16542
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.18254
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.30321
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.93924
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.95688
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.114883
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.116453
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.118012
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.119806
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.121429
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.122926
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.124791
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.127287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.128834
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.130617
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.132829
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.134413
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.136203
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.139799
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.141357
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.143175
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.144779
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.146336
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.148227
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.151433
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.153037
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.155059
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.165390
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.174061
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.178951
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.181469
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.183016
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.184911
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.188055
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.189573
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.191388
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.192932
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.194418
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.196146
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10000' ORDER BY class_id, id, parent

2024-08-12 18:13:42.197639
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10070' ORDER BY account_code

2024-08-12 18:13:42.199013
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:42.200967
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.210352
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.214621
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.216918
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10070' ORDER BY class_id, id, parent

2024-08-12 18:13:42.218306
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10100' ORDER BY account_code

2024-08-12 18:13:42.219763
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:42.221364
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.224299
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.225861
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.228350
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.230336
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.231803
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.233948
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.235504
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.237022
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.238847
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.240369
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.241944
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.243694
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.251944
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.253530
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.258964
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.277175
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.278873
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.288439
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.299423
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.301637
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.308637
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.310176
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.311627
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.313977
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.315550
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.317072
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.318828
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.320648
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.322166
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.324193
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.325990
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.327475
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.329453
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.331188
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.332682
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.334502
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.337212
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.338749
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.340857
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.342915
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.344379
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.346667
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.364081
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.365742
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.375179
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.377521
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.384050
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.386003
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.387785
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.389322
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.391356
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.392887
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.394580
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.396421
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.433239
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.435049
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.450947
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.452705
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.454316
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.456101
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.457867
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.459349
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.461432
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.463287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.464768
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.466699
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.468302
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.469833
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.471743
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.473421
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.474933
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.476819
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.479260
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.480804
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.482693
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.484195
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.485728
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.487474
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.510770
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.512458
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.518279
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.541118
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.542792
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.555535
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.559562
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.561117
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.564070
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.572048
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.573572
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.575818
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.577377
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.578858
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.580685
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.582237
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.583712
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.585409
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10100' ORDER BY class_id, id, parent

2024-08-12 18:13:42.586837
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10140' ORDER BY account_code

2024-08-12 18:13:42.588235
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:42.589776
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10140' ORDER BY class_id, id, parent

2024-08-12 18:13:42.591198
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='6' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:42.592589
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30000' ORDER BY account_code

2024-08-12 18:13:42.594055
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:42.595679
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.613971
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.621974
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.679211
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.692550
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.694267
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.697944
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.713246
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.714880
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.717479
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.720362
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.721806
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.724041
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.735009
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.736651
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.739002
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.743880
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.745439
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.747668
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.749934
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.751401
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.753208
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.754724
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.756108
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.757796
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.767374
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.769064
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.771931
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.773962
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.775420
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.777252
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.781828
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.783297
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.785965
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.787823
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.789221
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.791178
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.792613
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.794028
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.795787
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.798586
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.800092
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.801770
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.805918
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.807414
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.809392
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.815484
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.816994
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.818870
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.901979
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.907746
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.933064
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.938115
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.940287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.942436
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.945152
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.946739
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.948565
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.955518
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.957149
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.959309
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.965826
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.967407
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.976870
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.978792
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.980354
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.982434
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.987604
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.989190
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.991136
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.992744
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.994230
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.996028
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:42.998417
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:42.999958
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.1841
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.3395
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.4919
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.6803
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.8393
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.10067
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.12065
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.13670
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.15177
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.16970
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.18629
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.20131
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.21916
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30000' ORDER BY class_id, id, parent

2024-08-12 18:13:43.23350
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30100' ORDER BY account_code

2024-08-12 18:13:43.25694
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.29201
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.34797
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.36559
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.38736
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.40520
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.42026
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.43995
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.45627
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.47110
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.48936
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.50524
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.52106
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.53960
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.55565
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.57046
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.58885
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30100' ORDER BY class_id, id, parent

2024-08-12 18:13:43.60316
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30300' ORDER BY account_code

2024-08-12 18:13:43.61662
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.63194
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30300' ORDER BY class_id, id, parent

2024-08-12 18:13:43.64609
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30200' ORDER BY account_code

2024-08-12 18:13:43.65984
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.67600
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.69161
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.70844
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.72593
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.74222
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.75728
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.77566
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.79101
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.80603
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.82346
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30200' ORDER BY class_id, id, parent

2024-08-12 18:13:43.83788
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='40000' ORDER BY account_code

2024-08-12 18:13:43.85197
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.86828
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.93527
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.95104
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.97061
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.103479
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.105128
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.107398
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.108999
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.110489
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.112293
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.118953
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.120740
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.123612
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.126298
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.127841
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.130450
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.132018
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.133645
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.135462
SELECT * FROM 0_chart_types WHERE !inactive AND parent='40000' ORDER BY class_id, id, parent

2024-08-12 18:13:43.276802
SELECT name, value FROM 0_sys_prefs

2024-08-12 18:13:43.290836
SELECT * FROM 0_fiscal_year WHERE id='17'

2024-08-12 18:13:43.292465
SELECT * FROM 0_chart_class WHERE !inactive ORDER BY ctype, cid

2024-08-12 18:13:43.294291
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='1' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:43.298300
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77000' ORDER BY account_code

2024-08-12 18:13:43.308133
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.310315
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.314371
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.317413
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.325198
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77000' ORDER BY class_id, id, parent

2024-08-12 18:13:43.326569
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77100' ORDER BY account_code

2024-08-12 18:13:43.327930
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.329921
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.341879
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.343820
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.345926
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.347734
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.350024
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.351869
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77100' ORDER BY class_id, id, parent

2024-08-12 18:13:43.361054
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77200' ORDER BY account_code

2024-08-12 18:13:43.362474
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.364521
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77200' ORDER BY class_id, id, parent

2024-08-12 18:13:43.367138
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77210' ORDER BY account_code

2024-08-12 18:13:43.368622
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.370358
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.372035
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.373647
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.375649
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.377279
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.378886
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.390789
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.392896
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.394630
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.397185
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.408791
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.410721
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.414860
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.424538
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.426545
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.428584
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.432281
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.442207
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.444491
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.446265
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.450062
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.460467
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.462462
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.464234
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.468042
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.477706
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.480399
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.484051
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.493376
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.495523
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.497506
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.500855
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.510035
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.512397
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.514134
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.517701
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.527693
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77210' ORDER BY class_id, id, parent

2024-08-12 18:13:43.529250
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77220' ORDER BY account_code

2024-08-12 18:13:43.531060
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.533018
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.536799
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.546819
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.549104
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.551050
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.554597
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.564582
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.566535
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.568389
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.572177
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.581971
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.583958
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.586033
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.589600
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.599229
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.644279
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.646399
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.648186
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.652116
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.653820
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.660738
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.662470
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.664162
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.666047
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.667869
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.669637
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.671185
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.673072
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.674712
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.676244
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.678200
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.679814
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.681349
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.683224
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.684815
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.686440
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.689456
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.690952
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.693303
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.696122
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77220' ORDER BY class_id, id, parent

2024-08-12 18:13:43.701780
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='78000' ORDER BY account_code

2024-08-12 18:13:43.703364
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.705279
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.711720
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.713626
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.715595
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.718996
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.726859
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.729087
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.730792
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.734236
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.742485
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.744487
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.746228
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.749829
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.757865
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.759878
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.761816
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.763613
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.765308
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.767248
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.768848
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.770426
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.772324
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.773945
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.775539
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.777385
SELECT * FROM 0_chart_types WHERE !inactive AND parent='78000' ORDER BY class_id, id, parent

2024-08-12 18:13:43.778981
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='79000' ORDER BY account_code

2024-08-12 18:13:43.780519
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.782209
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.854640
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.864550
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.876424
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.878491
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.880327
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.883230
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.893098
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.895427
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.897833
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.900116
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.901944
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.904436
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.906545
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.908180
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.916788
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.918418
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.919780
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.921670
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.923608
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.925362
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.927200
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.928829
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.930385
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.932122
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.934139
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.940921
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.942903
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.960840
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.969702
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.980904
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:43.983141
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.984998
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:43.987099
SELECT * FROM 0_chart_types WHERE !inactive AND parent='79000' ORDER BY class_id, id, parent

2024-08-12 18:13:43.988591
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='80000' ORDER BY account_code

2024-08-12 18:13:43.990062
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:43.991757
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.200
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.2310
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.5209
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.12029
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.14888
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.23789
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.25873
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.29343
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.31510
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.33378
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.40349
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.42219
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.56343
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.58290
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.61591
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.63530
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.71452
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.73560
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.75294
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.77883
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.80152
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.87811
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.89716
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.91613
SELECT * FROM 0_chart_types WHERE !inactive AND parent='80000' ORDER BY class_id, id, parent

2024-08-12 18:13:44.94371
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='81000' ORDER BY account_code

2024-08-12 18:13:44.95800
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:44.97940
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.120997
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.129608
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.133592
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.167839
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.170058
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.181226
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.182955
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.184440
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.187318
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.189075
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.190668
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.192654
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.194270
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.196624
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.198654
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.200264
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.201811
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.203525
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.205774
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.207339
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.209149
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.210713
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.212397
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.214253
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.215750
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.217346
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.219158
SELECT * FROM 0_chart_types WHERE !inactive AND parent='81000' ORDER BY class_id, id, parent

2024-08-12 18:13:44.220647
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='82000' ORDER BY account_code

2024-08-12 18:13:44.222102
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:44.223777
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.232491
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.234709
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.238257
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.247380
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.249470
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.251479
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.254948
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.263203
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.265512
SELECT * FROM 0_chart_types WHERE !inactive AND parent='82000' ORDER BY class_id, id, parent

2024-08-12 18:13:44.267272
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='83000' ORDER BY account_code

2024-08-12 18:13:44.270627
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:44.272218
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.495167
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.497528
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.509096
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.576180
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.585968
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.612257
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.631367
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.633501
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.635372
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.830567
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.840910
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.881472
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.940339
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.950353
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.961465
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.963242
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.964960
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.967852
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.969795
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.977534
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.979516
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:44.981318
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.982931
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:44.985809
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.55425
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.65625
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.78484
SELECT * FROM 0_chart_types WHERE !inactive AND parent='83000' ORDER BY class_id, id, parent

2024-08-12 18:13:45.80178
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84000' ORDER BY account_code

2024-08-12 18:13:45.89928
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.98245
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84000' ORDER BY class_id, id, parent

2024-08-12 18:13:45.100221
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84100' ORDER BY account_code

2024-08-12 18:13:45.101805
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.104751
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.106638
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.114520
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.116602
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.119760
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.121658
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.130131
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84100' ORDER BY class_id, id, parent

2024-08-12 18:13:45.132125
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84200' ORDER BY account_code

2024-08-12 18:13:45.133831
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.136897
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.172650
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.182455
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.186445
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.195481
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.197341
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.201426
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.209302
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.211199
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.214993
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.222849
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.224863
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.228790
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84200' ORDER BY class_id, id, parent

2024-08-12 18:13:45.236391
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84300' ORDER BY account_code

2024-08-12 18:13:45.238258
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.240212
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.250795
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.255008
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.267704
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.276585
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.278742
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.280731
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.283588
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.285578
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.293968
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84300' ORDER BY class_id, id, parent

2024-08-12 18:13:45.295856
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84400' ORDER BY account_code

2024-08-12 18:13:45.297593
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.300846
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.302829
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.304495
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.306589
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.308348
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.309901
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.311763
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.313340
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.314857
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.316636
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.318210
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.319620
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.321429
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.326483
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.328049
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.331237
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.333002
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.334446
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.336580
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.345553
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.347375
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.350372
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.352575
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.354097
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.356340
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84400' ORDER BY class_id, id, parent

2024-08-12 18:13:45.357824
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84500' ORDER BY account_code

2024-08-12 18:13:45.359345
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.361050
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.365347
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.367258
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.369271
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.372313
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.374283
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.382680
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.384633
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.386349
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.389415
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.391380
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.399473
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.410327
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.414040
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.416513
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.418584
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.424057
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.425618
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.428266
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.429714
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.431140
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.432895
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.434443
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.435902
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.437605
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.439132
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.440695
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.442627
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.444117
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.445599
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.447360
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.540707
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.550546
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.563167
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.570798
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.572460
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.574217
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.577081
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.584378
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.586710
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.588311
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.591534
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.599477
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.601267
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.602855
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.606239
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.642733
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.652432
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.654535
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84500' ORDER BY class_id, id, parent

2024-08-12 18:13:45.656207
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='2' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:45.659348
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='50000' ORDER BY account_code

2024-08-12 18:13:45.667239
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.669292
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.861356
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.871520
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.892639
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.901624
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.911521
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.913581
SELECT * FROM 0_chart_types WHERE !inactive AND parent='50000' ORDER BY class_id, id, parent

2024-08-12 18:13:45.915157
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51100' ORDER BY account_code

2024-08-12 18:13:45.919771
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.923730
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.925493
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.927806
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.930641
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.932235
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.933684
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.937349
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.939025
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.942586
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.950812
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51100' ORDER BY class_id, id, parent

2024-08-12 18:13:45.954634
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51200' ORDER BY account_code

2024-08-12 18:13:45.958162
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:45.966237
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.969028
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.972262
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.980159
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.981915
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.983559
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.986955
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:45.994646
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:45.996483
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.285
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.8352
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.10199
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.14008
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.21530
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.23429
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.27386
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.34954
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.36477
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.47362
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.48910
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.50687
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.52522
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.55717
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.63222
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.65397
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.67040
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.70336
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.77991
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.79858
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.81448
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.84700
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.92049
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.93925
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.95869
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.98969
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.106298
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.108295
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.109896
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.112852
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.120258
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.129831
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.131653
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.134712
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.136523
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.143715
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.145740
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.147395
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.150037
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.152219
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.160264
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.162186
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.165402
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.167296
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.174878
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.176961
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.178600
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.181211
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.183473
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.190884
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.192768
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.194633
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.204145
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.205987
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.209679
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51200' ORDER BY class_id, id, parent

2024-08-12 18:13:46.217363
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51250' ORDER BY account_code

2024-08-12 18:13:46.219396
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.221269
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.224314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.231283
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.233373
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.235019
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.238105
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.245872
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.247693
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.249305
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.252497
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.259847
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.261577
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.263502
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51250' ORDER BY class_id, id, parent

2024-08-12 18:13:46.266509
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51260' ORDER BY account_code

2024-08-12 18:13:46.273256
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.275257
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.278686
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.285783
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.287852
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.289553
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.292716
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.300574
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.302502
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.304125
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.307403
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51260' ORDER BY class_id, id, parent

2024-08-12 18:13:46.314396
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51270' ORDER BY account_code

2024-08-12 18:13:46.316119
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.317976
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.321095
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.328269
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.330254
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.331834
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.334849
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.342602
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.344510
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.346314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.348597
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.350479
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.352089
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.354026
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51270' ORDER BY class_id, id, parent

2024-08-12 18:13:46.355506
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51280' ORDER BY account_code

2024-08-12 18:13:46.357234
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.359738
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.361482
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.363164
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.365046
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.372390
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.374198
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.377882
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.384950
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.386824
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.388811
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.392099
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.399481
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.410318
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.412480
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.414086
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.417751
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.420126
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.421796
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.424373
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.426110
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.427572
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.429885
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.433838
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.441935
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.444344
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51280' ORDER BY class_id, id, parent

2024-08-12 18:13:46.447633
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51300' ORDER BY account_code

2024-08-12 18:13:46.455443
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.457580
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.459267
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.462538
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.470381
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.472269
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.474009
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.477430
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.478944
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.486291
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.488483
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.490172
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.493477
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.501440
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.503143
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.504893
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.506796
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.508410
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.509956
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.511874
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.513403
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.515168
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.517641
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.519230
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.520749
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.522661
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.524132
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.525778
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.527588
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51300' ORDER BY class_id, id, parent

2024-08-12 18:13:46.529208
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52000' ORDER BY account_code

2024-08-12 18:13:46.530751
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.532452
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.534236
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.535722
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.537887
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.539527
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.541073
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.542829
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52000' ORDER BY class_id, id, parent

2024-08-12 18:13:46.544345
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52100' ORDER BY account_code

2024-08-12 18:13:46.546191
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.547970
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.549616
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.551246
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.553314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.554850
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.556454
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.558200
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.559660
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.561333
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.563223
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.564886
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.566429
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.568308
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.570045
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.571569
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.573664
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.575335
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.576864
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.578734
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.580461
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.582161
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.584041
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.585664
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.587451
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.589370
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.590946
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.592617
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.594435
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.596102
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.597671
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.599505
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.601166
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.602711
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.604468
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.606029
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.607594
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.609565
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.611153
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.612696
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.614701
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.620501
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.626072
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.634764
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.636286
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.637698
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.639461
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.641305
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.643009
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.645901
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.647870
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.655305
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.657049
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.667080
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.668658
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.670630
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.672451
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.674251
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.676203
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.677906
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.679493
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.681416
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.683155
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.689223
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.691115
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.698499
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.700361
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.702223
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.704666
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.706482
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.713768
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.715618
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.717383
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.720302
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.722196
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.729270
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.731279
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.734256
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.736050
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.743459
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.747154
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.749031
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.756552
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.760592
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.767281
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.769291
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.772685
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.779498
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.781516
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52100' ORDER BY class_id, id, parent

2024-08-12 18:13:46.783140
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52200' ORDER BY account_code

2024-08-12 18:13:46.786144
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.793314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.797288
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.804081
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.806129
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.807973
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.811081
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.813394
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.821051
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.822959
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.825140
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.835685
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.841778
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.853090
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.854848
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.856564
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.859377
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.861339
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.868508
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.870247
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52200' ORDER BY class_id, id, parent

2024-08-12 18:13:46.871639
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53000' ORDER BY account_code

2024-08-12 18:13:46.873346
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.875162
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53000' ORDER BY class_id, id, parent

2024-08-12 18:13:46.876713
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53100' ORDER BY account_code

2024-08-12 18:13:46.878075
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.880815
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.882717
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.890281
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.892633
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.894274
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.896089
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.898030
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.900880
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.911313
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.913493
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.915071
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.917505
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.920711
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.923218
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.925709
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.927680
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.929846
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.938755
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.940988
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.942768
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.945497
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.947926
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.955225
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.956856
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.958632
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.965935
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.967521
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.969402
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53100' ORDER BY class_id, id, parent

2024-08-12 18:13:46.971024
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53200' ORDER BY account_code

2024-08-12 18:13:46.972500
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:46.974173
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.975699
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.977193
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.979035
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.980564
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.982054
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.983836
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.985427
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.986952
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.988750
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.990289
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.991779
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.993602
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.995126
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.996611
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:46.998458
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:46.999980
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.1588
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.3371
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.4901
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.6416
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.8230
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.9702
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.11202
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.12899
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.14420
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.15866
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.17602
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.19102
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.20659
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.22383
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.23952
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.25408
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.27121
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53200' ORDER BY class_id, id, parent

2024-08-12 18:13:47.29143
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='54000' ORDER BY account_code

2024-08-12 18:13:47.30827
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:47.33960
SELECT * FROM 0_chart_types WHERE !inactive AND parent='54000' ORDER BY class_id, id, parent

2024-08-12 18:13:47.36126
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='5' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:47.41521
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='3' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:47.43077
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='20000' ORDER BY account_code

2024-08-12 18:13:47.47051
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:47.49361
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.57957
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.60004
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.62039
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.65014
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.67024
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.75481
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.77548
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.79280
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.82125
SELECT * FROM 0_chart_types WHERE !inactive AND parent='20000' ORDER BY class_id, id, parent

2024-08-12 18:13:47.84012
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='20200' ORDER BY account_code

2024-08-12 18:13:47.91845
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:47.93607
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.97722
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.99596
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.101663
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.105253
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.106938
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.108982
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.119544
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.121218
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.123662
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.134099
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.142068
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.182623
SELECT * FROM 0_chart_types WHERE !inactive AND parent='20200' ORDER BY class_id, id, parent

2024-08-12 18:13:47.188961
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='4' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:47.190410
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10000' ORDER BY account_code

2024-08-12 18:13:47.192987
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:47.200039
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.387158
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.389172
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.402050
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.482940
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.495870
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.515999
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.517835
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.519503
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.521436
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.523224
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.524940
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.526928
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.539693
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.549946
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.552015
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.553848
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.555594
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.557625
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.569116
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.570862
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.572991
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.574910
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.576617
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.578671
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.591259
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.593147
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.595473
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.611948
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.633442
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.735976
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.755233
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.766624
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.775754
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.784605
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.786764
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.789322
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:47.795807
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.797537
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:47.800168
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10000' ORDER BY class_id, id, parent

2024-08-12 18:13:47.806276
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10070' ORDER BY account_code

2024-08-12 18:13:47.808856
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:47.824751
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.48840
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.117502
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.284203
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10070' ORDER BY class_id, id, parent

2024-08-12 18:13:48.296431
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10100' ORDER BY account_code

2024-08-12 18:13:48.298334
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:48.300105
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.356598
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.358437
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.367840
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.386635
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.398897
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.401760
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.414040
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.429707
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.431947
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.433502
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.435111
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.438097
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.588045
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.589839
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.598214
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.684862
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.701726
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.764694
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.784960
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.786703
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.794750
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.802840
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.804648
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.808153
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.814645
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.816393
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.826965
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.868869
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.870611
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.873113
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.902521
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.910920
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.913161
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.935245
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.938832
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.941133
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:48.971714
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.980584
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:48.983823
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.7111
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.8987
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.11972
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.54417
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.56138
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.65756
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.68025
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.70024
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.72513
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.77764
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.80305
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.87494
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.89157
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.91470
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.98825
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.192946
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.194779
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.211158
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.212936
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.214369
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.216101
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.237335
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.239019
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.246482
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.258455
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.260599
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.264044
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.275616
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.283276
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.285463
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.287612
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.295481
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.297786
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.300706
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.307404
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.309535
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.311771
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.318379
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.320361
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.360365
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.362225
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.368938
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.400273
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.402110
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.421773
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.426911
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.428451
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.439698
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.447333
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.448971
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.457634
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.462355
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.469854
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.472041
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.474583
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.482256
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.484325
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10100' ORDER BY class_id, id, parent

2024-08-12 18:13:49.487065
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10140' ORDER BY account_code

2024-08-12 18:13:49.495129
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:49.506572
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10140' ORDER BY class_id, id, parent

2024-08-12 18:13:49.508283
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='6' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:49.518032
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30000' ORDER BY account_code

2024-08-12 18:13:49.519933
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:49.522649
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.545895
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.555397
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.559628
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.576127
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.584566
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.588508
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.592308
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.595787
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.598247
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.603828
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.605590
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.607892
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.619850
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.626708
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.699649
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.709108
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.711021
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.714237
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.719306
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.720798
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.722602
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.724049
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.725487
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.727208
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.787623
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.796993
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.801272
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.809329
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.811287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.818385
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.842756
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.858081
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.877216
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.889847
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.891816
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.895224
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.897345
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.898975
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.901653
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:49.905183
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.908235
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:49.915131
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.21308
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.24857
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.34235
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.37407
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.44462
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.47749
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.103709
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.106180
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.117031
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.130622
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.139459
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.142718
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.152551
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.160311
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.162839
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.177119
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.178663
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.181035
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.187723
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.189435
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.192876
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.196100
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.197619
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.199578
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.204881
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.206383
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.208317
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.209900
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.211563
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.213371
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.215628
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.217155
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.218956
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.220464
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.221894
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.223721
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.225169
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.226599
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.228331
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.229816
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.231250
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.232935
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.234621
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.236093
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.237843
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30000' ORDER BY class_id, id, parent

2024-08-12 18:13:50.239211
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30100' ORDER BY account_code

2024-08-12 18:13:50.241307
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:50.245153
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.255768
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.257369
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.259509
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.261925
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.263459
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.265597
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.267280
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.268787
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.270727
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.272275
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.273874
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.275662
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.277556
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.279059
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.280830
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30100' ORDER BY class_id, id, parent

2024-08-12 18:13:50.282246
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30300' ORDER BY account_code

2024-08-12 18:13:50.283525
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:50.285001
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30300' ORDER BY class_id, id, parent

2024-08-12 18:13:50.286452
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30200' ORDER BY account_code

2024-08-12 18:13:50.287869
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:50.289449
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.290928
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.292367
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.294056
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.296069
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.297620
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.299488
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.301136
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.302594
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.304382
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30200' ORDER BY class_id, id, parent

2024-08-12 18:13:50.305988
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='40000' ORDER BY account_code

2024-08-12 18:13:50.307359
SELECT begin FROM 0_fiscal_year WHERE '2024-08-01' >= begin AND '2024-08-01' <= end

2024-08-12 18:13:50.308941
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.314978
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.316598
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.318651
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.323725
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.325262
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.327635
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.329657
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.331138
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.332876
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.339672
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.341240
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.343877
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.347524
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.349401
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.356919
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2024-08-01' 

2024-08-12 18:13:50.358989
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date >= '2024-08-01'  AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.365921
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2024-08-31' 

2024-08-12 18:13:50.368578
SELECT * FROM 0_chart_types WHERE !inactive AND parent='40000' ORDER BY class_id, id, parent

2024-08-12 18:13:50.508468
SELECT name, value FROM 0_sys_prefs

2024-08-12 18:13:50.512977
SELECT * FROM 0_fiscal_year WHERE id='17'

2024-08-12 18:13:50.514517
SELECT * FROM 0_chart_class WHERE !inactive ORDER BY ctype, cid

2024-08-12 18:13:50.515913
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='1' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:50.517995
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77000' ORDER BY account_code

2024-08-12 18:13:50.520360
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.521994
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.525174
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.534184
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77299' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.535932
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77000' ORDER BY class_id, id, parent

2024-08-12 18:13:50.537311
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77100' ORDER BY account_code

2024-08-12 18:13:50.538647
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.540279
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.542637
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.544118
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.545763
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.547217
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.548693
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.550223
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77100' ORDER BY class_id, id, parent

2024-08-12 18:13:50.551581
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77200' ORDER BY account_code

2024-08-12 18:13:50.552907
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.554409
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77200' ORDER BY class_id, id, parent

2024-08-12 18:13:50.555894
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77210' ORDER BY account_code

2024-08-12 18:13:50.557362
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.558896
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.560370
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.561818
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.563454
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.564900
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.566358
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.567988
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.573183
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.574674
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.576291
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.577819
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.579272
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.580932
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.582403
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.583844
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.585453
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.586903
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.588444
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.590108
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.591573
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.592993
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.594654
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.596101
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.597553
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.599172
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.600680
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.602099
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.603771
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.605211
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.606690
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.608318
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.609756
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.611166
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77219' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.612804
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.614298
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.615744
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.617326
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77210' ORDER BY class_id, id, parent

2024-08-12 18:13:50.618724
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='77220' ORDER BY account_code

2024-08-12 18:13:50.620091
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.621783
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.623221
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.624647
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.626260
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.627683
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.629115
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.630915
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.632379
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.633837
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.635590
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.637019
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.638490
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.640164
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.641609
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.643138
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.644782
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.646191
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.647643
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.649297
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.650759
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.652344
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.654057
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.655523
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.657030
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.658690
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.660143
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.661590
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.663241
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.664662
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.666107
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.667808
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.669337
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.670789
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.672419
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.673858
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.675287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.676885
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.678331
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.679813
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='77311' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.681374
SELECT * FROM 0_chart_types WHERE !inactive AND parent='77220' ORDER BY class_id, id, parent

2024-08-12 18:13:50.683016
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='78000' ORDER BY account_code

2024-08-12 18:13:50.684479
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.686055
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.687519
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.689026
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.690686
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.692177
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.698585
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.706681
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.708170
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.709635
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.711349
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.712807
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.714244
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.715991
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.717551
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.719066
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.720749
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.722239
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.723800
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.725482
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.727044
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.728589
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.730294
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.731799
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.733298
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='78107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.734923
SELECT * FROM 0_chart_types WHERE !inactive AND parent='78000' ORDER BY class_id, id, parent

2024-08-12 18:13:50.736363
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='79000' ORDER BY account_code

2024-08-12 18:13:50.737824
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.739473
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.742592
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.758257
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.761997
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.763910
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.765377
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.767058
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.768552
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.770038
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.771813
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.774014
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.775450
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.777099
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.778830
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.780286
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79320' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.781932
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.783364
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.784849
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.786565
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.788044
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.789522
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.791188
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.792637
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.794083
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.795784
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.797317
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.798827
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.800575
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.802083
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.806192
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79710' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.808787
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.810849
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.812328
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='79711' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.813979
SELECT * FROM 0_chart_types WHERE !inactive AND parent='79000' ORDER BY class_id, id, parent

2024-08-12 18:13:50.819121
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='80000' ORDER BY account_code

2024-08-12 18:13:50.820536
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.822287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.827158
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.831317
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.839577
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.843221
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.848289
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.850623
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.852702
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.854817
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.856679
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.858275
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.859977
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.861790
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.863329
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.866831
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.868972
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.871164
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.872832
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.874614
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.876186
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.877680
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.879409
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.880950
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.882495
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='80800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.884151
SELECT * FROM 0_chart_types WHERE !inactive AND parent='80000' ORDER BY class_id, id, parent

2024-08-12 18:13:50.885611
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='81000' ORDER BY account_code

2024-08-12 18:13:50.887053
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.888800
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.890357
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.892032
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.893772
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.901424
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.925098
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.929317
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.938976
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.940910
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81300' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.942853
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.944408
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.945940
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81400' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.947802
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.949295
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.950780
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81500' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.952484
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.953983
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.955474
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81600' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.957576
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.959298
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.960902
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81700' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.963105
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.964622
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.966120
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81800' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.967967
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.969522
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.971019
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='81900' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.972631
SELECT * FROM 0_chart_types WHERE !inactive AND parent='81000' ORDER BY class_id, id, parent

2024-08-12 18:13:50.974056
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='82000' ORDER BY account_code

2024-08-12 18:13:50.975520
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:50.977160
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.978666
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.982970
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.988925
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.991797
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.995232
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.996868
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:50.998323
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:50.999930
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='82303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.1499
SELECT * FROM 0_chart_types WHERE !inactive AND parent='82000' ORDER BY class_id, id, parent

2024-08-12 18:13:51.2930
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='83000' ORDER BY account_code

2024-08-12 18:13:51.4318
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.5877
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.21492
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.78700
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.84651
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.94617
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.126032
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.139955
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.142494
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.143996
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.145590
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.147741
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.170469
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.178668
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.181287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.184190
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.186882
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.189065
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.190552
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.192135
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.194440
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.195951
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.197646
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.199107
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.200586
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.202309
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.208302
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.225520
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='83110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.233214
SELECT * FROM 0_chart_types WHERE !inactive AND parent='83000' ORDER BY class_id, id, parent

2024-08-12 18:13:51.234835
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84000' ORDER BY account_code

2024-08-12 18:13:51.236105
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.237669
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84000' ORDER BY class_id, id, parent

2024-08-12 18:13:51.239072
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84100' ORDER BY account_code

2024-08-12 18:13:51.240413
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.241975
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.243904
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.245402
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.247010
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.248530
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.250022
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.251638
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84100' ORDER BY class_id, id, parent

2024-08-12 18:13:51.253091
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84200' ORDER BY account_code

2024-08-12 18:13:51.254413
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.255968
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.257400
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.261579
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.263392
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.264864
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.266442
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.268137
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.269581
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.270997
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.272683
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.274111
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.275540
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.277120
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84200' ORDER BY class_id, id, parent

2024-08-12 18:13:51.278449
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84300' ORDER BY account_code

2024-08-12 18:13:51.279805
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.281356
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.284166
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.294608
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84310' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.296349
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.297777
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.299263
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84340' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.300932
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.302376
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.303772
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84350' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.305308
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84300' ORDER BY class_id, id, parent

2024-08-12 18:13:51.306790
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84400' ORDER BY account_code

2024-08-12 18:13:51.308241
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.309893
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.311414
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.312957
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84410' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.314670
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.316256
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.317792
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84411' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.319533
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.321093
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.322687
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84412' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.324450
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.325933
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.327410
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84413' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.329071
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.330557
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.333546
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84420' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.335688
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.337091
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.338862
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84421' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.340687
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.343174
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.350070
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84422' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.353142
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.354599
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.356015
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84423' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.357545
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84400' ORDER BY class_id, id, parent

2024-08-12 18:13:51.358955
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='84500' ORDER BY account_code

2024-08-12 18:13:51.360393
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.361996
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.363447
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.364880
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84501' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.366505
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.367954
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.369363
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84502' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.371034
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.372508
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.373950
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84503' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.375638
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.377093
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.378643
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84504' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.380324
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.381767
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.383330
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84505' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.384981
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.386444
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.388811
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84506' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.390655
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.392092
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.393501
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84507' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.395102
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.396568
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.397998
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84508' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.399609
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.401146
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.402634
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84509' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.404275
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.405695
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.407107
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84510' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.408745
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.415730
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.458894
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84511' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.464307
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.466239
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.467789
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.469384
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.471328
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.473820
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84514' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.475424
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.476871
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.478298
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84515' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.480301
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.481824
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.483274
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84516' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.484898
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.486389
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.487810
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84517' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.489355
SELECT * FROM 0_chart_types WHERE !inactive AND parent='84500' ORDER BY class_id, id, parent

2024-08-12 18:13:51.490782
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='2' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:51.492191
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='50000' ORDER BY account_code

2024-08-12 18:13:51.494410
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.496009
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.498646
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.511310
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.520624
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.523070
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.524548
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='50002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.526083
SELECT * FROM 0_chart_types WHERE !inactive AND parent='50000' ORDER BY class_id, id, parent

2024-08-12 18:13:51.527453
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51100' ORDER BY account_code

2024-08-12 18:13:51.528838
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.530401
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.531865
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.533320
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.534926
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.536539
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.538007
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.539682
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.541149
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.542609
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.544214
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51100' ORDER BY class_id, id, parent

2024-08-12 18:13:51.545598
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51200' ORDER BY account_code

2024-08-12 18:13:51.547040
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.548617
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.550960
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.552441
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.554132
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.555575
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.557034
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.558643
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.560141
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.562597
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.564359
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.565805
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.567410
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.569234
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.570718
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.572911
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.574722
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.576157
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.577562
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.579168
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.580603
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.582096
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.583730
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.585155
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.586589
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='21212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.588208
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.589641
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.591082
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.592704
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.594145
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.595650
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.597301
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.598745
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.600226
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.601897
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.603362
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.604773
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.606426
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.607970
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.609403
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.610998
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.612436
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.613909
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.615689
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.617594
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.619084
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.620707
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.622185
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.623649
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.625296
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.626732
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.628190
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.629808
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.631308
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.632840
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.634454
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.635989
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.637414
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.638978
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.640438
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.641886
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='54513' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.643519
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.645537
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.648477
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='84512' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.650789
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51200' ORDER BY class_id, id, parent

2024-08-12 18:13:51.652161
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51250' ORDER BY account_code

2024-08-12 18:13:51.653495
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.655121
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.656612
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.658162
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.659876
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.661956
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.663548
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51252' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.665248
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.666685
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.668233
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51253' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.669848
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.671271
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.672726
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.674265
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51250' ORDER BY class_id, id, parent

2024-08-12 18:13:51.675613
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51260' ORDER BY account_code

2024-08-12 18:13:51.676938
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.678494
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.679929
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.697806
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51261' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.705606
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.707558
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.709101
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51262' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.710773
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.712205
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.714249
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51263' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.715888
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51260' ORDER BY class_id, id, parent

2024-08-12 18:13:51.717225
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51270' ORDER BY account_code

2024-08-12 18:13:51.718573
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.720187
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.721636
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.723286
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51271' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.724978
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.726523
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.728076
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51272' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.729768
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.731186
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.732747
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51273' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.734343
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.735856
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.737409
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51274' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.738987
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51270' ORDER BY class_id, id, parent

2024-08-12 18:13:51.740344
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51280' ORDER BY account_code

2024-08-12 18:13:51.741664
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.743221
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.744700
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.746129
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51281' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.747737
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.749157
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.757273
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51282' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.759609
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.761059
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.762493
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51283' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.764122
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.765574
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.768626
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51284' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.770472
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.771905
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.773323
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51285' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.774966
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.776883
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.779536
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51286' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.781807
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.783245
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.784641
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51287' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.786236
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.787657
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.789178
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51288' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.790764
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51280' ORDER BY class_id, id, parent

2024-08-12 18:13:51.792129
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='51300' ORDER BY account_code

2024-08-12 18:13:51.793517
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.795082
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.796515
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.797948
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51301' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.799535
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.800969
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.803095
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51302' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.804792
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.806287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.807725
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51303' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.809297
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.810732
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.812143
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51304' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.813733
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.815155
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.816583
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51305' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.818243
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.819680
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.821201
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51306' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.822812
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.824340
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.825744
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51307' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.827357
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.828807
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.830205
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51308' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.831875
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.833318
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.834731
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='51309' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.836260
SELECT * FROM 0_chart_types WHERE !inactive AND parent='51300' ORDER BY class_id, id, parent

2024-08-12 18:13:51.837601
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52000' ORDER BY account_code

2024-08-12 18:13:51.838911
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.840511
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.841997
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.843415
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.845010
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.846482
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.848927
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52200' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.850566
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52000' ORDER BY class_id, id, parent

2024-08-12 18:13:51.852056
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52100' ORDER BY account_code

2024-08-12 18:13:51.853546
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:51.855112
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.856552
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.857982
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.859629
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.861076
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.862536
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.866685
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.868837
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.870381
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.872586
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.874028
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.875505
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.877150
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.878586
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.880056
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.881745
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.883176
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.884726
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.886360
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.887804
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.889275
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.890866
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.892317
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.893795
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.895464
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.896908
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.898344
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.899978
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.901410
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.902861
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.904482
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.905949
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.907445
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.909120
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.910553
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.911997
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52112' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.913614
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.915187
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.916609
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52113' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.918244
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.919674
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.921189
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52114' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.922812
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.924245
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.925672
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52115' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.927303
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.928742
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.930216
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.936612
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.938158
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.939612
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.941360
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.942868
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.944653
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.946533
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.948048
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.949991
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.951616
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.953116
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.954537
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.956149
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.957570
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.958975
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.960592
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.962027
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.963446
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.965026
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.966556
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.967976
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.969691
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.971131
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.972577
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.974163
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.975667
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.977084
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.978861
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.980324
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.981739
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52126' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.983332
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.984764
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.986169
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.987761
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.989203
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.990610
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.992268
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:51.993664
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.995113
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:51.996731
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52100' ORDER BY class_id, id, parent

2024-08-12 18:13:51.998089
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='52200' ORDER BY account_code

2024-08-12 18:13:51.999449
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.1019
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.2530
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.3999
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52250' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.5636
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.7139
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.8620
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52251' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.10297
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.11815
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.13257
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52254' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.14846
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.16278
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.17680
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52255' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.19313
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.21850
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.23309
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.24912
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.26358
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.27888
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='99132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.29537
SELECT * FROM 0_chart_types WHERE !inactive AND parent='52200' ORDER BY class_id, id, parent

2024-08-12 18:13:52.30994
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53000' ORDER BY account_code

2024-08-12 18:13:52.32305
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.33791
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53000' ORDER BY class_id, id, parent

2024-08-12 18:13:52.35162
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53100' ORDER BY account_code

2024-08-12 18:13:52.36495
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.38137
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.39584
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.41081
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.42824
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.44287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.45718
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.47284
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.48714
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.50124
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.51744
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.53225
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.54664
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.56268
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.57739
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.59153
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.60747
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.62615
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.65701
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.67343
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.68988
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.70564
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.72248
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.73792
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.75235
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.76860
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.78304
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.79705
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='53109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.81252
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53100' ORDER BY class_id, id, parent

2024-08-12 18:13:52.82696
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='53200' ORDER BY account_code

2024-08-12 18:13:52.84080
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.85650
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.87082
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.88518
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.90119
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.91561
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.92983
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.94571
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.101076
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.102756
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.104416
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.106005
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.107441
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.109050
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.110541
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.112028
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52205' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.113747
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.115238
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.116718
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.118314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.119791
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.121234
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.122865
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.124321
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.125774
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.127364
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.128911
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.130401
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.132024
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.133470
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.134895
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.136541
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.138079
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.139614
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='52211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.141173
SELECT * FROM 0_chart_types WHERE !inactive AND parent='53200' ORDER BY class_id, id, parent

2024-08-12 18:13:52.142546
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='54000' ORDER BY account_code

2024-08-12 18:13:52.143925
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.145439
SELECT * FROM 0_chart_types WHERE !inactive AND parent='54000' ORDER BY class_id, id, parent

2024-08-12 18:13:52.146833
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='5' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:52.148816
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='3' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:52.150185
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='20000' ORDER BY account_code

2024-08-12 18:13:52.151507
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.153054
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.154913
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.157831
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20100' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.159521
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.160967
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.162360
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.163973
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.165450
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.166886
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.168521
SELECT * FROM 0_chart_types WHERE !inactive AND parent='20000' ORDER BY class_id, id, parent

2024-08-12 18:13:52.169879
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='20200' ORDER BY account_code

2024-08-12 18:13:52.171199
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.172745
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.178280
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.179790
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.181367
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.182811
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.184297
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20202' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.185889
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.187327
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.188942
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.190535
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.191997
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.193481
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='20204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.195044
SELECT * FROM 0_chart_types WHERE !inactive AND parent='20200' ORDER BY class_id, id, parent

2024-08-12 18:13:52.196443
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='4' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:52.197794
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10000' ORDER BY account_code

2024-08-12 18:13:52.199118
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.200829
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.221858
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.273497
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10001' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.280088
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.285365
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.297402
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10002' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.305381
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.308002
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.309591
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10003' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.311382
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.312932
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.315693
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10005' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.317559
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.319491
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.321065
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10107' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.322820
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.324340
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.325867
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10108' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.327807
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.329348
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.331490
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10109' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.333285
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.334798
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.336380
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10110' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.338112
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.339687
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.341272
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10111' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.343062
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.346987
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.355593
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10116' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.359223
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.361088
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.362662
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10117' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.364378
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.366358
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.368618
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10120' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.370400
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.371915
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.373511
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10123' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.375181
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10000' ORDER BY class_id, id, parent

2024-08-12 18:13:52.376621
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10070' ORDER BY account_code

2024-08-12 18:13:52.378026
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.379721
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.381276
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.382928
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10071' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.384646
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10070' ORDER BY class_id, id, parent

2024-08-12 18:13:52.386118
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10100' ORDER BY account_code

2024-08-12 18:13:52.387668
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.389300
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.390974
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.394069
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.396087
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.397677
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.399401
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.401364
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.402861
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.404459
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.406154
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.407704
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.409199
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.410839
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.413377
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.417211
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.420406
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.424230
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.437471
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.443464
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.445659
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.450014
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10118' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.453506
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.455096
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.456595
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10119' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.458277
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.459878
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.461411
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10121' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.463052
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.464650
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.466254
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10122' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.468031
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.469594
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.471188
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10124' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.472944
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.474570
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.476133
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10125' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.477861
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.479363
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.480957
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10127' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.482873
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.484508
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.486268
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10128' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.488175
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.491688
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.498233
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10129' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.503853
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.505938
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.507564
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10130' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.509296
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.510883
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.512568
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10131' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.514456
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.516008
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.517582
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10132' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.519270
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.521108
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.534756
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10133' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.542371
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.544830
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.546337
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10134' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.548090
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.550272
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.552465
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10141' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.554255
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.555731
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.557274
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10142' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.559046
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.560570
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.562084
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10143' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.563800
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.565346
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.566909
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10144' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.568665
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.570191
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.571731
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10145' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.573455
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.575605
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.577223
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10146' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.578926
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.585619
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.590734
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10147' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.594601
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.599701
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.608150
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10148' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.614996
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.617140
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.619178
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10149' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.621314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.623672
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.625414
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10150' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.627316
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.628854
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.630354
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10151' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.632051
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.633650
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.635155
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='10152' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.636811
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10100' ORDER BY class_id, id, parent

2024-08-12 18:13:52.638218
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='10140' ORDER BY account_code

2024-08-12 18:13:52.639591
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.641190
SELECT * FROM 0_chart_types WHERE !inactive AND parent='10140' ORDER BY class_id, id, parent

2024-08-12 18:13:52.642694
SELECT * FROM 0_chart_types WHERE !inactive AND class_id='6' AND (parent = '' OR parent = '-1') ORDER BY class_id, id, parent

2024-08-12 18:13:52.644223
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30000' ORDER BY account_code

2024-08-12 18:13:52.645732
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.647355
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.649807
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.652838
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30201' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.655264
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.657763
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.660648
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30203' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.662858
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.683901
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.709889
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30204' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.718615
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.720351
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.723473
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30206' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.725333
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.726908
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.731099
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30207' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.733006
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.734499
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.737269
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30208' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.739223
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.740783
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.742280
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30209' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.743951
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.745539
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.747053
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30210' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.748774
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.750284
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.757559
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30211' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.759705
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.761236
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.762839
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30212' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.764592
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.766145
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.767931
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30213' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.769951
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.771934
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.773621
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30214' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.775487
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.777017
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.778527
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30215' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.780264
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.781815
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.783318
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30216' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.784987
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.786539
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.788124
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30217' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.789837
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.791318
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.792849
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30218' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.794612
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.799341
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.802409
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30220' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.804683
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.806825
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.808881
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30221' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.810679
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.812176
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.814487
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30223' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.816291
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.817898
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.819576
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30225' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.821334
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.822850
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.825302
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30227' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.827470
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.828981
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.830610
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30228' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.832483
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.834034
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.836185
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30230' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.837948
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.839470
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.841032
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30231' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.842742
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.844450
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.846062
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30232' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.847770
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.849290
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.850791
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30333' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.852439
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.853974
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.855478
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30334' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.857164
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.858766
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.860314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30335' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.867850
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.869424
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.870943
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30336' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.872560
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30000' ORDER BY class_id, id, parent

2024-08-12 18:13:52.873989
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30100' ORDER BY account_code

2024-08-12 18:13:52.876959
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.881109
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.883227
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.885690
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.887584
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.889135
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.890671
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.892451
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.893965
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.895604
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.897339
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.898852
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.900474
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.902192
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.903720
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.905235
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.906891
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30100' ORDER BY class_id, id, parent

2024-08-12 18:13:52.908348
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30300' ORDER BY account_code

2024-08-12 18:13:52.909751
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.911307
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30300' ORDER BY class_id, id, parent

2024-08-12 18:13:52.912726
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='30200' ORDER BY account_code

2024-08-12 18:13:52.914086
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.915725
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.917267
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.918771
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30222' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.920530
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.922114
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.923642
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30224' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.925328
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.926959
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.928551
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='30240' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.930177
SELECT * FROM 0_chart_types WHERE !inactive AND parent='30200' ORDER BY class_id, id, parent

2024-08-12 18:13:52.931606
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND account_type='40000' ORDER BY account_code

2024-08-12 18:13:52.938062
SELECT begin FROM 0_fiscal_year WHERE '2022-04-01' >= begin AND '2022-04-01' <= end

2024-08-12 18:13:52.939846
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.941514
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.944066
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40101' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.945997
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.947644
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.950283
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40102' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.952233
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.953758
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.955356
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40103' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.957062
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.958799
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.960551
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40104' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.962369
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.964523
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.966314
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40105' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.968239
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date < '2022-04-01' 

2024-08-12 18:13:52.969794
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date >= '2022-04-01'  AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.971287
SELECT SUM(IF(amount >= 0, amount, 0)) as debit, 
		SUM(IF(amount < 0, -amount, 0)) as credit, SUM(amount) as balance 
		FROM 0_gl_trans,0_chart_master,0_chart_types, 0_chart_class 
		WHERE 0_gl_trans.account=0_chart_master.account_code AND 0_chart_master.account_type=0_chart_types.id 
		AND 0_chart_types.class_id=0_chart_class.cid AND account='40106' AND tran_date > IF(ctype>0 AND ctype<4, '0000-00-00', '1970-01-01') AND tran_date <= '2023-03-31' 

2024-08-12 18:13:52.972876
SELECT * FROM 0_chart_types WHERE !inactive AND parent='40000' ORDER BY class_id, id, parent

2024-08-12 18:14:42.162076
SELECT name, value FROM 0_sys_prefs

2024-08-12 18:14:42.195945
SELECT * FROM 0_fiscal_year WHERE id='17'

2024-08-12 18:14:42.199223
SELECT 0_chart_master.*, 0_chart_types.name AS AccountTypeName, 0_chart_types.depth   
		FROM 0_chart_master,0_chart_types
		WHERE 0_chart_master.account_type=0_chart_types.id AND 0_chart_master.account_code >= '51271' AND 0_chart_master.account_code <= '51271' ORDER BY account_code

2024-08-12 18:14:42.201568
SELECT 0_chart_class.ctype 
            FROM 0_chart_class, 0_chart_types, 0_chart_master
            WHERE 0_chart_master.account_type=0_chart_types.id AND
                    0_chart_types.class_id=0_chart_class.cid
                    AND 0_chart_master.account_code='51271'

2024-08-12 18:14:42.204052
SELECT SUM(amount) FROM 0_gl_trans
		WHERE account='51271'  AND tran_date < '2023-03-31'

2024-08-12 18:14:42.215455
SELECT gt.*, 
		cm.account_name, 
		pm.project_code   
                
                FROM 0_gl_trans gt 
                    JOIN 0_chart_master cm 
                        ON cm.account_code=gt.account 
                    LEFT JOIN 0_projects_master pm 
                        ON pm.project_id = gt.dimension_id  
                    LEFT JOIN 0_voided v 
                        ON gt.type_no=v.id 
                        AND v.type=gt.type 
                WHERE ISNULL(v.date_)
		AND tran_date >= '2023-03-31'
		AND tran_date <= '2023-03-31' AND gt.amount <> 0 AND gt.account = '51271' ORDER BY tran_date, counter

2024-08-12 18:14:42.223279
SELECT * FROM 0_refs WHERE type='0' AND id='314'

2024-08-12 18:14:42.226941
SELECT * FROM 0_refs WHERE type='0' AND id='364'

2024-08-12 18:14:42.229081
SELECT * FROM 0_refs WHERE type='0' AND id='409'

2024-08-12 18:14:42.231492
SELECT * FROM 0_refs WHERE type='223' AND id='180'

