select * from update_db where update_db.value='1' and update_db.group_id ='1' order by update_db.table_name
Select==> SELECT * FROM al_acc_book WHERE log_status in ('e','a') limit 0,500

#STOP # Total Record = 0
Select==> SELECT * FROM al_com_close_account WHERE log_status in ('e','a') limit 0,500

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-04-03','al06','INC','1','+','0.00','1','42960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#42960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-04-03','al06','DEC','1','+','0.00','1','42960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#42960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-04-03','al06','BF','1','+','0.00','1','42960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#42960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-04-03','al09','INC','1','+','0.00','1','42960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-04-03#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#42960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-04-03','al09','DEC','1','+','0.00','1','42960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-04-03#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#42960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-04-03','al09','BF','1','+','0.00','1','42960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-04-03#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#42960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-01','al01','INC','2','+','31.26','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-01#@#al01#@#INC#@#2#@#+#@#31.26#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-01','al01','DEC','2','+','3942.26','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-01#@#al01#@#DEC#@#2#@#+#@#3942.26#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-01','al01','BF','2','+','1013.00','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-01#@#al01#@#BF#@#2#@#+#@#1013.00#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-01','al02','INC','2','+','0.00','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-01' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-01#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-01','al02','DEC','2','+','0.00','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-01' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-01#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-01','al02','BF','2','+','35.04','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-01' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-01#@#al02#@#BF#@#2#@#+#@#35.04#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al01','INC','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al01','DEC','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al01','BF','1','+','965.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#965.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al02','INC','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al02','DEC','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al02','BF','1','+','1555.58','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#1555.58#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al05','INC','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al05','DEC','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al05','BF','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al06','INC','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al06','DEC','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-04-03','al06','BF','1','+','0.00','1','46986_1082','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1082#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al01','INC','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al01','DEC','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al01','BF','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al02','INC','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al02','DEC','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al02','BF','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al05','INC','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al05','DEC','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al05','BF','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al06','INC','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al06','DEC','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1320','2013-04-03','al06','BF','1','+','0.00','1','54606_1320','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1320' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1320#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#54606_1320#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al01','INC','1','+','70000.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#70000.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al01','DEC','1','+','70185.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#70185.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al01','BF','1','+','196.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#196.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al02','INC','1','+','70000.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#70000.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al02','DEC','1','+','70000.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#70000.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al02','BF','1','+','31.67','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#31.67#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al05','INC','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al05','DEC','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al05','BF','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al06','INC','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al06','DEC','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al06','BF','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al14','INC','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al14','DEC','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '328','2013-04-03','al14','BF','1','+','0.00','1','49714','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #328#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#49714#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al01','INC','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al01','DEC','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al01','BF','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al02','INC','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al02','DEC','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al02','BF','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al05','INC','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al05','DEC','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al05','BF','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al06','INC','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al06','DEC','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1401','2013-04-03','al06','BF','1','+','0.00','1','31997_1401','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1401#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#31997_1401#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al01','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al01','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al01','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al02','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al02','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al02','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al05','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al05','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al05','BF','1','+','38977.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al05#@#BF#@#1#@#+#@#38977.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al06','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al06','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al06','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al09','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al09','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al09','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al12','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al12' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al12#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al12','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al12' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al12#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al12','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al12' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al12#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al14','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al14','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al14','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al15','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al15' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al15#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al15','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al15' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al15#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-01','al15','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-01' and close_acc_book = 'al15' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-01#@#al15#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al01','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al01','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al01','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al02','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al02','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al02','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al05','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al05','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al05','BF','1','+','38977.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al05#@#BF#@#1#@#+#@#38977.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al06','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al06','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al06','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al09','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al09','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al09','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al12','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al12' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al12#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al12','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al12' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al12#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al12','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al12' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al12#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al14','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al14','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al14','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al15','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al15' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al15#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al15','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al15' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al15#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-02','al15','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-02' and close_acc_book = 'al15' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-02#@#al15#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al01','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al01','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al01','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al02','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al02','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al02','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al05','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al05','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al05','BF','1','+','38977.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#38977.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al06','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al06','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al06','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al09','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al09','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al09','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al12','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al12#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al12','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al12#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al12','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al12#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al14','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al14','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al14','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al15','INC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al15' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al15#@#INC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al15','DEC','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al15' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al15#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1231','2013-04-03','al15','BF','1','+','0.00','1','40195_PEN','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-04-03' and close_acc_book = 'al15' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1231#@#2013-04-03#@#al15#@#BF#@#1#@#+#@#0.00#@#1#@#40195_PEN#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al01','INC','2','+','90000.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al01#@#INC#@#2#@#+#@#90000.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al01','DEC','2','+','46674.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al01#@#DEC#@#2#@#+#@#46674.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al01','BF','2','+','44811.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al01#@#BF#@#2#@#+#@#44811.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al02','INC','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al02','DEC','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al02','BF','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al05','INC','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al05','DEC','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al05','BF','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al05#@#BF#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al09','INC','2','+','90000.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al09#@#INC#@#2#@#+#@#90000.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al09','DEC','2','+','90000.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al09#@#DEC#@#2#@#+#@#90000.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al09','BF','2','+','951.24','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al09#@#BF#@#2#@#+#@#951.24#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al16','INC','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al16' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al16#@#INC#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al16','DEC','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al16' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al16#@#DEC#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al16','BF','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al16' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al16#@#BF#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al14','INC','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al14#@#INC#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al14','DEC','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al14#@#DEC#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-02','al14','BF','2','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-02#@#al14#@#BF#@#2#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al01','INC','1','+','200000.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al01','DEC','1','+','200000.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#200000.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al01','BF','1','+','6243.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#6243.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al02','INC','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al02','DEC','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al02','BF','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al05','INC','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al05','DEC','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al05','BF','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al06','INC','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al06','DEC','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al06','BF','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al14','INC','1','+','200000.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#200000.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al14','DEC','1','+','200000.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#200000.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '160','2013-04-03','al14','BF','1','+','0.00','1','51111','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #160#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#51111#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al01','INC','2','+','0.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al01','DEC','2','+','23933.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al01#@#DEC#@#2#@#+#@#23933.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al01','BF','2','+','9294.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al01#@#BF#@#2#@#+#@#9294.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al02','INC','2','+','0.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al02','DEC','2','+','0.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al02','BF','2','+','0.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al14','INC','2','+','0.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al14#@#INC#@#2#@#+#@#0.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al14','DEC','2','+','0.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al14#@#DEC#@#2#@#+#@#0.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2013-04-03','al14','BF','2','+','0.00','1','51025_452','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2013-04-03#@#al14#@#BF#@#2#@#+#@#0.00#@#1#@#51025_452#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al01','INC','1','+','200000.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al01','DEC','1','+','135145.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#135145.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al01','BF','1','+','109666.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#109666.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al02','INC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al02','DEC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al02','BF','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al05','INC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al05','DEC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al05','BF','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al09','INC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al09','DEC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al09','BF','1','+','951.24','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al09#@#BF#@#1#@#+#@#951.24#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al16','INC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al16' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al16#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al16','DEC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al16' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al16#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al16','BF','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al16' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al16#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al14','INC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al14','DEC','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-04-03','al14','BF','1','+','0.00','1','47960','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-03','al01','INC','1','+','300074.28','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#300074.28#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-03','al01','DEC','1','+','270840.28','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#270840.28#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-03','al01','BF','1','+','29331.00','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#29331.00#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-03','al02','INC','1','+','300000.00','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#300000.00#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-03','al02','DEC','1','+','300000.00','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#300000.00#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1373','2013-04-03','al02','BF','1','+','35.04','1','40317_1373','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1373#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#35.04#@#1#@#40317_1373#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2013-04-03','al01','INC','1','+','0.00','1','36108_1384','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36108_1384#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2013-04-03','al01','DEC','1','+','14318.00','1','36108_1384','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#14318.00#@#1#@#36108_1384#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2013-04-03','al01','BF','1','+','15134.00','1','36108_1384','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#15134.00#@#1#@#36108_1384#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2013-04-03','al02','INC','1','+','0.00','1','36108_1384','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#36108_1384#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2013-04-03','al02','DEC','1','+','0.00','1','36108_1384','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#36108_1384#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2013-04-03','al02','BF','1','+','0.00','1','36108_1384','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#36108_1384#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-04-03','al01','INC','1','+','450000.00','1','56066_1261','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#450000.00#@#1#@#56066_1261#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-04-03','al01','DEC','1','+','450084.00','1','56066_1261','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#450084.00#@#1#@#56066_1261#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-04-03','al01','BF','1','+','115.00','1','56066_1261','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#115.00#@#1#@#56066_1261#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-04-03','al02','INC','1','+','450000.00','1','56066_1261','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#450000.00#@#1#@#56066_1261#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-04-03','al02','DEC','1','+','450000.00','1','56066_1261','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#450000.00#@#1#@#56066_1261#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-04-03','al02','BF','1','+','322.51','1','56066_1261','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#322.51#@#1#@#56066_1261#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1196','2013-04-03','al01','INC','1','+','0.00','1','48549_1196','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1196' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1196#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#48549_1196#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1196','2013-04-03','al01','DEC','1','+','0.00','1','48549_1196','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1196' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1196#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#48549_1196#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1196','2013-04-03','al01','BF','1','+','0.00','1','48549_1196','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1196' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1196#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#48549_1196#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1196','2013-04-03','al02','INC','1','+','0.00','1','48549_1196','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1196' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1196#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#48549_1196#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1196','2013-04-03','al02','DEC','1','+','0.00','1','48549_1196','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1196' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1196#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#48549_1196#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1196','2013-04-03','al02','BF','1','+','0.00','1','48549_1196','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1196' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1196#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#48549_1196#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al01','INC','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al01','DEC','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al01','BF','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al02','INC','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al02','DEC','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al02','BF','1','+','165.80','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#165.80#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al05','INC','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al05','DEC','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al05','BF','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al06','INC','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al06','DEC','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1270','2013-04-03','al06','BF','1','+','0.00','1','42952_1270','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1270' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1270#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#42952_1270#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-02','al01','INC','1','+','0.00','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-02','al01','DEC','1','+','50000.00','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-02#@#al01#@#DEC#@#1#@#+#@#50000.00#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-02','al01','BF','1','+','1401.85','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-02#@#al01#@#BF#@#1#@#+#@#1401.85#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-02','al02','INC','1','+','0.00','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-02#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-02','al02','DEC','1','+','0.00','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-02#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-02','al02','BF','1','+','756.94','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-02#@#al02#@#BF#@#1#@#+#@#756.94#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-03','al01','INC','1','+','0.00','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-03','al01','DEC','1','+','0.00','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-03','al01','BF','1','+','1401.85','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#1401.85#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-03','al02','INC','1','+','0.00','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-03','al02','DEC','1','+','0.00','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1156','2013-04-03','al02','BF','1','+','756.94','1','48546_1156','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1156' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1156#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#756.94#@#1#@#48546_1156#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al01','INC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al01#@#INC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al01','DEC','5','+','50655.35','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al01#@#DEC#@#5#@#+#@#50655.35#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al01','BF','5','+','11368.56','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al01#@#BF#@#5#@#+#@#11368.56#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al02','INC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al02' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al02#@#INC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al02','DEC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al02#@#DEC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al02','BF','5','+','0.38','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al02' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al02#@#BF#@#5#@#+#@#0.38#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al09','INC','5','+','200000.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al09' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al09#@#INC#@#5#@#+#@#200000.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al09','DEC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al09#@#DEC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al09','BF','5','+','200104.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al09' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al09#@#BF#@#5#@#+#@#200104.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al12','INC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al12' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al12#@#INC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al12','DEC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al12' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al12#@#DEC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al12','BF','5','+','-0.18','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al12' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al12#@#BF#@#5#@#+#@#-0.18#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al14','INC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al14' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al14#@#INC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al14','DEC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al14#@#DEC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al14','BF','5','+','0.74','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al14' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al14#@#BF#@#5#@#+#@#0.74#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al05','INC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al05' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al05#@#INC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al05','DEC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al05#@#DEC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al05','BF','5','+','0.05','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al05' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al05#@#BF#@#5#@#+#@#0.05#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al06','INC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al06' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al06#@#INC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al06','DEC','5','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al06#@#DEC#@#5#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-03-26','al06','BF','5','+','178.57','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-03-26' and close_acc_book = 'al06' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-03-26#@#al06#@#BF#@#5#@#+#@#178.57#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al01','INC','2','+','500000.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al01#@#INC#@#2#@#+#@#500000.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al01','DEC','2','+','1960.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al01#@#DEC#@#2#@#+#@#1960.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al01','BF','2','+','504636.56','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al01#@#BF#@#2#@#+#@#504636.56#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al02','INC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al02','DEC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al02','BF','2','+','0.38','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al02#@#BF#@#2#@#+#@#0.38#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al09','INC','2','+','500740.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al09#@#INC#@#2#@#+#@#500740.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al09','DEC','2','+','500000.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al09#@#DEC#@#2#@#+#@#500000.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al09','BF','2','+','780.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al09' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al09#@#BF#@#2#@#+#@#780.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al12','INC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al12' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al12#@#INC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al12','DEC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al12' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al12#@#DEC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al12','BF','2','+','-0.18','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al12' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al12#@#BF#@#2#@#+#@#-0.18#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al14','INC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al14#@#INC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al14','DEC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al14#@#DEC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al14','BF','2','+','0.74','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al14' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al14#@#BF#@#2#@#+#@#0.74#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al05','INC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al05','DEC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al05','BF','2','+','0.05','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al05' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al05#@#BF#@#2#@#+#@#0.05#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al06','INC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al06' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al06#@#INC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al06','DEC','2','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al06#@#DEC#@#2#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-02','al06','BF','2','+','178.57','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-02' and close_acc_book = 'al06' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-02#@#al06#@#BF#@#2#@#+#@#178.57#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-04-03','al01','INC','1','+','0.00','1','50582_1256','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-04-03','al01','DEC','1','+','0.00','1','50582_1256','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-04-03','al01','BF','1','+','2861.85','1','50582_1256','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#2861.85#@#1#@#50582_1256#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-04-03','al02','INC','1','+','0.00','1','50582_1256','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-04-03','al02','DEC','1','+','0.00','1','50582_1256','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-04-03','al02','BF','1','+','722.47','1','50582_1256','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#722.47#@#1#@#50582_1256#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al01','INC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al01','DEC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al01','BF','1','+','504636.56','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#504636.56#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al02','INC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al02','DEC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al02','BF','1','+','0.38','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.38#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al09','INC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al09','DEC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al09','BF','1','+','780.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al09#@#BF#@#1#@#+#@#780.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al12','INC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al12#@#INC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al12','DEC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al12#@#DEC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al12','BF','1','+','-0.18','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al12#@#BF#@#1#@#+#@#-0.18#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al14','INC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al14','DEC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al14','BF','1','+','0.74','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.74#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al05','INC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al05','DEC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al05','BF','1','+','0.05','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.05#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al06','INC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al06','DEC','1','+','0.00','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-04-03','al06','BF','1','+','178.57','1','44046_1054','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#178.57#@#1#@#44046_1054#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-04-03','al01','INC','1','+','0.00','1','50180_1319','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-04-03','al01','DEC','1','+','0.00','1','50180_1319','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-04-03','al01','BF','1','+','1213.61','1','50180_1319','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#1213.61#@#1#@#50180_1319#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-04-03','al02','INC','1','+','0.00','1','50180_1319','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-04-03','al02','DEC','1','+','0.00','1','50180_1319','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-04-03','al02','BF','1','+','0.00','1','50180_1319','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-02','al01','INC','2','+','40000.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-02#@#al01#@#INC#@#2#@#+#@#40000.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-02','al01','DEC','2','+','0.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-02','al01','BF','2','+','40937.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-02#@#al01#@#BF#@#2#@#+#@#40937.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-02','al02','INC','2','+','40000.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-02#@#al02#@#INC#@#2#@#+#@#40000.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-02','al02','DEC','2','+','40000.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-02#@#al02#@#DEC#@#2#@#+#@#40000.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-02','al02','BF','2','+','0.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-02#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-03','al01','INC','1','+','0.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-03','al01','DEC','1','+','40925.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#40925.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-03','al01','BF','1','+','12.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#12.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-03','al02','INC','1','+','0.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-03','al02','DEC','1','+','0.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1146','2013-04-03','al02','BF','1','+','0.00','1','43178_1146','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1146' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1146#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#43178_1146#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1374','2013-04-03','al01','INC','1','+','0.00','1','42012_1374','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1374' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1374#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42012_1374#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1374','2013-04-03','al01','DEC','1','+','0.00','1','42012_1374','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1374' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1374#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42012_1374#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1374','2013-04-03','al01','BF','1','+','80.00','1','42012_1374','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1374' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1374#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#80.00#@#1#@#42012_1374#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1374','2013-04-03','al02','INC','1','+','0.00','1','42012_1374','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1374' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1374#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#42012_1374#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1374','2013-04-03','al02','DEC','1','+','0.00','1','42012_1374','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1374' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1374#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#42012_1374#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1374','2013-04-03','al02','BF','1','+','0.00','1','42012_1374','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1374' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1374#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#42012_1374#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al01','INC','1','+','165000.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#165000.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al01','DEC','1','+','129135.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#129135.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al01','BF','1','+','35870.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#35870.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al02','INC','1','+','165000.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#165000.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al02','DEC','1','+','165000.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#165000.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al02','BF','1','+','22.24','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#22.24#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al05','INC','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al05','DEC','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al05','BF','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al06','INC','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al06','DEC','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al06','BF','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al07','INC','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al07' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al07','DEC','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al07' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '40','2013-04-03','al07','BF','1','+','0.00','1','56843','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-04-03' and close_acc_book = 'al07' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #40#@#2013-04-03#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1228','2013-04-03','al01','INC','1','+','80000.00','1','57709_1228','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1228' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1228#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#80000.00#@#1#@#57709_1228#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1228','2013-04-03','al01','DEC','1','+','13537.00','1','57709_1228','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1228' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1228#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#13537.00#@#1#@#57709_1228#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1228','2013-04-03','al01','BF','1','+','66864.00','1','57709_1228','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1228' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1228#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#66864.00#@#1#@#57709_1228#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1228','2013-04-03','al02','INC','1','+','80000.00','1','57709_1228','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1228' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1228#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#80000.00#@#1#@#57709_1228#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1228','2013-04-03','al02','DEC','1','+','80000.00','1','57709_1228','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1228' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1228#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#80000.00#@#1#@#57709_1228#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1228','2013-04-03','al02','BF','1','+','0.00','1','57709_1228','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1228' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1228#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#57709_1228#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1279','2013-04-03','al01','INC','1','+','160000.00','1','39250_1279','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1279' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1279#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#160000.00#@#1#@#39250_1279#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1279','2013-04-03','al01','DEC','1','+','61669.00','1','39250_1279','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1279' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1279#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#61669.00#@#1#@#39250_1279#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1279','2013-04-03','al01','BF','1','+','99605.00','1','39250_1279','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1279' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1279#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#99605.00#@#1#@#39250_1279#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1279','2013-04-03','al02','INC','1','+','0.00','1','39250_1279','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1279' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1279#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#39250_1279#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1279','2013-04-03','al02','DEC','1','+','160000.00','1','39250_1279','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1279' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1279#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#160000.00#@#1#@#39250_1279#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1279','2013-04-03','al02','BF','1','+','512.00','1','39250_1279','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1279' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1279#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#512.00#@#1#@#39250_1279#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1263','2013-04-03','al01','INC','1','+','150000.00','1','57341_1263','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1263' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1263#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#57341_1263#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1263','2013-04-03','al01','DEC','1','+','149755.00','1','57341_1263','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1263' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1263#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#149755.00#@#1#@#57341_1263#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1263','2013-04-03','al01','BF','1','+','618.60','1','57341_1263','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1263' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1263#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#618.60#@#1#@#57341_1263#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1263','2013-04-03','al02','INC','1','+','150000.00','1','57341_1263','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1263' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1263#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#150000.00#@#1#@#57341_1263#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1263','2013-04-03','al02','DEC','1','+','150000.00','1','57341_1263','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1263' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1263#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#150000.00#@#1#@#57341_1263#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1263','2013-04-03','al02','BF','1','+','0.00','1','57341_1263','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1263' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1263#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#57341_1263#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al01','INC','1','+','350000.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#350000.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al01','DEC','1','+','124096.70','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#124096.70#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al01','BF','1','+','225943.52','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#225943.52#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al02','INC','1','+','350000.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#350000.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al02','DEC','1','+','350000.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#350000.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al02','BF','1','+','0.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al05','INC','1','+','0.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al05','DEC','1','+','0.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al05','BF','1','+','0.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al06','INC','1','+','0.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al06','DEC','1','+','0.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-04-03','al06','BF','1','+','0.00','1','55732_1250','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al01','INC','2','+','0.00','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al01','DEC','2','+','0.00','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al01','BF','2','+','1591.00','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al01#@#BF#@#2#@#+#@#1591.00#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al02','INC','2','+','0.00','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al02','DEC','2','+','0.00','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al02','BF','2','+','125.79','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al02#@#BF#@#2#@#+#@#125.79#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al14','INC','2','+','0.00','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al14' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al14#@#INC#@#2#@#+#@#0.00#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al14','DEC','2','+','0.00','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al14#@#DEC#@#2#@#+#@#0.00#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-03-18','al14','BF','2','+','0.00','1','35433_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-03-18' and close_acc_book = 'al14' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-03-18#@#al14#@#BF#@#2#@#+#@#0.00#@#1#@#35433_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-02','al01','INC','2','+','0.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-02','al01','DEC','2','+','0.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-02','al01','BF','2','+','3784.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-02#@#al01#@#BF#@#2#@#+#@#3784.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-02','al02','INC','2','+','0.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-02#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-02','al02','DEC','2','+','0.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-02#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-02','al02','BF','2','+','500.06','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-02#@#al02#@#BF#@#2#@#+#@#500.06#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-03','al01','INC','1','+','0.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-03','al01','DEC','1','+','1.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#1.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-03','al01','BF','1','+','3783.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#3783.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-03','al02','INC','1','+','0.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-03','al02','DEC','1','+','0.00','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-04-03','al02','BF','1','+','500.06','1','57342_1379','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1379' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1379#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#500.06#@#1#@#57342_1379#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1344','2013-04-03','al01','INC','1','+','200000.00','1','56841_1344','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1344#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#56841_1344#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1344','2013-04-03','al01','DEC','1','+','2358.00','1','56841_1344','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1344#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#2358.00#@#1#@#56841_1344#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1344','2013-04-03','al01','BF','1','+','198732.00','1','56841_1344','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1344#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#198732.00#@#1#@#56841_1344#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1344','2013-04-03','al02','INC','1','+','200000.00','1','56841_1344','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1344#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#200000.00#@#1#@#56841_1344#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1344','2013-04-03','al02','DEC','1','+','200000.00','1','56841_1344','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1344#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#200000.00#@#1#@#56841_1344#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1344','2013-04-03','al02','BF','1','+','16.50','1','56841_1344','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1344#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#16.50#@#1#@#56841_1344#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1396','2013-04-03','al01','INC','1','+','0.00','1','52105_1396','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1396#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#52105_1396#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1396','2013-04-03','al01','DEC','1','+','103785.00','1','52105_1396','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1396#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#103785.00#@#1#@#52105_1396#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1396','2013-04-03','al01','BF','1','+','37653.00','1','52105_1396','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1396#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#37653.00#@#1#@#52105_1396#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1396','2013-04-03','al02','INC','1','+','0.00','1','52105_1396','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1396#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#52105_1396#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1396','2013-04-03','al02','DEC','1','+','0.00','1','52105_1396','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1396#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#52105_1396#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1396','2013-04-03','al02','BF','1','+','0.00','1','52105_1396','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1396#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#52105_1396#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al01','INC','1','+','200275.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#200275.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al01','DEC','1','+','191377.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#191377.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al01','BF','1','+','8995.14','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#8995.14#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al02','INC','1','+','200000.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#200000.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al02','DEC','1','+','200000.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#200000.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al02','BF','1','+','4.69','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#4.69#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al05','INC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al05','DEC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al05','BF','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al06','INC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al06','DEC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al06','BF','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al09','INC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al09','DEC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al09','BF','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al12','INC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al12#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al12','DEC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al12#@#DEC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al12','BF','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al12' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al12#@#BF#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al14','INC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al14','DEC','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '81','2013-04-03','al14','BF','1','+','0.00','1','30844','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #81#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al01','INC','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al01','DEC','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al01','BF','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al02','INC','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al02','DEC','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al02','BF','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al05','INC','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al05','DEC','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al05','BF','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al06','INC','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al06','DEC','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1387','2013-04-03','al06','BF','1','+','0.00','1','54606_1387','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1387' and close_date = '2013-04-03' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1387#@#2013-04-03#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#54606_1387#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al01','INC','1','+','400000.00','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#400000.00#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al01','DEC','1','+','400974.00','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#400974.00#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al01','BF','1','+','41.00','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#41.00#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al02','INC','1','+','0.00','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al02','DEC','1','+','0.00','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al02','BF','1','+','125.79','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#125.79#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al14','INC','1','+','400000.00','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#400000.00#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al14','DEC','1','+','400000.00','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#400000.00#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2013-04-03','al14','BF','1','+','0.00','1','34016_1351','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#34016_1351#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-02','al01','INC','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-02','al01','DEC','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-02','al01','BF','1','+','109.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-02#@#al01#@#BF#@#1#@#+#@#109.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-02','al02','INC','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-02#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-02','al02','DEC','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-02#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-02','al02','BF','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-02' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-02#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al01','INC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al01','DEC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al01','BF','1','+','518.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#518.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al02','INC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al02','DEC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al02','BF','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al05','INC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al05','DEC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al05','BF','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al07','INC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al07' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al07','DEC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al07' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al07','BF','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al07' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al14','INC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al14','DEC','1','+','0.00','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '152','2013-04-03','al14','BF','1','+','0.18','1','38781','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #152#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#38781#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1398','2013-04-03','al01','INC','1','+','0.00','1','36381','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1398#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36381#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1398','2013-04-03','al01','DEC','1','+','0.00','1','36381','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1398#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36381#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1398','2013-04-03','al01','BF','1','+','0.00','1','36381','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1398#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36381#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1398','2013-04-03','al02','INC','1','+','0.00','1','36381','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1398#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#36381#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1398','2013-04-03','al02','DEC','1','+','0.00','1','36381','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1398#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#36381#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1398','2013-04-03','al02','BF','1','+','0.00','1','36381','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1398#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#36381#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al01','INC','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al01','DEC','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al01','BF','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al02','INC','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al02','DEC','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al02','BF','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al14','INC','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al14','DEC','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '170','2013-04-03','al14','BF','1','+','0.00','1','48469_170','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '170' and close_date = '2013-04-03' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #170#@#2013-04-03#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-03','al01','INC','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-03','al01','DEC','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-03','al01','BF','1','+','109.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-03#@#al01#@#BF#@#1#@#+#@#109.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-03','al02','INC','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-03','al02','DEC','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1392','2013-04-03','al02','BF','1','+','0.00','1','59609','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-04-03' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1392#@#2013-04-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1381','2013-04-03','al01','INC','1','+','0.00','1','34098_1381','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1381' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1381#@#2013-04-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34098_1381#@#p#@#2013-04-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1381','2013-04-03','al01','DEC','1','+','0.00','1','34098_1381','p','2013-04-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1381' and close_date = '2013-04-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1381#@#2013-04-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34098_1381#@#p#@#2013-04-04#@now());')

#STOP # Total Record = 500
Select==> SELECT * FROM al_com_close_arrear WHERE log_status in ('e','a') limit 0,500

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '622','2013-09-20','1','1799489.00','0.00','0.00','1','52299','p','2013-09-22',now());

select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','1','38592022.00','441883.90','715561.11','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-08-17','1','14870466.00','0.00','0.00','1','62364_1363','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-08-17#@#1#@#14870466.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-17','1','66887833.00','626845.80','8023.20','1','63108_1054','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-17#@#1#@#66887833.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-08-17','1','4531787.00','0.00','0.00','1','60303_1179','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-08-17#@#1#@#4531787.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-08-17','1','23936118.08','0.00','0.00','1','31997_1604','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1604#@#2017-08-17#@#1#@#23936118.08#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-08-17','1','80730839.00','148690.13','-6171.21','1','64355_1346','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-08-17#@#1#@#80730839.00#@#148690.13#@#-6171.21#@#1#@#64355_1346#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-08-18','1','80730839.00','148690.13','-6171.21','1','64311_1346','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-08-18#@#1#@#80730839.00#@#148690.13#@#-6171.21#@#1#@#64311_1346#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-08-17','1','1198.00','0.00','0.00','1','64355_1635','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-08-17#@#1#@#1198.00#@#0.00#@#0.00#@#1#@#64355_1635#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-08-17','1','5836805.00','168601.20','-54901.00','1','63420_1556','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-08-17#@#1#@#5836805.00#@#168601.20#@#-54901.00#@#1#@#63420_1556#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-08-17','1','149950016.00','89222.40','0.00','1','55496','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-08-17#@#1#@#149950016.00#@#89222.40#@#0.00#@#1#@#55496#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-08-17','1','5101924.33','0.00','0.00','1','44345_1657','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-08-17#@#1#@#5101924.33#@#0.00#@#0.00#@#1#@#44345_1657#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-08-17','1','274405.00','0.00','0.00','1','60992_1667','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-08-17#@#1#@#274405.00#@#0.00#@#0.00#@#1#@#60992_1667#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-08-17','1','49182.00','0.00','0.00','1','64520_1673','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1673' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-08-17#@#1#@#49182.00#@#0.00#@#0.00#@#1#@#64520_1673#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-08-17','1','817563.00','0.00','-3526.19','1','63682_1650','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-08-17#@#1#@#817563.00#@#0.00#@#-3526.19#@#1#@#63682_1650#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-08-17','1','70494626.00','337608.70','-765.00','1','34731_1216','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-08-17#@#1#@#70494626.00#@#337608.70#@#-765.00#@#1#@#34731_1216#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-08-17','1','24129265.00','106331.20','0.00','1','60217_1478','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1478#@#2017-08-17#@#1#@#24129265.00#@#106331.20#@#0.00#@#1#@#60217_1478#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-08-17','1','32096795.00','308699.65','52772.25','1','63663_1227','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-08-17#@#1#@#32096795.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-08-17','1','9361.00','0.00','0.00','1','64354_1669','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-08-17#@#1#@#9361.00#@#0.00#@#0.00#@#1#@#64354_1669#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-08-17','1','136009.00','0.00','0.00','1','64345_1642','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1642#@#2017-08-17#@#1#@#136009.00#@#0.00#@#0.00#@#1#@#64345_1642#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-17','3','18307.00','18188.10','0.00','1','64058_1652','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-17' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-17#@#3#@#18307.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-18','1','18307.00','18188.10','0.00','1','64058_1652','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-18#@#1#@#18307.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-08-17','1','3981238.00','0.00','0.00','1','61045_1187','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-17#@#1#@#3981238.00#@#0.00#@#0.00#@#1#@#61045_1187#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-08-17','1','228283916.00','583101.80','68009.40','1','61045_452','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-08-17#@#1#@#228283916.00#@#583101.80#@#68009.40#@#1#@#61045_452#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-08-17','1','110117728.00','387796.80','1351.00','1','60118_476','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-08-17#@#1#@#110117728.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-08-17','1','719.00','0.00','0.00','1','60118_1668','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1668#@#2017-08-17#@#1#@#719.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-08-16','2','79636777.00','0.00','0.00','1','40192_1492','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-08-16' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1492#@#2017-08-16#@#2#@#79636777.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-08-17','1','79650141.00','0.00','0.00','1','40192_1492','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1492#@#2017-08-17#@#1#@#79650141.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-08-16','2','12824193.00','0.00','0.00','1','63904_304','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-08-16' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-08-16#@#2#@#12824193.00#@#0.00#@#0.00#@#1#@#63904_304#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-08-17','1','2109464.16','0.00','0.00','1','32966_1658','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1658' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-08-17#@#1#@#2109464.16#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-08-17','1','12867241.00','0.00','0.00','1','63904_304','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-08-17#@#1#@#12867241.00#@#0.00#@#0.00#@#1#@#63904_304#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-08-17','1','2729276.54','0.00','0.00','1','34300_1662','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1662' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-08-17#@#1#@#2729276.54#@#0.00#@#0.00#@#1#@#34300_1662#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-17','1','10005841.00','0.00','0.00','1','46986_1664','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-17#@#1#@#10005841.00#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-08-17','1','5994668.05','0.00','0.00','1','31997_1663','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-08-17#@#1#@#5994668.05#@#0.00#@#0.00#@#1#@#31997_1663#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-08-16','2','1364967.00','0.00','-14208.37','1','47960_1641','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-08-16' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-08-16#@#2#@#1364967.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-08-17','1','1364967.00','0.00','-14208.37','1','47960_1641','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-08-17#@#1#@#1364967.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-17','1','52899918.00','209568.20','-2267.00','1','63916_1162','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-17#@#1#@#52899918.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-08-17','1','3858864.00','4299.00','0.00','1','63887_1439','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-08-17#@#1#@#3858864.00#@#4299.00#@#0.00#@#1#@#63887_1439#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1493','2017-08-17','1','4427336.00','0.00','0.00','1','38781_1493','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1493' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1493#@#2017-08-17#@#1#@#4427336.00#@#0.00#@#0.00#@#1#@#38781_1493#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-08-17','1','190550.00','0.00','33.36','1','bms_center','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9999#@#2017-08-17#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9998','2017-08-17','1','0.00','0.00','0.00','1','bms_center','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9998#@#2017-08-17#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2017-08-17','1','5831682.00','79002.20','-366747.45','1','56645_1450','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-08-17#@#1#@#5831682.00#@#79002.20#@#-366747.45#@#1#@#56645_1450#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-17','1','107454750.00','578969.20','-14327.70','1','46740_1058','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-17#@#1#@#107454750.00#@#578969.20#@#-14327.70#@#1#@#46740_1058#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-08-17','1','65358.00','0.00','0.00','1','64554_1671','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-08-17#@#1#@#65358.00#@#0.00#@#0.00#@#1#@#64554_1671#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-08-17','1','2721030.00','0.00','-4492.00','1','57537_1473','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-08-17#@#1#@#2721030.00#@#0.00#@#-4492.00#@#1#@#57537_1473#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-08-18','1','2632279.54','0.00','0.00','1','34300_1662','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1662' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-08-18#@#1#@#2632279.54#@#0.00#@#0.00#@#1#@#34300_1662#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2017-08-17','1','1377026.00','0.00','0.00','1','50582_1256','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2017-08-17#@#1#@#1377026.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-08-17','1','26460.00','0.00','0.00','1','64574_1640','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1640' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1640#@#2017-08-17#@#1#@#26460.00#@#0.00#@#0.00#@#1#@#64574_1640#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-17','3','1528970.84','0.00','0.00','1','63484_1660','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-17' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-17#@#3#@#1528970.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-18','1','1520236.84','0.00','0.00','1','63484_1660','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-18#@#1#@#1520236.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-18','2','1520236.84','0.00','0.00','1','63484_1660','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-18#@#2#@#1520236.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-18','3','1520236.84','0.00','0.00','1','63484_1660','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-18' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-18#@#3#@#1520236.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-08-18','1','7216669.31','0.00','0.00','1','63484_1605','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-08-18#@#1#@#7216669.31#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-08-18','2','7216669.31','0.00','0.00','1','63484_1605','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-08-18#@#2#@#7216669.31#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1174','2017-08-17','1','175094395.40','0.00','0.00','1','47960_1174','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1174#@#2017-08-17#@#1#@#175094395.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-17','2','105347724.00','290203.40','-885.60','1','49692_1115','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-17#@#2#@#105347724.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-08-17','1','0.00','0.00','0.00','1','64492_1670','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1670' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1670#@#2017-08-17#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64492_1670#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-18','1','105376251.00','290203.40','-885.60','1','49692_1115','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-18#@#1#@#105376251.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-18','2','105376251.00','290203.40','-885.60','1','49692_1115','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-18#@#2#@#105376251.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-18','4','1520236.84','0.00','0.00','1','63484_1660','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-18' and seq_arrear = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-18#@#4#@#1520236.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-18','5','1520236.84','0.00','0.00','1','63484_1660','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-18' and seq_arrear = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-18#@#5#@#1520236.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-18','6','1520236.84','0.00','0.00','1','63484_1660','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-18' and seq_arrear = '6'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-18#@#6#@#1520236.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-08-16','3','2850110.99','0.00','0.00','1','63765_1661','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-08-16' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-08-16#@#3#@#2850110.99#@#0.00#@#0.00#@#1#@#63765_1661#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-08-17','2','3046263.99','0.00','0.00','1','63765_1661','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-08-17#@#2#@#3046263.99#@#0.00#@#0.00#@#1#@#63765_1661#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-08-18','1','3120287.99','0.00','0.00','1','63765_1661','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-08-18#@#1#@#3120287.99#@#0.00#@#0.00#@#1#@#63765_1661#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-08-18','1','4208869.86','179588.90','-1832.00','1','63771_1547','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1547#@#2017-08-18#@#1#@#4208869.86#@#179588.90#@#-1832.00#@#1#@#63771_1547#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-08-17','2','0.00','0.00','0.00','1','64492_1670','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1670' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1670#@#2017-08-17#@#2#@#0.00#@#0.00#@#0.00#@#1#@#64492_1670#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-08-17','3','0.00','0.00','0.00','1','64492_1670','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1670' and close_date = '2017-08-17' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1670#@#2017-08-17#@#3#@#0.00#@#0.00#@#0.00#@#1#@#64492_1670#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-08-16','1','0.00','0.00','0.00','1','64492_1670','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1670' and close_date = '2017-08-16' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1670#@#2017-08-16#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64492_1670#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-08-15','1','321522.00','0.00','0.00','1','38781_1634','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1634' and close_date = '2017-08-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-08-15#@#1#@#321522.00#@#0.00#@#0.00#@#1#@#38781_1634#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-08-16','1','321522.00','0.00','0.00','1','38781_1634','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1634' and close_date = '2017-08-16' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-08-16#@#1#@#321522.00#@#0.00#@#0.00#@#1#@#38781_1634#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-08-17','1','321522.00','0.00','0.00','1','38781_1634','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1634' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-08-17#@#1#@#321522.00#@#0.00#@#0.00#@#1#@#38781_1634#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-08-17','2','96242618.00','632318.90','0.00','1','60000_1099','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-08-17#@#2#@#96242618.00#@#632318.90#@#0.00#@#1#@#60000_1099#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-08-18','1','3204.00','0.00','0.00','1','64574_1640','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1640' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1640#@#2017-08-18#@#1#@#3204.00#@#0.00#@#0.00#@#1#@#64574_1640#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-02','3','907.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-02' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-02#@#3#@#907.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-02','4','907.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-02' and seq_arrear = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-02#@#4#@#907.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-03','2','-2675.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-03' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-03#@#2#@#-2675.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-04','2','55739.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-04' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-04#@#2#@#55739.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-08','2','16523.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-08' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-08#@#2#@#16523.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-10','3','80649.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-10' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-10#@#3#@#80649.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-15','3','54891.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-15' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-15#@#3#@#54891.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-16','3','65258.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-16' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-16#@#3#@#65258.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-08-18','1','79671110.00','0.00','0.00','1','40192_1492','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1492#@#2017-08-18#@#1#@#79671110.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-17','2','-3118.00','0.00','0.00','1','64030_1665','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-17#@#2#@#-3118.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-18','1','-1954.00','0.00','0.00','1','64030_1665','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-18#@#1#@#-1954.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-16','4','1047578.00','0.00','0.00','1','47875_1647','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-16' and seq_arrear = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-16#@#4#@#1047578.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-17','2','1123781.00','0.00','0.00','1','47875_1647','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-17#@#2#@#1123781.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-18','2','-3118.00','0.00','0.00','1','64030_1665','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-18#@#2#@#-3118.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-08-18','1','0.00','0.00','-464.00','1','64585_1672','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-08-18#@#1#@#0.00#@#0.00#@#-464.00#@#1#@#64585_1672#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-18','1','999856.00','0.00','0.00','1','47875_1647','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-18#@#1#@#999856.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-17','2','26975875.00','135174.90','-252637.51','1','42960_1523','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-17#@#2#@#26975875.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-18','1','26962642.00','135174.90','-252637.51','1','42960_1523','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-18#@#1#@#26962642.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-16','3','131320805.91','1722165.24','0.00','1','47875_1351','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-16' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-16#@#3#@#131320805.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-08-18','1','136009.00','0.00','0.00','1','64345_1642','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1642#@#2017-08-18#@#1#@#136009.00#@#0.00#@#0.00#@#1#@#64345_1642#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-17','2','131528059.91','1722165.24','0.00','1','47875_1351','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-17#@#2#@#131528059.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-18','1','131558464.91','1722165.24','0.00','1','47875_1351','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-18#@#1#@#131558464.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-08-18','1','0.00','0.00','0.00','1','64554_1671','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-08-18#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64554_1671#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1465','2017-08-17','1','0.00','0.00','0.00','1','36097_SBP_CHC','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-08-17#@#1#@#0.00#@#0.00#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-08-18','2','0.00','0.00','-464.00','1','64585_1672','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-08-18#@#2#@#0.00#@#0.00#@#-464.00#@#1#@#64585_1672#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-17','4','18307.00','18188.10','0.00','1','64058_1652','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-17' and seq_arrear = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-17#@#4#@#18307.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-18','1','56536.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-18#@#1#@#56536.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-18','2','56536.00','0.00','-386.00','1','64489_1645','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-18#@#2#@#56536.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-18','2','7943.00','18188.10','0.00','1','64058_1652','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-18#@#2#@#7943.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-18','3','4460.00','18188.10','0.00','1','64058_1652','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-18' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-18#@#3#@#4460.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-18','4','1861.00','18188.10','0.00','1','64058_1652','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-18' and seq_arrear = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-18#@#4#@#1861.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-08-18','1','18510341.00','58005.00','0.00','1','56066_1476','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-08-18#@#1#@#18510341.00#@#58005.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1243','2017-08-17','1','207627334.00','0.00','0.00','1','60436_ps','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-08-17#@#1#@#207627334.00#@#0.00#@#0.00#@#1#@#60436_ps#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-08-17','2','237422.00','14555.70','10129.25','1','64443_1656','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-08-17#@#2#@#237422.00#@#14555.70#@#10129.25#@#1#@#64443_1656#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-08-18','1','193738.00','14555.70','10129.25','1','64443_1656','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-08-18#@#1#@#193738.00#@#14555.70#@#10129.25#@#1#@#64443_1656#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-08-18','1','18509816.00','1128633.80','817380.08','1','33370_1461','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-08-18#@#1#@#18509816.00#@#1128633.80#@#817380.08#@#1#@#33370_1461#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-08-18','1','2721030.00','0.00','-4492.00','1','57537_1473','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-08-18#@#1#@#2721030.00#@#0.00#@#-4492.00#@#1#@#57537_1473#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-06','2','14075699.00','29723.10','0.00','1','63919_10','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-06' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-06#@#2#@#14075699.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-17','2','15265620.00','29723.10','0.00','1','63919_10','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-17#@#2#@#15265620.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-18','1','15327094.00','29723.10','0.00','1','63919_10','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-18#@#1#@#15327094.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2017-08-18','1','5800390.00','79002.20','-365519.85','1','56645_1450','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-08-18#@#1#@#5800390.00#@#79002.20#@#-365519.85#@#1#@#56645_1450#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-08-18','1','5329739.33','0.00','0.00','1','44345_1657','p','2017-08-18',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-08-18#@#1#@#5329739.33#@#0.00#@#0.00#@#1#@#44345_1657#@#p#@#2017-08-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-08-17','2','3146815.09','1984711.90','0.00','1','36211_1659','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-08-17#@#2#@#3146815.09#@#1984711.90#@#0.00#@#1#@#36211_1659#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-08-18','1','3217353.09','1984711.90','0.00','1','36211_1659','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-08-18#@#1#@#3217353.09#@#1984711.90#@#0.00#@#1#@#36211_1659#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2017-08-18','1','58847129.00','0.00','0.00','1','36097_SBP','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2017-08-18#@#1#@#58847129.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-08-17','2','29358307.00','208784.85','0.00','1','50232_177','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2017-08-17#@#2#@#29358307.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-08-18','1','13007585.00','0.00','0.00','1','62364_1363','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-08-18#@#1#@#13007585.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-08-18','1','29314312.00','208784.85','0.00','1','50232_177','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2017-08-18#@#1#@#29314312.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2017-08-17','2','169083867.00','26496.40','0.00','1','34731_PEN','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-08-17#@#2#@#169083867.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2017-08-18','1','169240137.00','26496.40','0.00','1','34731_PEN','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-08-18#@#1#@#169240137.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-08-18','1','4626544.00','0.00','0.00','1','60303_1179','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-08-18#@#1#@#4626544.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-17','2','66887833.00','626845.80','8023.20','1','63108_1054','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-17#@#2#@#66887833.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-18','1','66867901.00','626845.80','8023.20','1','63108_1054','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-18#@#1#@#66867901.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-08-18','1','5065411.80','0.00','0.00','1','47937_1663','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-08-18#@#1#@#5065411.80#@#0.00#@#0.00#@#1#@#47937_1663#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-08-18','1','801044.00','0.00','-3526.19','1','63682_1650','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-08-18#@#1#@#801044.00#@#0.00#@#-3526.19#@#1#@#63682_1650#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-08-18','2','80754570.00','148690.13','-6171.21','1','64311_1346','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-08-18#@#2#@#80754570.00#@#148690.13#@#-6171.21#@#1#@#64311_1346#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-08-18','1','2703.00','0.00','0.00','1','64311_1635','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-08-18#@#1#@#2703.00#@#0.00#@#0.00#@#1#@#64311_1635#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-08-17','2','49182.00','0.00','0.00','1','64520_1673','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1673' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-08-17#@#2#@#49182.00#@#0.00#@#0.00#@#1#@#64520_1673#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-08-18','1','41478.00','0.00','0.00','1','64520_1673','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1673' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-08-18#@#1#@#41478.00#@#0.00#@#0.00#@#1#@#64520_1673#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-08-18','1','96436208.00','632318.90','0.00','1','60000_1099','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-08-18#@#1#@#96436208.00#@#632318.90#@#0.00#@#1#@#60000_1099#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-08-18','1','246928.00','0.00','0.00','1','60992_1667','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-08-18#@#1#@#246928.00#@#0.00#@#0.00#@#1#@#60992_1667#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-08-18','1','32120138.00','308699.65','52772.25','1','63663_1227','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-08-18#@#1#@#32120138.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-08-18','1','5877872.00','168601.20','-54901.00','1','63420_1556','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-08-18#@#1#@#5877872.00#@#168601.20#@#-54901.00#@#1#@#63420_1556#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-08-18','1','228263512.00','583101.80','68009.40','1','61045_452','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-08-18#@#1#@#228263512.00#@#583101.80#@#68009.40#@#1#@#61045_452#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-08-18','1','70481531.00','337608.70','-765.00','1','34731_1216','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-08-18#@#1#@#70481531.00#@#337608.70#@#-765.00#@#1#@#34731_1216#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-08-18','1','150190107.00','89222.40','0.00','1','55496','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-08-18#@#1#@#150190107.00#@#89222.40#@#0.00#@#1#@#55496#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-08-18','1','16982.00','0.00','0.00','1','64354_1669','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-08-18#@#1#@#16982.00#@#0.00#@#0.00#@#1#@#64354_1669#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-19','1','1861.00','18188.10','0.00','1','64058_1652','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-19#@#1#@#1861.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-08-17','2','719.00','0.00','0.00','1','60118_1668','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1668#@#2017-08-17#@#2#@#719.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-08-18','1','24187557.00','106331.20','0.00','1','60217_1478','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1478#@#2017-08-18#@#1#@#24187557.00#@#106331.20#@#0.00#@#1#@#60217_1478#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-08-17','2','110117728.00','387796.80','1351.00','1','60118_476','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-08-17#@#2#@#110117728.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1465','2017-08-18','1','46242.00','0.00','0.00','1','36097_SBP_CHC','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-08-18#@#1#@#46242.00#@#0.00#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-08-16','2','1146545.00','0.00','0.00','1','59346_1637','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1637' and close_date = '2017-08-16' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-08-16#@#2#@#1146545.00#@#0.00#@#0.00#@#1#@#59346_1637#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-08-18','1','110065016.00','387796.80','1351.00','1','60118_476','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-08-18#@#1#@#110065016.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-08-18','1','2359.00','0.00','0.00','1','60118_1668','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1668#@#2017-08-18#@#1#@#2359.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-08-18','1','327275.00','0.00','0.00','1','38781_1634','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1634' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-08-18#@#1#@#327275.00#@#0.00#@#0.00#@#1#@#38781_1634#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-08-18','1','1077879.00','0.00','0.00','1','59346_1637','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1637' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-08-18#@#1#@#1077879.00#@#0.00#@#0.00#@#1#@#59346_1637#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1493','2017-08-18','1','4427336.00','0.00','0.00','1','38781_1493','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1493' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1493#@#2017-08-18#@#1#@#4427336.00#@#0.00#@#0.00#@#1#@#38781_1493#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-08-17','2','118465612.00','106198.70','-24571.54','1','64575_1232','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-08-17#@#2#@#118465612.00#@#106198.70#@#-24571.54#@#1#@#64575_1232#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-08-18','1','2246296.16','0.00','0.00','1','32966_1658','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1658' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-08-18#@#1#@#2246296.16#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-18','1','9470300.16','0.00','0.00','1','46986_1664','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-18#@#1#@#9470300.16#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-08-18','1','12902948.00','0.00','0.00','1','54110_304','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-08-18#@#1#@#12902948.00#@#0.00#@#0.00#@#1#@#54110_304#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-18','2','9470300.16','0.00','0.00','1','46986_1664','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-18#@#2#@#9470300.16#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-08-18','1','23981231.08','0.00','0.00','1','31997_1604','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1604#@#2017-08-18#@#1#@#23981231.08#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-19','1','9470300.16','0.00','0.00','1','46986_1664','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-19#@#1#@#9470300.16#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-08-16','2','227352871.00','147501.10','-8965.10','1','56912_215','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2017-08-16' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-08-16#@#2#@#227352871.00#@#147501.10#@#-8965.10#@#1#@#56912_215#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-08-18','1','118379331.00','106198.70','-24571.54','1','64575_1232','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-08-18#@#1#@#118379331.00#@#106198.70#@#-24571.54#@#1#@#64575_1232#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-08-18','1','227311495.00','147501.10','-8965.10','1','56912_215','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-08-18#@#1#@#227311495.00#@#147501.10#@#-8965.10#@#1#@#56912_215#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-17','2','52899918.00','209568.20','-2267.00','1','40192_1162','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-17#@#2#@#52899918.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-18','1','107495888.00','578969.20','-14327.70','1','51111_1058','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-18#@#1#@#107495888.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-08-18','1','43604188.00','0.00','0.00','1','50582_1467','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-08-18#@#1#@#43604188.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-08-17','1','348160.00','1782.90','1768.90','1','61273_1666','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-08-17#@#1#@#348160.00#@#1782.90#@#1768.90#@#1#@#61273_1666#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-08-18','1','348160.00','1782.90','1768.90','1','61273_1666','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-08-18#@#1#@#348160.00#@#1782.90#@#1768.90#@#1#@#61273_1666#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-08-18','1','25224003.00','12190.80','0.00','1','34016_1477','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-08-18#@#1#@#25224003.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-08-18','1','3865097.00','4299.00','0.00','1','63887_1439','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-08-18#@#1#@#3865097.00#@#4299.00#@#0.00#@#1#@#63887_1439#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-18','1','52865624.00','209568.20','-2267.00','1','40192_1162','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-18#@#1#@#52865624.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-08-17','2','1366857.00','0.00','-14208.37','1','47960_1641','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-08-17#@#2#@#1366857.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-08-18','1','1384303.00','0.00','-14208.37','1','47960_1641','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-08-18#@#1#@#1384303.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-18','3','105461067.00','290203.40','-885.60','1','49692_1115','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-18' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-18#@#3#@#105461067.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-19','1','105515128.00','290203.40','-885.60','1','49692_1115','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-19#@#1#@#105515128.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-08-18','2','2775691.00','0.00','0.00','1','63765_1661','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-08-18#@#2#@#2775691.00#@#0.00#@#0.00#@#1#@#63765_1661#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-08-19','1','2834619.00','0.00','0.00','1','63765_1661','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-08-19#@#1#@#2834619.00#@#0.00#@#0.00#@#1#@#63765_1661#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-19','1','6885.00','0.00','0.00','1','64030_1665','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-19#@#1#@#6885.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-08-18','1','0.00','0.00','0.00','1','64492_1670','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1670' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1670#@#2017-08-18#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64492_1670#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-19','1','54538.00','0.00','-386.00','1','64489_1645','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-19#@#1#@#54538.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-19','2','54538.00','0.00','-386.00','1','64489_1645','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-19#@#2#@#54538.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-18','5','1861.00','18188.10','0.00','1','64058_1652','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-18' and seq_arrear = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-18#@#5#@#1861.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-19','2','-8960.00','18188.10','0.00','1','64058_1652','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-19#@#2#@#-8960.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-19','1','52847004.00','209568.20','-2267.00','1','40192_1162','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-19#@#1#@#52847004.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-19','2','52847004.00','209568.20','-2267.00','1','40192_1162','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-19#@#2#@#52847004.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-08-19','1','4208869.86','179588.90','-1832.00','1','63771_1547','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1547#@#2017-08-19#@#1#@#4208869.86#@#179588.90#@#-1832.00#@#1#@#63771_1547#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-18','2','131599182.91','1722165.24','0.00','1','47875_1351','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-18#@#2#@#131599182.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-08-19','1','118415943.00','106198.70','-24571.54','1','64575_1232','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-08-19#@#1#@#118415943.00#@#106198.70#@#-24571.54#@#1#@#64575_1232#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-08-19','1','136009.00','0.00','0.00','1','64345_1642','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1642#@#2017-08-19#@#1#@#136009.00#@#0.00#@#0.00#@#1#@#64345_1642#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-08-19','1','3204.00','0.00','0.00','1','64574_1640','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1640' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1640#@#2017-08-19#@#1#@#3204.00#@#0.00#@#0.00#@#1#@#64574_1640#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-19','1','131453745.91','1722165.24','0.00','1','47875_1351','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-19#@#1#@#131453745.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-18','2','1058861.00','0.00','0.00','1','47875_1647','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-18#@#2#@#1058861.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-19','1','988642.00','0.00','0.00','1','47875_1647','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-19#@#1#@#988642.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-19','2','12417.00','0.00','0.00','1','64030_1665','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-19#@#2#@#12417.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-19','1','26979261.00','135174.90','-252637.51','1','42960_1523','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-19#@#1#@#26979261.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1243','2017-08-18','1','207549564.00','0.00','0.00','1','60436_ps','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-08-18#@#1#@#207549564.00#@#0.00#@#0.00#@#1#@#60436_ps#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1174','2017-08-18','1','175236752.40','0.00','0.00','1','47960_1174','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1174#@#2017-08-18#@#1#@#175236752.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-08-19','1','79802913.00','0.00','0.00','1','40192_1492','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1492#@#2017-08-19#@#1#@#79802913.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-18','7','1651837.84','0.00','0.00','1','63484_1660','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-18' and seq_arrear = '7'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-18#@#7#@#1651837.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-19','1','1651612.84','0.00','0.00','1','63484_1660','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-19#@#1#@#1651612.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-19','2','1651612.84','0.00','0.00','1','63484_1660','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-19#@#2#@#1651612.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-08-19','1','7216669.31','0.00','0.00','1','63484_1605','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-08-19#@#1#@#7216669.31#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-08-19','1','0.00','0.00','-464.00','1','64585_1672','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-08-19#@#1#@#0.00#@#0.00#@#-464.00#@#1#@#64585_1672#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-08-19','1','0.00','0.00','0.00','1','64554_1671','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-08-19#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64554_1671#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-19','1','107590529.00','578969.20','-14327.70','1','51111_1058','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-19#@#1#@#107590529.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-08-19','1','18577448.00','58005.00','0.00','1','56066_1476','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-08-19#@#1#@#18577448.00#@#58005.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-08-18','2','25275805.00','12190.80','0.00','1','34016_1477','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-08-18#@#2#@#25275805.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-08-19','1','196004.00','14555.70','10129.25','1','64443_1656','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-08-19#@#1#@#196004.00#@#14555.70#@#10129.25#@#1#@#64443_1656#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-08-19','1','43685360.00','0.00','0.00','1','50582_1467','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-08-19#@#1#@#43685360.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-18','2','15171897.00','29723.10','0.00','1','63919_10','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-18#@#2#@#15171897.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-19','1','15206401.00','29723.10','0.00','1','63919_10','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-19#@#1#@#15206401.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2017-08-18','2','5785790.00','79002.20','-365519.85','1','56645_1450','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-08-18#@#2#@#5785790.00#@#79002.20#@#-365519.85#@#1#@#56645_1450#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2017-08-19','1','5770627.00','79002.20','-365519.85','1','56645_1450','p','2017-08-19',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-08-19#@#1#@#5770627.00#@#79002.20#@#-365519.85#@#1#@#56645_1450#@#p#@#2017-08-19#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-08-18','2','13033519.00','0.00','0.00','1','62364_1363','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-08-18#@#2#@#13033519.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-08-19','1','13230030.00','0.00','0.00','1','62364_1363','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-08-19#@#1#@#13230030.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-08-19','1','32124049.00','308699.65','52772.25','1','63663_1227','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-08-19#@#1#@#32124049.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-20','1','15206401.00','29723.10','0.00','1','45092_10','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-20#@#1#@#15206401.00#@#29723.10#@#0.00#@#1#@#45092_10#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-08-18','2','1981233.91','0.00','0.00','1','34300_1662','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1662' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-08-18#@#2#@#1981233.91#@#0.00#@#0.00#@#1#@#34300_1662#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2017-08-18','2','58689359.00','0.00','0.00','1','36097_SBP','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2017-08-18#@#2#@#58689359.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-08-19','1','2099928.91','0.00','0.00','1','34300_1662','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1662' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-08-19#@#1#@#2099928.91#@#0.00#@#0.00#@#1#@#34300_1662#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1243','2017-08-19','1','207636179.00','0.00','0.00','1','60436_ps','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-08-19#@#1#@#207636179.00#@#0.00#@#0.00#@#1#@#60436_ps#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2017-08-19','1','58914231.00','0.00','0.00','1','36097_SBP','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2017-08-19#@#1#@#58914231.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-18','2','66846826.00','626845.80','8023.20','1','63108_1054','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-18#@#2#@#66846826.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-19','1','66847637.00','626845.80','8023.20','1','63108_1054','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-19#@#1#@#66847637.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-08-19','1','29360379.00','208784.85','0.00','1','50232_177','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2017-08-19#@#1#@#29360379.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-08-19','1','4652778.00','0.00','0.00','1','60303_1179','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-08-19#@#1#@#4652778.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-08-19','1','80953552.00','148690.13','-6171.21','1','64311_1346','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-08-19#@#1#@#80953552.00#@#148690.13#@#-6171.21#@#1#@#64311_1346#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-08-19','1','70500268.00','337608.70','-765.00','1','34731_1216','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-08-19#@#1#@#70500268.00#@#337608.70#@#-765.00#@#1#@#34731_1216#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-08-19','1','2218.00','0.00','0.00','1','64311_1635','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-08-19#@#1#@#2218.00#@#0.00#@#0.00#@#1#@#64311_1635#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-08-19','1','228308936.00','583101.80','68009.40','1','61045_452','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-08-19#@#1#@#228308936.00#@#583101.80#@#68009.40#@#1#@#61045_452#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-08-19','1','5915288.00','168601.20','-54901.00','1','63420_1556','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-08-19#@#1#@#5915288.00#@#168601.20#@#-54901.00#@#1#@#63420_1556#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-08-18','1','3937298.00','0.00','0.00','1','61045_1187','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-18#@#1#@#3937298.00#@#0.00#@#0.00#@#1#@#61045_1187#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-08-18','2','5349511.33','19191.60','0.00','1','44345_1657','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-08-18#@#2#@#5349511.33#@#19191.60#@#0.00#@#1#@#44345_1657#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-08-19','1','5603797.33','19191.60','0.00','1','44345_1657','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-08-19#@#1#@#5603797.33#@#19191.60#@#0.00#@#1#@#44345_1657#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-08-19','1','1419799.00','0.00','-14208.37','1','47960_1641','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-08-19#@#1#@#1419799.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-08-19','1','150352211.00','89222.40','0.00','1','55496','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-08-19#@#1#@#150352211.00#@#89222.40#@#0.00#@#1#@#55496#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2017-08-18','2','169131037.00','26496.40','0.00','1','34731_PEN','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-08-18#@#2#@#169131037.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2017-08-19','1','169338433.00','26496.40','0.00','1','34731_PEN','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-08-19#@#1#@#169338433.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-08-19','1','110090404.00','387796.80','1351.00','1','60118_476','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-08-19#@#1#@#110090404.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-08-19','1','0.00','0.00','0.00','1','60118_1668','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1668#@#2017-08-19#@#1#@#0.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-08-19','1','96622126.00','632318.90','0.00','1','60000_1099','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-08-19#@#1#@#96622126.00#@#632318.90#@#0.00#@#1#@#60000_1099#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1465','2017-08-19','1','76454.00','0.00','0.00','1','36097_SBP_CHC','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-08-19#@#1#@#76454.00#@#0.00#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-08-19','1','3832426.00','4299.00','0.00','1','63887_1439','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-08-19#@#1#@#3832426.00#@#4299.00#@#0.00#@#1#@#63887_1439#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-08-19','1','5191310.80','0.00','0.00','1','47937_1663','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-08-19#@#1#@#5191310.80#@#0.00#@#0.00#@#1#@#47937_1663#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-08-18','2','3244803.09','2006665.50','0.00','1','36211_1659','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-08-18#@#2#@#3244803.09#@#2006665.50#@#0.00#@#1#@#36211_1659#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-08-19','1','3420217.09','2018383.50','0.00','1','36211_1659','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-08-19#@#1#@#3420217.09#@#2018383.50#@#0.00#@#1#@#36211_1659#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-08-19','1','1124860.00','0.00','0.00','1','59346_1637','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1637' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-08-19#@#1#@#1124860.00#@#0.00#@#0.00#@#1#@#59346_1637#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-08-19','1','12970424.00','0.00','0.00','1','54110_304','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-08-19#@#1#@#12970424.00#@#0.00#@#0.00#@#1#@#54110_304#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-19','2','9663023.16','0.00','0.00','1','46986_1664','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-19#@#2#@#9663023.16#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2017-08-18','1','1370445.00','0.00','0.00','1','50582_1256','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2017-08-18#@#1#@#1370445.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2017-08-19','1','1370445.00','0.00','0.00','1','50582_1256','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2017-08-19#@#1#@#1370445.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-08-19','1','2393101.16','0.00','0.00','1','32966_1658','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1658' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-08-19#@#1#@#2393101.16#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-08-19','1','24207178.00','106331.20','0.00','1','60217_1478','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1478#@#2017-08-19#@#1#@#24207178.00#@#106331.20#@#0.00#@#1#@#60217_1478#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-08-19','1','25338942.00','12190.80','0.00','1','34016_1477','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-08-19#@#1#@#25338942.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-08-18','2','16982.00','0.00','0.00','1','64354_1669','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-08-18#@#2#@#16982.00#@#0.00#@#0.00#@#1#@#64354_1669#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-08-19','1','16982.00','0.00','0.00','1','64354_1669','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-08-19#@#1#@#16982.00#@#0.00#@#0.00#@#1#@#64354_1669#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-19','3','6811.00','18188.10','0.00','1','64058_1652','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-19' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-19#@#3#@#6811.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-20','1','1717.00','18188.10','0.00','1','64058_1652','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-20#@#1#@#1717.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-08-19','1','227349235.00','147501.10','-8965.10','1','56912_215','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-08-19#@#1#@#227349235.00#@#147501.10#@#-8965.10#@#1#@#56912_215#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1174','2017-08-19','1','175422830.40','0.00','0.00','1','47960_1174','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1174#@#2017-08-19#@#1#@#175422830.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-08-19','1','327275.00','0.00','0.00','1','38781_1634','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1634' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-08-19#@#1#@#327275.00#@#0.00#@#0.00#@#1#@#38781_1634#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-08-19','1','0.00','0.00','0.00','1','64492_1670','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1670' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1670#@#2017-08-19#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64492_1670#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-20','1','29443.00','0.00','0.00','1','64030_1665','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-20#@#1#@#29443.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-08-20','1','43761835.00','0.00','0.00','1','50582_1467','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-08-20#@#1#@#43761835.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2017-08-20','1','1415647.00','0.00','0.00','1','50582_1256','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2017-08-20#@#1#@#1415647.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-08-19','1','253289.00','0.00','0.00','1','60992_1667','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-08-19#@#1#@#253289.00#@#0.00#@#0.00#@#1#@#60992_1667#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-20','1','27012062.00','135174.90','-252637.51','1','42960_1523','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-20#@#1#@#27012062.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-19','3','1652182.84','0.00','0.00','1','63484_1660','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-19' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-19#@#3#@#1652182.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-19','2','1018482.00','0.00','0.00','1','47875_1647','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-19#@#2#@#1018482.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-19','2','131546083.91','1722165.24','0.00','1','47875_1351','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-19#@#2#@#131546083.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-20','1','1683973.84','0.00','0.00','1','63484_1660','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-20#@#1#@#1683973.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-20','2','1683973.84','0.00','0.00','1','63484_1660','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-20#@#2#@#1683973.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-08-20','1','7216669.31','0.00','0.00','1','63484_1605','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-08-20#@#1#@#7216669.31#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-20','1','1084457.00','0.00','0.00','1','47875_1647','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-20#@#1#@#1084457.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-20','1','131677879.91','1722165.24','0.00','1','47875_1351','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-20#@#1#@#131677879.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-19','2','107658452.00','578969.20','-14327.70','1','51111_1058','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-19#@#2#@#107658452.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-20','1','107760408.00','578969.20','-14327.70','1','51111_1058','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-20#@#1#@#107760408.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-08-20','1','18673836.00','58005.00','0.00','1','56066_1476','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-08-20#@#1#@#18673836.00#@#58005.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-08-20','1','203027.00','14555.70','10650.25','1','64443_1656','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-08-20#@#1#@#203027.00#@#14555.70#@#10650.25#@#1#@#64443_1656#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-19','2','105648479.00','290203.40','-885.60','1','49692_1115','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-19#@#2#@#105648479.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-20','1','105703888.00','290203.40','-885.60','1','49692_1115','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-20#@#1#@#105703888.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-20','2','15311926.00','29723.10','0.00','1','63919_10','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-20#@#2#@#15311926.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-20','3','15311926.00','29723.10','0.00','1','63919_10','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-20' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-20#@#3#@#15311926.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-08-20','1','70510982.00','337608.70','-765.00','1','34731_1216','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-08-20#@#1#@#70510982.00#@#337608.70#@#-765.00#@#1#@#34731_1216#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2017-08-20','1','5817298.00','79002.20','-365519.85','1','56645_1450','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-08-20#@#1#@#5817298.00#@#79002.20#@#-365519.85#@#1#@#56645_1450#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-20','1','66888649.00','626845.80','8023.20','1','63108_1054','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-20#@#1#@#66888649.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-08-20','1','4705610.00','0.00','0.00','1','60303_1179','p','2017-08-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-08-20#@#1#@#4705610.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-08-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2017-08-19','2','58948639.00','0.00','0.00','1','36097_SBP','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2017-08-19#@#2#@#58948639.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-08-19','2','13244676.00','0.00','0.00','1','62364_1363','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-08-19#@#2#@#13244676.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-08-20','1','13458717.00','0.00','0.00','1','62364_1363','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-08-20#@#1#@#13458717.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2017-08-20','1','59031498.00','0.00','0.00','1','36097_SBP','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2017-08-20#@#1#@#59031498.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-08-20','1','29386062.00','208784.85','0.00','1','50232_177','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2017-08-20#@#1#@#29386062.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-08-20','1','81166646.00','148690.13','-6171.21','1','64311_1346','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-08-20#@#1#@#81166646.00#@#148690.13#@#-6171.21#@#1#@#64311_1346#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-08-20','1','4606.00','0.00','0.00','1','64311_1635','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-08-20#@#1#@#4606.00#@#0.00#@#0.00#@#1#@#64311_1635#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-08-20','1','5682120.33','19191.60','0.00','1','31997_1657','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-08-20#@#1#@#5682120.33#@#19191.60#@#0.00#@#1#@#31997_1657#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-08-20','1','136009.00','0.00','0.00','1','45092_1642','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1642#@#2017-08-20#@#1#@#136009.00#@#0.00#@#0.00#@#1#@#45092_1642#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-08-20','1','3558927.09','2034985.70','0.00','1','31997_1659','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-08-20#@#1#@#3558927.09#@#2034985.70#@#0.00#@#1#@#31997_1659#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-08-19','2','2901155.00','0.00','0.00','1','31997_1661','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-08-19#@#2#@#2901155.00#@#0.00#@#0.00#@#1#@#31997_1661#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-08-20','1','3067532.00','0.00','0.00','1','31997_1661','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-08-20#@#1#@#3067532.00#@#0.00#@#0.00#@#1#@#31997_1661#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-08-20','1','5961362.00','168601.20','-54901.00','1','63420_1556','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-08-20#@#1#@#5961362.00#@#168601.20#@#-54901.00#@#1#@#63420_1556#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-08-20','1','96754723.00','632318.90','0.00','1','60000_1099','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-08-20#@#1#@#96754723.00#@#632318.90#@#0.00#@#1#@#60000_1099#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-08-19','2','118430455.00','106198.70','-24571.54','1','60436_1232','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-08-19#@#2#@#118430455.00#@#106198.70#@#-24571.54#@#1#@#60436_1232#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-08-20','1','118445645.00','106198.70','-24571.54','1','60436_1232','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-08-20#@#1#@#118445645.00#@#106198.70#@#-24571.54#@#1#@#60436_1232#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-08-20','1','270203.00','0.00','0.00','1','60992_1667','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-08-20#@#1#@#270203.00#@#0.00#@#0.00#@#1#@#60992_1667#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-08-19','2','32130043.00','308699.65','52772.25','1','63663_1227','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-08-19#@#2#@#32130043.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-08-20','1','228380213.00','583101.80','68009.40','1','61045_452','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-08-20#@#1#@#228380213.00#@#583101.80#@#68009.40#@#1#@#61045_452#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-20','2','8593.00','18188.10','0.00','1','64058_1652','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-20#@#2#@#8593.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-21','1','8593.00','18188.10','0.00','1','64058_1652','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-21#@#1#@#8593.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-08-20','1','32164364.00','308699.65','52772.25','1','63663_1227','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-08-20#@#1#@#32164364.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-08-19','1','3937298.00','0.00','0.00','1','61045_1187','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-19#@#1#@#3937298.00#@#0.00#@#0.00#@#1#@#61045_1187#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-08-20','1','5329581.80','0.00','0.00','1','47937_1663','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-08-20#@#1#@#5329581.80#@#0.00#@#0.00#@#1#@#47937_1663#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-08-20','1','2535158.16','0.00','0.00','1','32966_1658','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1658' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-08-20#@#1#@#2535158.16#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-08-20','1','150516970.00','89222.40','0.00','1','55496','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-08-20#@#1#@#150516970.00#@#89222.40#@#0.00#@#1#@#55496#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-08-19','2','4217092.86','179588.90','-1832.00','1','59815_1547','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1547#@#2017-08-19#@#2#@#4217092.86#@#179588.90#@#-1832.00#@#1#@#59815_1547#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-08-20','1','4224852.86','179588.90','-1832.00','1','59815_1547','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1547#@#2017-08-20#@#1#@#4224852.86#@#179588.90#@#-1832.00#@#1#@#59815_1547#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-08-20','1','1906.00','0.00','0.00','1','60118_1668','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1668#@#2017-08-20#@#1#@#1906.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-08-20','1','110113718.00','387796.80','1351.00','1','60118_476','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-08-20#@#1#@#110113718.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-08-19','2','2132401.91','0.00','0.00','1','31997_1662','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1662' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-08-19#@#2#@#2132401.91#@#0.00#@#0.00#@#1#@#31997_1662#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-08-20','1','2586173.91','0.00','0.00','1','31997_1662','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1662' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-08-20#@#1#@#2586173.91#@#0.00#@#0.00#@#1#@#31997_1662#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-08-19','1','24171637.08','0.00','0.00','1','31997_1604','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1604#@#2017-08-19#@#1#@#24171637.08#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-08-20','1','24171637.08','0.00','0.00','1','31997_1604','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1604#@#2017-08-20#@#1#@#24171637.08#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-08-19','1','2721030.00','0.00','-4492.00','1','57537_1473','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-08-19#@#1#@#2721030.00#@#0.00#@#-4492.00#@#1#@#57537_1473#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-08-20','1','2721030.00','0.00','-4492.00','1','57537_1473','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-08-20#@#1#@#2721030.00#@#0.00#@#-4492.00#@#1#@#57537_1473#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-20','1','9731265.16','0.00','0.00','1','46986_1664','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-20#@#1#@#9731265.16#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1243','2017-08-20','1','207651353.00','0.00','0.00','1','60436_ps','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-08-20#@#1#@#207651353.00#@#0.00#@#0.00#@#1#@#60436_ps#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-19','3','52889389.00','209568.20','-2267.00','1','40192_1162','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-19' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-19#@#3#@#52889389.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-08-20','1','1429821.00','0.00','-14208.37','1','47960_1641','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-08-20#@#1#@#1429821.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-20','1','52911833.00','209568.20','-2267.00','1','40192_1162','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-20#@#1#@#52911833.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-08-19','2','79814678.00','0.00','0.00','1','40192_1492','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-08-19' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1492#@#2017-08-19#@#2#@#79814678.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-08-20','1','79903676.00','0.00','0.00','1','40192_1492','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1492#@#2017-08-20#@#1#@#79903676.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-08-20','1','13075596.00','0.00','0.00','1','63904_304','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-08-20#@#1#@#13075596.00#@#0.00#@#0.00#@#1#@#63904_304#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-20','1','54538.00','0.00','-386.00','1','64489_1645','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-20#@#1#@#54538.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-08-20','1','16982.00','0.00','0.00','1','64354_1669','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-08-20#@#1#@#16982.00#@#0.00#@#0.00#@#1#@#64354_1669#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-08-20','1','1150966.00','0.00','0.00','1','56912_1637','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1637' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-08-20#@#1#@#1150966.00#@#0.00#@#0.00#@#1#@#56912_1637#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-08-20','1','3937298.00','0.00','0.00','1','61045_1187','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-20#@#1#@#3937298.00#@#0.00#@#0.00#@#1#@#61045_1187#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-08-20','1','332469.00','0.00','0.00','1','38781_1634','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1634' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-08-20#@#1#@#332469.00#@#0.00#@#0.00#@#1#@#38781_1634#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-08-19','1','18509816.00','1128633.80','817380.08','1','33370_1461','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-08-19#@#1#@#18509816.00#@#1128633.80#@#817380.08#@#1#@#33370_1461#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-08-19','1','348160.00','1782.90','1768.90','1','61273_1666','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-08-19#@#1#@#348160.00#@#1782.90#@#1768.90#@#1#@#61273_1666#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1174','2017-08-20','1','175665246.40','0.00','0.00','1','47960_1174','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1174#@#2017-08-20#@#1#@#175665246.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-08-20','1','25403717.00','12190.80','0.00','1','34016_1477','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-08-20#@#1#@#25403717.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-08-20','1','348160.00','1782.90','1768.90','1','61273_1666','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-08-20#@#1#@#348160.00#@#1782.90#@#1768.90#@#1#@#61273_1666#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1174','2017-08-20','2','175665246.40','0.00','0.00','1','','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1174#@#2017-08-20#@#2#@#175665246.40#@#0.00#@#0.00#@#1#@##@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-08-20','1','18509816.00','1128633.80','817380.08','1','33370_1461','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-08-20#@#1#@#18509816.00#@#1128633.80#@#817380.08#@#1#@#33370_1461#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-08-19','1','41478.00','0.00','0.00','1','64520_1673','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1673' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-08-19#@#1#@#41478.00#@#0.00#@#0.00#@#1#@#64520_1673#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-08-20','1','227351371.00','147501.10','-8965.10','1','59346','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-08-20#@#1#@#227351371.00#@#147501.10#@#-8965.10#@#1#@#59346#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-08-20','1','41478.00','0.00','0.00','1','64520_1673','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1673' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-08-20#@#1#@#41478.00#@#0.00#@#0.00#@#1#@#64520_1673#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-08-20','1','0.00','0.00','0.00','1','64554_1671','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-08-20#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64554_1671#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-08-20','1','3832426.00','4299.00','0.00','1','63887_1439','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-08-20#@#1#@#3832426.00#@#4299.00#@#0.00#@#1#@#63887_1439#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-08-19','1','801044.00','0.00','-3526.19','1','63682_1650','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-08-19#@#1#@#801044.00#@#0.00#@#-3526.19#@#1#@#63682_1650#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-08-20','1','801044.00','0.00','-3526.19','1','63682_1650','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-08-20#@#1#@#801044.00#@#0.00#@#-3526.19#@#1#@#63682_1650#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2017-08-20','1','169541936.00','26496.40','0.00','1','34731_PEN','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-08-20#@#1#@#169541936.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-08-20','1','24307105.00','106331.20','0.00','1','60217_1478','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1478#@#2017-08-20#@#1#@#24307105.00#@#106331.20#@#0.00#@#1#@#60217_1478#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-20','3','1737787.84','0.00','0.00','1','63484_1660','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-20' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-20#@#3#@#1737787.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-21','1','1825420.84','0.00','0.00','1','63484_1660','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-21#@#1#@#1825420.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-21','2','1825420.84','0.00','0.00','1','63484_1660','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-21#@#2#@#1825420.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-21','3','1825420.84','0.00','0.00','1','63484_1660','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-21' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-21#@#3#@#1825420.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-21','4','1825420.84','0.00','0.00','1','63484_1660','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-21' and seq_arrear = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-21#@#4#@#1825420.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-08-21','1','7216669.31','0.00','0.00','1','63484_1605','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-08-21#@#1#@#7216669.31#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-08-18','1','190550.00','0.00','33.36','1','bms_center','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9999#@#2017-08-18#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-08-19','1','190550.00','0.00','33.36','1','bms_center','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9999#@#2017-08-19#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-08-20','1','190550.00','0.00','33.36','1','bms_center','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9999#@#2017-08-20#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9998','2017-08-18','1','0.00','0.00','0.00','1','bms_center','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9998#@#2017-08-18#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9998','2017-08-19','1','0.00','0.00','0.00','1','bms_center','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9998#@#2017-08-19#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9998','2017-08-20','1','0.00','0.00','0.00','1','bms_center','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9998#@#2017-08-20#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-08-21','1','182825.00','0.00','0.00','1','64345_1642','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1642#@#2017-08-21#@#1#@#182825.00#@#0.00#@#0.00#@#1#@#64345_1642#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-20','2','105708718.00','290203.40','-885.60','1','49692_1115','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-20#@#2#@#105708718.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-21','1','105796473.00','290203.40','-885.60','1','49692_1115','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-21#@#1#@#105796473.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-08-20','1','0.00','0.00','0.00','1','64492_1670','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1670' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1670#@#2017-08-20#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64492_1670#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-08-21','1','118405551.00','106198.70','-24571.54','1','64575_1232','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-08-21#@#1#@#118405551.00#@#106198.70#@#-24571.54#@#1#@#64575_1232#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-21','1','52933274.00','209568.20','-2267.00','1','63916_1162','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-21#@#1#@#52933274.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-21','2','52933274.00','209568.20','-2267.00','1','63916_1162','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-21#@#2#@#52933274.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-08-21','1','96820982.00','632318.90','0.00','1','60000_1099','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-08-21#@#1#@#96820982.00#@#632318.90#@#0.00#@#1#@#60000_1099#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-20','2','1106470.00','0.00','0.00','1','47875_1647','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-20#@#2#@#1106470.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-21','1','1171715.00','0.00','0.00','1','47875_1647','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-21#@#1#@#1171715.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-08-21','1','4244485.86','185986.30','-1832.00','1','63771_1547','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1547#@#2017-08-21#@#1#@#4244485.86#@#185986.30#@#-1832.00#@#1#@#63771_1547#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-20','2','131700911.91','1722165.24','0.00','1','47875_1351','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-20#@#2#@#131700911.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-21','1','131637075.91','1722165.24','0.00','1','47875_1351','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-21#@#1#@#131637075.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-08-21','1','79980714.00','0.00','0.00','1','40192_1492','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1492#@#2017-08-21#@#1#@#79980714.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-08-20','1','0.00','0.00','-464.00','1','64585_1672','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-08-20#@#1#@#0.00#@#0.00#@#-464.00#@#1#@#64585_1672#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-08-17','1','78797488.00','334402.40','0.00','1','63663_1229','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-08-17#@#1#@#78797488.00#@#334402.40#@#0.00#@#1#@#63663_1229#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-08-18','1','78721219.00','334402.40','0.00','1','63663_1229','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-08-18#@#1#@#78721219.00#@#334402.40#@#0.00#@#1#@#63663_1229#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-08-21','1','0.00','0.00','-464.00','1','64585_1672','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-08-21#@#1#@#0.00#@#0.00#@#-464.00#@#1#@#64585_1672#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-08-19','1','78721219.00','334402.40','0.00','1','63663_1229','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-08-19#@#1#@#78721219.00#@#334402.40#@#0.00#@#1#@#63663_1229#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-08-20','1','78721219.00','334402.40','0.00','1','63663_1229','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-08-20#@#1#@#78721219.00#@#334402.40#@#0.00#@#1#@#63663_1229#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-08-21','1','215330.00','14555.70','11113.50','1','64443_1656','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-08-21#@#1#@#215330.00#@#14555.70#@#11113.50#@#1#@#64443_1656#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-08-21','1','0.00','0.00','0.00','1','64554_1671','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-08-21#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64554_1671#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-08-21','1','43803940.00','0.00','0.00','1','50582_1467','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-08-21#@#1#@#43803940.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2017-08-21','1','1415647.00','0.00','0.00','1','50582_1256','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2017-08-21#@#1#@#1415647.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-08-21','1','18769040.00','58005.00','0.00','1','56066_1476','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-08-21#@#1#@#18769040.00#@#58005.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-20','4','15330420.00','29723.10','0.00','1','63919_10','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-20' and seq_arrear = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-20#@#4#@#15330420.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-17','2','107454750.00','578969.20','-14327.70','1','51111_1058','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-17#@#2#@#107454750.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-20','2','107810626.00','578969.20','-14327.70','1','51111_1058','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-20#@#2#@#107810626.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-21','1','107850425.00','578969.20','-14327.70','1','51111_1058','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-21#@#1#@#107850425.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-21','1','15424431.00','29723.10','0.00','1','63919_10','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-21#@#1#@#15424431.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-08-21','1','25436679.00','12190.80','0.00','1','34016_1477','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-08-21#@#1#@#25436679.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-08-21','1','18509816.00','1128633.80','817380.08','1','33370_1461','p','2017-08-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-08-21#@#1#@#18509816.00#@#1128633.80#@#817380.08#@#1#@#33370_1461#@#p#@#2017-08-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-08-20','2','13473495.00','0.00','0.00','1','62364_1363','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-08-20#@#2#@#13473495.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-08-21','1','13491493.00','0.00','0.00','1','62364_1363','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-08-21#@#1#@#13491493.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-08-21','1','3202989.00','0.00','0.00','1','63765_1661','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-08-21#@#1#@#3202989.00#@#0.00#@#0.00#@#1#@#63765_1661#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-08-18','2','5065411.80','0.00','0.00','1','47937_1663','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-08-18' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-08-18#@#2#@#5065411.80#@#0.00#@#0.00#@#1#@#47937_1663#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-08-21','1','5373853.80','0.00','0.00','1','47937_1663','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-08-21#@#1#@#5373853.80#@#0.00#@#0.00#@#1#@#47937_1663#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-08-21','1','2928419.91','0.00','0.00','1','34300_1662','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1662' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-08-21#@#1#@#2928419.91#@#0.00#@#0.00#@#1#@#34300_1662#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1243','2017-08-21','1','207694147.00','0.00','0.00','1','60436_ps','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-08-21#@#1#@#207694147.00#@#0.00#@#0.00#@#1#@#60436_ps#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-08-21','1','80789380.00','148690.13','-6171.21','1','64355_1346','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-08-21#@#1#@#80789380.00#@#148690.13#@#-6171.21#@#1#@#64355_1346#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-08-21','1','19438.00','0.00','0.00','1','64355_1635','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-08-21#@#1#@#19438.00#@#0.00#@#0.00#@#1#@#64355_1635#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-08-21','1','3619189.09','2034985.70','0.00','1','36211_1659','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-08-21#@#1#@#3619189.09#@#2034985.70#@#0.00#@#1#@#36211_1659#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-08-21','1','5767050.33','19191.60','0.00','1','44345_1657','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-08-21#@#1#@#5767050.33#@#19191.60#@#0.00#@#1#@#44345_1657#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-08-21','1','4723453.00','0.00','0.00','1','60303_1179','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-08-21#@#1#@#4723453.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2017-08-21','1','59201912.00','0.00','0.00','1','36097_SBP','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2017-08-21#@#1#@#59201912.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-08-20','2','70517261.00','337608.70','-765.00','1','34731_1216','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-08-20#@#2#@#70517261.00#@#337608.70#@#-765.00#@#1#@#34731_1216#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-21','1','66883339.00','626845.80','8023.20','1','63108_1054','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-21#@#1#@#66883339.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-08-21','1','280415.00','0.00','0.00','1','60992_1667','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-08-21#@#1#@#280415.00#@#0.00#@#0.00#@#1#@#60992_1667#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-08-21','1','70525806.00','337608.70','-765.00','1','34731_1216','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-08-21#@#1#@#70525806.00#@#337608.70#@#-765.00#@#1#@#34731_1216#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-08-21','1','6001504.00','168601.20','-54901.00','1','63420_1556','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-08-21#@#1#@#6001504.00#@#168601.20#@#-54901.00#@#1#@#63420_1556#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2017-08-21','1','169645785.00','26496.40','0.00','1','34731_PEN','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-08-21#@#1#@#169645785.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-08-21','1','0.00','0.00','0.00','1','60118_1668','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1668#@#2017-08-21#@#1#@#0.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-08-21','1','7731.00','0.00','0.00','1','64354_1669','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-08-21#@#1#@#7731.00#@#0.00#@#0.00#@#1#@#64354_1669#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-08-21','1','53665.00','0.00','0.00','1','64520_1673','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1673' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-08-21#@#1#@#53665.00#@#0.00#@#0.00#@#1#@#64520_1673#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-08-21','1','24363917.08','0.00','0.00','1','31997_1604','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1604#@#2017-08-21#@#1#@#24363917.08#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-08-21','1','150637702.00','89222.40','0.00','1','55496','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-08-21#@#1#@#150637702.00#@#89222.40#@#0.00#@#1#@#55496#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-08-21','1','24307105.00','106331.20','0.00','1','60217_1478','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1478#@#2017-08-21#@#1#@#24307105.00#@#106331.20#@#0.00#@#1#@#60217_1478#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-08-21','1','110136921.00','387796.80','1351.00','1','60118_476','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-08-21#@#1#@#110136921.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-21','1','47927.00','0.00','0.00','1','64030_1665','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-21#@#1#@#47927.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-21','1','27071663.00','135174.90','-252637.51','1','63957_1523','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-21#@#1#@#27071663.00#@#135174.90#@#-252637.51#@#1#@#63957_1523#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-08-21','1','3937298.00','0.00','0.00','1','38781_1187','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-21#@#1#@#3937298.00#@#0.00#@#0.00#@#1#@#38781_1187#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-08-21','1','29394718.00','208784.85','0.00','1','50232_177','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2017-08-21#@#1#@#29394718.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-08-21','1','228416582.00','583101.80','68009.40','1','61045_452','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-08-21#@#1#@#228416582.00#@#583101.80#@#68009.40#@#1#@#61045_452#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-18','3','9470300.16','0.00','0.00','1','46986_1664','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-18' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-18#@#3#@#9470300.16#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-19','3','9663023.16','0.00','0.00','1','46986_1664','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-19' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-19#@#3#@#9663023.16#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-08-21','1','2720328.16','0.00','0.00','1','32966_1658','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1658' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-08-21#@#1#@#2720328.16#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-08-21','1','9985344.16','0.00','0.00','1','46986_1664','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-08-21#@#1#@#9985344.16#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-21','5','2036343.84','0.00','0.00','1','63484_1660','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-21' and seq_arrear = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-21#@#5#@#2036343.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-08-21','1','13190059.00','0.00','0.00','1','63904_304','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-08-21#@#1#@#13190059.00#@#0.00#@#0.00#@#1#@#63904_304#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-22','1','2034453.84','0.00','0.00','1','63484_1660','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-22#@#1#@#2034453.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-21','1','54538.00','0.00','-386.00','1','64489_1645','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-21#@#1#@#54538.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-22','2','2034453.84','0.00','0.00','1','63484_1660','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-08-22' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-22#@#2#@#2034453.84#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-08-22','1','7216669.31','0.00','0.00','1','63484_1605','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-08-22#@#1#@#7216669.31#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-08-21','1','190550.00','0.00','33.36','1','bms_center','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9999#@#2017-08-21#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '9998','2017-08-21','1','0.00','0.00','0.00','1','bms_center','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #9998#@#2017-08-21#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-08-21','1','348160.00','1782.90','1768.90','1','61273_1666','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-08-21#@#1#@#348160.00#@#1782.90#@#1768.90#@#1#@#61273_1666#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2017-08-21','1','5841245.00','79002.20','-365519.85','1','56645_1450','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-08-21#@#1#@#5841245.00#@#79002.20#@#-365519.85#@#1#@#56645_1450#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-08-21','1','3858831.00','4299.00','0.00','1','63887_1439','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-08-21#@#1#@#3858831.00#@#4299.00#@#0.00#@#1#@#63887_1439#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-08-17','1','-3207.00','0.00','-4465.67','1','63105_1651','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1651' and close_date = '2017-08-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-17#@#1#@#-3207.00#@#0.00#@#-4465.67#@#1#@#63105_1651#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-08-18','1','-3207.00','0.00','-4465.67','1','63105_1651','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1651' and close_date = '2017-08-18' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-18#@#1#@#-3207.00#@#0.00#@#-4465.67#@#1#@#63105_1651#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-08-19','1','-3207.00','0.00','-4465.67','1','63105_1651','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1651' and close_date = '2017-08-19' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-19#@#1#@#-3207.00#@#0.00#@#-4465.67#@#1#@#63105_1651#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-08-20','1','-3207.00','0.00','-4465.67','1','63105_1651','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1651' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-20#@#1#@#-3207.00#@#0.00#@#-4465.67#@#1#@#63105_1651#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-08-21','1','-3207.00','0.00','-4465.67','1','63105_1651','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1651' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-21#@#1#@#-3207.00#@#0.00#@#-4465.67#@#1#@#63105_1651#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-08-21','1','227351371.00','147501.10','-8965.10','1','59346','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-08-21#@#1#@#227351371.00#@#147501.10#@#-8965.10#@#1#@#59346#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-08-21','1','2745900.00','0.00','-4492.00','1','57537_1473','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-08-21#@#1#@#2745900.00#@#0.00#@#-4492.00#@#1#@#57537_1473#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-08-20','1','3204.00','0.00','0.00','1','64574_1640','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1640' and close_date = '2017-08-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1640#@#2017-08-20#@#1#@#3204.00#@#0.00#@#0.00#@#1#@#64574_1640#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-08-21','1','3204.00','0.00','0.00','1','64574_1640','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1640' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1640#@#2017-08-21#@#1#@#3204.00#@#0.00#@#0.00#@#1#@#64574_1640#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-08-21','1','32179314.00','308699.65','52772.25','1','63663_1227','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-08-21#@#1#@#32179314.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-21','2','27071663.00','135174.90','-252637.51','1','42960_1523','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-21#@#2#@#27071663.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-08-21','1','0.00','0.00','0.00','1','64492_1670','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1670' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1670#@#2017-08-21#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64492_1670#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1174','2017-08-21','1','175899439.40','0.00','0.00','1','47960_1174','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1174#@#2017-08-21#@#1#@#175899439.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-21','2','105828436.00','290203.40','-885.60','1','49692_1115','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-21#@#2#@#105828436.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-08-22','1','105785808.00','290203.40','-885.60','1','49692_1115','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-08-22#@#1#@#105785808.00#@#290203.40#@#-885.60#@#1#@#49692_1115#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-21','2','39051.00','18188.10','0.00','1','64058_1652','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-21#@#2#@#39051.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-08-22','1','-2118.00','18188.10','0.00','1','64058_1652','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-08-22#@#1#@#-2118.00#@#18188.10#@#0.00#@#1#@#64058_1652#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-08-21','2','118465769.00','106198.70','-24571.54','1','64575_1232','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-08-21#@#2#@#118465769.00#@#106198.70#@#-24571.54#@#1#@#64575_1232#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-08-22','1','4244485.86','185986.30','-1832.00','1','63771_1547','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1547#@#2017-08-22#@#1#@#4244485.86#@#185986.30#@#-1832.00#@#1#@#63771_1547#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-21','3','52965322.00','209568.20','-2267.00','1','63916_1162','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-21' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-21#@#3#@#52965322.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-08-22','1','182825.00','0.00','0.00','1','64345_1642','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1642#@#2017-08-22#@#1#@#182825.00#@#0.00#@#0.00#@#1#@#64345_1642#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-21','2','131747747.91','1722165.24','0.00','1','47875_1351','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-21#@#2#@#131747747.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2017-08-22','1','52853273.00','209568.20','-2267.00','1','63916_1162','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1162#@#2017-08-22#@#1#@#52853273.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-21','2','1220638.00','0.00','0.00','1','47875_1647','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-21#@#2#@#1220638.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-08-22','1','131853184.91','1722165.24','0.00','1','47875_1351','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-08-22#@#1#@#131853184.91#@#1722165.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-08-21','2','96947080.00','632318.90','0.00','1','60000_1099','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-08-21#@#2#@#96947080.00#@#632318.90#@#0.00#@#1#@#60000_1099#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-08-22','1','995827.00','0.00','0.00','1','47875_1647','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-08-22#@#1#@#995827.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-08-22','1','96834823.00','632318.90','0.00','1','60000_1099','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-08-22#@#1#@#96834823.00#@#632318.90#@#0.00#@#1#@#60000_1099#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-21','2','47927.00','0.00','0.00','1','64030_1665','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-21#@#2#@#47927.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-08-22','1','31240.00','0.00','0.00','1','64030_1665','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1665#@#2017-08-22#@#1#@#31240.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-08-20','2','1449048.00','0.00','-14208.37','1','47960_1641','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-08-20#@#2#@#1449048.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-08-21','1','1474346.00','0.00','-14208.37','1','47960_1641','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-08-21#@#1#@#1474346.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-08-21','1','78756096.00','334402.40','0.00','1','63663_1229','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-08-21#@#1#@#78756096.00#@#334402.40#@#0.00#@#1#@#63663_1229#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-08-21','2','215330.00','15381.90','11113.50','1','64443_1656','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-08-21#@#2#@#215330.00#@#15381.90#@#11113.50#@#1#@#64443_1656#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-08-22','1','188729.00','15381.90','11113.50','1','64443_1656','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-08-22#@#1#@#188729.00#@#15381.90#@#11113.50#@#1#@#64443_1656#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-08-21','1','1167043.00','0.00','0.00','1','59346_1637','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1637' and close_date = '2017-08-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-08-21#@#1#@#1167043.00#@#0.00#@#0.00#@#1#@#59346_1637#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-22','1','27024238.00','135174.90','-252637.51','1','42960_1523','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-22#@#1#@#27024238.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-22','2','27024238.00','135174.90','-252637.51','1','42960_1523','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-22' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-22#@#2#@#27024238.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-22','3','27024238.00','135174.90','-252637.51','1','42960_1523','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-22' and seq_arrear = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-22#@#3#@#27024238.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-08-22','4','27024238.00','135174.90','-252637.51','1','42960_1523','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-08-22' and seq_arrear = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-08-22#@#4#@#27024238.00#@#135174.90#@#-252637.51#@#1#@#42960_1523#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-08-22','1','18866099.00','58005.00','0.00','1','56066_1476','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-08-22#@#1#@#18866099.00#@#58005.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-08-22','1','3204.00','0.00','0.00','1','64574_1640','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1640' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1640#@#2017-08-22#@#1#@#3204.00#@#0.00#@#0.00#@#1#@#64574_1640#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-08-22','1','0.00','0.00','-464.00','1','64585_1672','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-08-22#@#1#@#0.00#@#0.00#@#-464.00#@#1#@#64585_1672#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-21','2','107897956.00','578969.20','-14327.70','1','51111_1058','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-21#@#2#@#107897956.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-08-22','1','107924340.00','578969.20','-14327.70','1','51111_1058','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-08-22#@#1#@#107924340.00#@#578969.20#@#-14327.70#@#1#@#51111_1058#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-08-22','1','54538.00','0.00','-386.00','1','64489_1645','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-08-22#@#1#@#54538.00#@#0.00#@#-386.00#@#1#@#64489_1645#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-21','2','66883339.00','626845.80','8023.20','1','63108_1054','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-21#@#2#@#66883339.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-08-22','1','43801022.00','0.00','0.00','1','50582_1467','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-08-22#@#1#@#43801022.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-08-22','2','43801022.00','0.00','0.00','1','50582_1467','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-08-22' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-08-22#@#2#@#43801022.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-08-22','1','66850884.00','626845.80','8023.20','1','63108_1054','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2017-08-22#@#1#@#66850884.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2017-08-22','1','1370537.00','0.00','0.00','1','50582_1256','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2017-08-22#@#1#@#1370537.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-08-22','1','0.00','0.00','0.00','1','64554_1671','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-08-22#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64554_1671#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-08-22','1','25510281.00','12190.80','0.00','1','34016_1477','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-08-22#@#1#@#25510281.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-21','2','15472178.00','29723.10','0.00','1','63919_10','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-21' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-21#@#2#@#15472178.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-22','1','15351904.00','29723.10','0.00','1','63919_10','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-22#@#1#@#15351904.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-08-22','2','15348420.00','29723.10','0.00','1','63919_10','p','2017-08-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2017-08-22' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-08-22#@#2#@#15348420.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-08-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2017-08-22','1','5760698.00','79002.20','-365519.85','1','56645_1450','p','2017-08-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-08-22#@#1#@#5760698.00#@#79002.20#@#-365519.85#@#1#@#56645_1450#@#p#@#2017-08-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2017-08-20','2','59044771.00','0.00','0.00','1','36097_SBP','p','2017-08-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2017-08-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2017-08-20#@#2#@#59044771.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-08-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2017-08-22','1','59344682.00','0.00','0.00','1','36097_SBP','p','2017-08-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2017-08-22' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2017-08-22#@#1#@#59344682.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-08-23#@now());')

#STOP # Total Record = 500
Select==> SELECT * FROM al_com_close_promise WHERE log_status in ('e','a') limit 0,500

Can't Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2013-11-14','B7-1','1','0','0','0','1','p','55900','2013-11-15',now());

select * from al_com_close_promise WHERE branch_id = '1227' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1227' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-11-14','B1-1','1','146','0','146','1','p','36097_SRC','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1165#@#2013-11-14#@#B1-1#@#1#@#146#@#0#@#146#@#1#@#p#@#36097_SRC#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-11-14','B2-1','1','10','0','10','1','p','36097_SRC','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1165#@#2013-11-14#@#B2-1#@#1#@#10#@#0#@#10#@#1#@#p#@#36097_SRC#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-11-14','B3-1','1','0','0','0','1','p','36097_SRC','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-11-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1165#@#2013-11-14#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SRC#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-11-14','B6-1','1','181','0','181','1','p','36097_SRC','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-11-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1165#@#2013-11-14#@#B6-1#@#1#@#181#@#0#@#181#@#1#@#p#@#36097_SRC#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-11-14','B7-1','1','0','0','0','1','p','36097_SRC','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1165#@#2013-11-14#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SRC#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2013-11-14','B1-1','1','0','0','0','1','p','52105_1396','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1396#@#2013-11-14#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52105_1396#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2013-11-14','B2-1','1','0','0','0','1','p','52105_1396','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1396#@#2013-11-14#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52105_1396#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2013-11-14','B3-1','1','0','0','0','1','p','52105_1396','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-11-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1396#@#2013-11-14#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52105_1396#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2013-11-14','B6-1','1','8','0','8','1','p','52105_1396','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-11-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1396#@#2013-11-14#@#B6-1#@#1#@#8#@#0#@#8#@#1#@#p#@#52105_1396#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2013-11-14','B7-1','1','0','0','0','1','p','52105_1396','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1396#@#2013-11-14#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52105_1396#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2013-11-14','B1-1','1','1','0','1','1','p','40195_1414','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2013-11-14#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#40195_1414#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2013-11-14','B2-1','1','2','0','2','1','p','40195_1414','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2013-11-14#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#40195_1414#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2013-11-14','B3-1','1','5','0','5','1','p','40195_1414','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-11-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2013-11-14#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#40195_1414#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2013-11-14','B6-1','1','0','0','0','1','p','40195_1414','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-11-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2013-11-14#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40195_1414#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2013-11-14','B7-1','1','0','0','0','1','p','40195_1414','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2013-11-14#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40195_1414#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-13','B1-1','1','14','0','14','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-13' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-13#@#B1-1#@#1#@#14#@#0#@#14#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-13','B2-1','1','18','0','18','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-13' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-13#@#B2-1#@#1#@#18#@#0#@#18#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-13','B3-1','1','9','0','9','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-13' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-13#@#B3-1#@#1#@#9#@#0#@#9#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-13','B6-1','1','0','0','0','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-13' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-13#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-13','B7-1','1','0','0','0','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-13' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-13#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-14','B1-1','1','14','0','14','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-14#@#B1-1#@#1#@#14#@#0#@#14#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-14','B2-1','1','18','0','18','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-14#@#B2-1#@#1#@#18#@#0#@#18#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-14','B3-1','1','9','0','9','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-14#@#B3-1#@#1#@#9#@#0#@#9#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-14','B6-1','1','0','0','0','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-14#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-14','B7-1','1','0','0','0','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-14#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-15','B1-1','1','14','0','14','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-15' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-15#@#B1-1#@#1#@#14#@#0#@#14#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-15','B2-1','1','18','0','18','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-15' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-15#@#B2-1#@#1#@#18#@#0#@#18#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-15','B3-1','1','9','0','9','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-15' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-15#@#B3-1#@#1#@#9#@#0#@#9#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-15','B6-1','1','0','0','0','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-15' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-15#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1231','2013-11-15','B7-1','1','0','0','0','1','p','40195_1231','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1231' and close_date = '2013-11-15' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1231#@#2013-11-15#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40195_1231#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1221','2013-11-14','B1-1','1','46','0','46','1','p','42003_1221','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1221#@#2013-11-14#@#B1-1#@#1#@#46#@#0#@#46#@#1#@#p#@#42003_1221#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1221','2013-11-14','B2-1','1','7','0','7','1','p','42003_1221','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1221#@#2013-11-14#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#42003_1221#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1221','2013-11-14','B3-1','1','2','0','2','1','p','42003_1221','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-11-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1221#@#2013-11-14#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42003_1221#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1221','2013-11-14','B6-1','1','0','0','0','1','p','42003_1221','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-11-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1221#@#2013-11-14#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42003_1221#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1221','2013-11-14','B7-1','1','0','0','0','1','p','42003_1221','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1221#@#2013-11-14#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42003_1221#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1384','2013-11-14','B1-1','1','0','0','0','1','p','36108_1384','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1384#@#2013-11-14#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36108_1384#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1384','2013-11-14','B2-1','1','0','0','0','1','p','36108_1384','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1384#@#2013-11-14#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36108_1384#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1384','2013-11-14','B3-1','1','3','0','3','1','p','36108_1384','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-11-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1384#@#2013-11-14#@#B3-1#@#1#@#3#@#0#@#3#@#1#@#p#@#36108_1384#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1384','2013-11-14','B6-1','1','18','0','18','1','p','36108_1384','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-11-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1384#@#2013-11-14#@#B6-1#@#1#@#18#@#0#@#18#@#1#@#p#@#36108_1384#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1384','2013-11-14','B7-1','1','0','0','0','1','p','36108_1384','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1384' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1384#@#2013-11-14#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36108_1384#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1247','2013-11-14','B1-1','1','26','0','26','1','p','55870_1247','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-11-14#@#B1-1#@#1#@#26#@#0#@#26#@#1#@#p#@#55870_1247#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1247','2013-11-14','B2-1','1','0','0','0','1','p','55870_1247','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-11-14#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55870_1247#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1247','2013-11-14','B3-1','1','4','0','4','1','p','55870_1247','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-11-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-11-14#@#B3-1#@#1#@#4#@#0#@#4#@#1#@#p#@#55870_1247#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1247','2013-11-14','B6-1','1','1','0','1','1','p','55870_1247','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-11-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-11-14#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#55870_1247#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1247','2013-11-14','B7-1','1','0','0','0','1','p','55870_1247','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-11-14#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55870_1247#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2013-11-14','B1-1','1','4','0','4','1','p','34579_1433','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1433#@#2013-11-14#@#B1-1#@#1#@#4#@#0#@#4#@#1#@#p#@#34579_1433#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2013-11-14','B2-1','1','0','0','0','1','p','34579_1433','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1433#@#2013-11-14#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_1433#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2013-11-14','B3-1','1','0','0','0','1','p','34579_1433','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2013-11-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1433#@#2013-11-14#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_1433#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2013-11-14','B6-1','1','0','0','0','1','p','34579_1433','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2013-11-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1433#@#2013-11-14#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_1433#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2013-11-14','B7-1','1','0','0','0','1','p','34579_1433','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2013-11-14' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1433#@#2013-11-14#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_1433#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-11-14','B1-1','1','1918','0','1918','1','p','47937_177','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-11-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-11-14#@#B1-1#@#1#@#1918#@#0#@#1918#@#1#@#p#@#47937_177#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-11-14','B2-1','1','68','0','68','1','p','47937_177','2013-11-15',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-11-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-11-14#@#B2-1#@#1#@#68#@#0#@#68#@#1#@#p#@#47937_177#@#2013-11-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-11-14','B3-1','1','8','0','8','1','p','47937_177','2013-11-15',now());