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 ( '152','2013-02-25','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-25' 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-02-25#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-25','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-25' 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-02-25#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-25','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-25' 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-02-25#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-25','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-25' 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-02-25#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-25','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-02-25' 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-02-25#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-26','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-02-26' 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-02-26#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-27','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-02-27' 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-02-27#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-28','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-02-28' 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-02-28#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-01' 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-03-01#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-01' 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-03-01#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-01' 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-03-01#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-01#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-02' 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-03-02#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-02' 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-03-02#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-02' 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-03-02#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-02','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-03-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 ( #152#@#2013-03-02#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-03','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-03-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-03-03#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-04','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-03-04' 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-03-04#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-03-05' 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-03-05#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','BF','1','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al05','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al05','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al05','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al07','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al07','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al07','BF','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al14','INC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al14','DEC','1','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al14','BF','1','+','0.18','1','50845SSC.bms','p','2013-03-08',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-03-06' 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-03-06#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','INC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','DEC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','BF','2','+','1313.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al01#@#BF#@#2#@#+#@#1313.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','INC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','DEC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','BF','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al05','INC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al05','DEC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al05','BF','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al05#@#BF#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al07','INC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' and close_acc_book = 'al07' 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 ( #152#@#2013-03-06#@#al07#@#INC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al07','DEC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' and close_acc_book = 'al07' 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 ( #152#@#2013-03-06#@#al07#@#DEC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al07','BF','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' and close_acc_book = 'al07' 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 ( #152#@#2013-03-06#@#al07#@#BF#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al14','INC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al14#@#INC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al14','DEC','2','+','0.00','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al14#@#DEC#@#2#@#+#@#0.00#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al14','BF','2','+','0.18','1','50845SSC.bms','p','2013-03-08',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-03-06' 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 ( #152#@#2013-03-06#@#al14#@#BF#@#2#@#+#@#0.18#@#1#@#50845SSC.bms#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','59609','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','0.00','1','59609','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','76065.00','1','59609','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#76065.00#@#1#@#59609#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','59609','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','59609','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','0.00','1','59609','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#59609#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#173530.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#145704.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#67.81#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-03-08' 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 ( #1232#@#2013-03-08#@#al06#@#BF#@#1#@#+#@#503.05#@#1#@#56025_1232#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-03-08' 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 ( #1376#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#45247_1376#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-03-08' 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 ( #1376#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#420.00#@#1#@#45247_1376#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-03-08' 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 ( #1376#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#671.00#@#1#@#45247_1376#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-03-08' 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 ( #1376#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#45247_1376#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-03-08' 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 ( #1376#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#45247_1376#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-03-08' 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 ( #1376#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#0.06#@#1#@#45247_1376#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','50000.00','1','50180_1319','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#50180_1319#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','23521.00','1','50180_1319','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#23521.00#@#1#@#50180_1319#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','44232.61','1','50180_1319','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#44232.61#@#1#@#50180_1319#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','50000.00','1','50180_1319','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#50000.00#@#1#@#50180_1319#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','50000.00','1','50180_1319','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#50000.00#@#1#@#50180_1319#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','0.00','1','50180_1319','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1397','2013-03-07','al01','INC','1','+','100000.00','1','56504_1397','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1397' and close_date = '2013-03-07' 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 ( #1397#@#2013-03-07#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#56504_1397#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1397','2013-03-07','al01','DEC','1','+','17978.00','1','56504_1397','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1397' and close_date = '2013-03-07' 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 ( #1397#@#2013-03-07#@#al01#@#DEC#@#1#@#+#@#17978.00#@#1#@#56504_1397#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1397','2013-03-07','al01','BF','1','+','84934.00','1','56504_1397','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1397' and close_date = '2013-03-07' 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 ( #1397#@#2013-03-07#@#al01#@#BF#@#1#@#+#@#84934.00#@#1#@#56504_1397#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1397','2013-03-07','al02','INC','1','+','100000.00','1','56504_1397','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1397' and close_date = '2013-03-07' 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 ( #1397#@#2013-03-07#@#al02#@#INC#@#1#@#+#@#100000.00#@#1#@#56504_1397#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1397','2013-03-07','al02','DEC','1','+','100000.00','1','56504_1397','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1397' and close_date = '2013-03-07' 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 ( #1397#@#2013-03-07#@#al02#@#DEC#@#1#@#+#@#100000.00#@#1#@#56504_1397#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1397' and close_date = '2013-03-07' 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 ( #1397#@#2013-03-07#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#56504_1397#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','INC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','DEC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','BF','1','+','1313.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al01#@#BF#@#1#@#+#@#1313.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','INC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','DEC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','BF','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al05','INC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al05','DEC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al05','BF','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al07','INC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al07','DEC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al07','BF','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al14','INC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al14','DEC','1','+','0.00','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al14','BF','1','+','0.18','1','38781','p','2013-03-08',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-03-07' 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-03-07#@#al14#@#BF#@#1#@#+#@#0.18#@#1#@#38781#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','48546_1156','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','0.00','1','48546_1156','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','51401.85','1','48546_1156','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#51401.85#@#1#@#48546_1156#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','48546_1156','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','48546_1156','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#48546_1156#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','756.94','1','48546_1156','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#756.94#@#1#@#48546_1156#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','455.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#455.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','22.24','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#22.24#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','INC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','DEC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','BF','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','INC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','DEC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','BF','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al07','INC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al07#@#INC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al07','DEC','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al07#@#DEC#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al07','BF','1','+','0.00','1','56843','p','2013-03-08',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-03-08' 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-03-08#@#al07#@#BF#@#1#@#+#@#0.00#@#1#@#56843#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-07' 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 ( #1389#@#2013-03-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-07' 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 ( #1389#@#2013-03-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-07' 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 ( #1389#@#2013-03-07#@#al01#@#BF#@#1#@#+#@#2330.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-07' 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 ( #1389#@#2013-03-07#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-07' 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 ( #1389#@#2013-03-07#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-07' 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 ( #1389#@#2013-03-07#@#al02#@#BF#@#1#@#+#@#2000.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1380','2013-03-07','al01','INC','2','+','50000.00','1','34302_1380','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-07' 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 ( #1380#@#2013-03-07#@#al01#@#INC#@#2#@#+#@#50000.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1380','2013-03-07','al01','DEC','2','+','19737.00','1','34302_1380','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-07' 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 ( #1380#@#2013-03-07#@#al01#@#DEC#@#2#@#+#@#19737.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1380','2013-03-07','al01','BF','2','+','33465.00','1','34302_1380','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-07' 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 ( #1380#@#2013-03-07#@#al01#@#BF#@#2#@#+#@#33465.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1380','2013-03-07','al02','INC','2','+','50000.00','1','34302_1380','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-07' 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 ( #1380#@#2013-03-07#@#al02#@#INC#@#2#@#+#@#50000.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1380','2013-03-07','al02','DEC','2','+','50000.00','1','34302_1380','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-07' 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 ( #1380#@#2013-03-07#@#al02#@#DEC#@#2#@#+#@#50000.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1380','2013-03-07','al02','BF','2','+','0.07','1','34302_1380','p','2013-03-08',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-07' 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 ( #1380#@#2013-03-07#@#al02#@#BF#@#2#@#+#@#0.07#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-08' 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 ( #1380#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-08' 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 ( #1380#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#17005.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-08' 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 ( #1380#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#16460.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-08' 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 ( #1380#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-08' 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 ( #1380#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1380' and close_date = '2013-03-08' 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 ( #1380#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#0.07#@#1#@#34302_1380#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al01','INC','2','+','100000.00','1','40317_1373','p','2013-03-08',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-03-05' 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-03-05#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al01','DEC','2','+','75239.00','1','40317_1373','p','2013-03-08',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-03-05' 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-03-05#@#al01#@#DEC#@#2#@#+#@#75239.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al01','BF','2','+','37967.00','1','40317_1373','p','2013-03-08',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-03-05' 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-03-05#@#al01#@#BF#@#2#@#+#@#37967.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al02','INC','2','+','100000.00','1','40317_1373','p','2013-03-08',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-03-05' 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-03-05#@#al02#@#INC#@#2#@#+#@#100000.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al02','DEC','2','+','100000.00','1','40317_1373','p','2013-03-08',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-03-05' 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-03-05#@#al02#@#DEC#@#2#@#+#@#100000.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-05','al02','BF','2','+','35.04','1','40317_1373','p','2013-03-08',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-03-05' 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-03-05#@#al02#@#BF#@#2#@#+#@#35.04#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1399' and close_date = '2013-03-08' 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 ( #1399#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57035_1399#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1399' and close_date = '2013-03-08' 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 ( #1399#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#57035_1399#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1399' and close_date = '2013-03-08' 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 ( #1399#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#477.00#@#1#@#57035_1399#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1399' and close_date = '2013-03-08' 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 ( #1399#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#57035_1399#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1399' and close_date = '2013-03-08' 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 ( #1399#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#57035_1399#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1399' and close_date = '2013-03-08' 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 ( #1399#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#57035_1399#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','INC','2','+','0.00','1','40317_1373','p','2013-03-08',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-03-06' 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-03-06#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','DEC','2','+','5968.00','1','40317_1373','p','2013-03-08',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-03-06' 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-03-06#@#al01#@#DEC#@#2#@#+#@#5968.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al01','BF','2','+','31999.00','1','40317_1373','p','2013-03-08',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-03-06' 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-03-06#@#al01#@#BF#@#2#@#+#@#31999.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','INC','2','+','0.00','1','40317_1373','p','2013-03-08',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-03-06' 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-03-06#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','DEC','2','+','0.00','1','40317_1373','p','2013-03-08',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-03-06' 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-03-06#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-06','al02','BF','2','+','35.04','1','40317_1373','p','2013-03-08',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-03-06' 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-03-06#@#al02#@#BF#@#2#@#+#@#35.04#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','INC','2','+','300000.00','1','40317_1373','p','2013-03-08',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-03-07' 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-03-07#@#al01#@#INC#@#2#@#+#@#300000.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','DEC','2','+','281918.00','1','40317_1373','p','2013-03-08',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-03-07' 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-03-07#@#al01#@#DEC#@#2#@#+#@#281918.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','BF','2','+','50081.00','1','40317_1373','p','2013-03-08',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-03-07' 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-03-07#@#al01#@#BF#@#2#@#+#@#50081.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','INC','2','+','300000.00','1','40317_1373','p','2013-03-08',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-03-07' 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-03-07#@#al02#@#INC#@#2#@#+#@#300000.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','DEC','2','+','300000.00','1','40317_1373','p','2013-03-08',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-03-07' 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-03-07#@#al02#@#DEC#@#2#@#+#@#300000.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','BF','2','+','35.04','1','40317_1373','p','2013-03-08',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-03-07' 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-03-07#@#al02#@#BF#@#2#@#+#@#35.04#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1253' and close_date = '2013-03-08' 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 ( #1253#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57036#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1253' and close_date = '2013-03-08' 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 ( #1253#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#12333.08#@#1#@#57036#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1253' and close_date = '2013-03-08' 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 ( #1253#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#124703.42#@#1#@#57036#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1253' and close_date = '2013-03-08' 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 ( #1253#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#57036#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1253' and close_date = '2013-03-08' 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 ( #1253#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#57036#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1253' and close_date = '2013-03-08' 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 ( #1253#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#351.58#@#1#@#57036#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','40317_1373','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','36518.00','1','40317_1373','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#36518.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','13563.00','1','40317_1373','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#13563.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','40317_1373','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','40317_1373','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','35.04','1','40317_1373','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#35.04#@#1#@#40317_1373#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' 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 ( #1226#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' 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 ( #1226#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#13253.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' 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 ( #1226#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#32226.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' 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 ( #1226#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' 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 ( #1226#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' 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 ( #1226#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' and close_acc_book = 'al10' 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 ( #1226#@#2013-03-08#@#al10#@#INC#@#1#@#+#@#0.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' and close_acc_book = 'al10' 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 ( #1226#@#2013-03-08#@#al10#@#DEC#@#1#@#+#@#0.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-03-08' and close_acc_book = 'al10' 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 ( #1226#@#2013-03-08#@#al10#@#BF#@#1#@#+#@#0.00#@#1#@#40192_1226#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','34019.75','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#34019.75#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','149716.35','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#149716.35#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','INC','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','DEC','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','BF','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','INC','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','DEC','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','BF','1','+','0.00','1','55732_1250','p','2013-03-08',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-03-08' 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-03-08#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al01','INC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al01','DEC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al01','BF','2','+','9717.55','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al01#@#BF#@#2#@#+#@#9717.55#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al02','INC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al02','DEC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al02','BF','2','+','204.69','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al02#@#BF#@#2#@#+#@#204.69#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al05','INC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al05','DEC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al05','BF','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al05#@#BF#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al06','INC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al06#@#INC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al06','DEC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al06#@#DEC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al06','BF','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al06#@#BF#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al09','INC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al09#@#INC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al09','DEC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al09#@#DEC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al09','BF','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al09#@#BF#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al12','INC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al12#@#INC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al12','DEC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al12#@#DEC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al12','BF','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al12#@#BF#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al14','INC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al14#@#INC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al14','DEC','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al14#@#DEC#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-05','al14','BF','2','+','0.00','1','30844','p','2013-03-08',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-02-05' 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 ( #81#@#2013-02-05#@#al14#@#BF#@#2#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-08' 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 ( #1389#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#20000.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-08' 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 ( #1389#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#9449.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-08' 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 ( #1389#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#12881.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-08' 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 ( #1389#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#100000.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-08' 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 ( #1389#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#20000.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-03-08' 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 ( #1389#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#82000.00#@#1#@#48549_1389#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al01','INC','3','+','200000.00','1','56066_1261','p','2013-03-08',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-03-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '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_account (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-03-01#@#al01#@#INC#@#3#@#+#@#200000.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al01','DEC','3','+','193439.00','1','56066_1261','p','2013-03-08',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-03-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '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_account (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-03-01#@#al01#@#DEC#@#3#@#+#@#193439.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al01','BF','3','+','14185.00','1','56066_1261','p','2013-03-08',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-03-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '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_account (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-03-01#@#al01#@#BF#@#3#@#+#@#14185.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al02','INC','3','+','200000.00','1','56066_1261','p','2013-03-08',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-03-01' and close_acc_book = 'al02' and category = 'INC' and seq_category = '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_account (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-03-01#@#al02#@#INC#@#3#@#+#@#200000.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al02','DEC','3','+','200000.00','1','56066_1261','p','2013-03-08',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-03-01' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '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_account (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-03-01#@#al02#@#DEC#@#3#@#+#@#200000.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-01','al02','BF','3','+','322.51','1','56066_1261','p','2013-03-08',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-03-01' and close_acc_book = 'al02' and category = 'BF' and seq_category = '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_account (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-03-01#@#al02#@#BF#@#3#@#+#@#322.51#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','56066_1261','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','6240.00','1','56066_1261','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#6240.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','9457.00','1','56066_1261','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#9457.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','56066_1261','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','56066_1261','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','322.51','1','56066_1261','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#322.51#@#1#@#56066_1261#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','57341_1263','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57341_1263#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','5286.00','1','57341_1263','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#5286.00#@#1#@#57341_1263#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','4032.00','1','57341_1263','p','2013-03-08',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#4032.00#@#1#@#57341_1263#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','57341_1263','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#57341_1263#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','57341_1263','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#57341_1263#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','0.00','1','57341_1263','p','2013-03-08',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#57341_1263#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1386' and close_date = '2013-03-08' 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 ( #1386#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55740_1386#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1386' and close_date = '2013-03-08' 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 ( #1386#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#55740_1386#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1386' and close_date = '2013-03-08' 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 ( #1386#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#501.00#@#1#@#55740_1386#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1386' and close_date = '2013-03-08' 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 ( #1386#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#100000.00#@#1#@#55740_1386#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1386' and close_date = '2013-03-08' 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 ( #1386#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#100000.00#@#1#@#55740_1386#@#p#@#2013-03-08#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1386' and close_date = '2013-03-08' 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 ( #1386#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#55740_1386#@#p#@#2013-03-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','INC','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','DEC','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al01','BF','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','INC','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','DEC','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al02','BF','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al14','INC','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al14#@#INC#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al14','DEC','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al14#@#DEC#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-07','al14','BF','2','+','0.00','1','48469_170','p','2013-03-09',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-03-07' 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 ( #170#@#2013-03-07#@#al14#@#BF#@#2#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al14','INC','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al14','DEC','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al14','BF','1','+','0.00','1','48469_170','p','2013-03-09',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-03-08' 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-03-08#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#48469_170#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1245','2013-03-07','al01','INC','2','+','150000.00','1','56792_1245','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al01#@#INC#@#2#@#+#@#150000.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1245','2013-03-07','al01','DEC','2','+','100591.00','1','56792_1245','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al01#@#DEC#@#2#@#+#@#100591.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1245','2013-03-07','al01','BF','2','+','66535.00','1','56792_1245','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al01#@#BF#@#2#@#+#@#66535.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1245','2013-03-07','al02','INC','2','+','150000.00','1','56792_1245','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al02#@#INC#@#2#@#+#@#150000.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1245','2013-03-07','al02','DEC','2','+','150000.00','1','56792_1245','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al02#@#DEC#@#2#@#+#@#150000.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al09#@#INC#@#2#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al09#@#DEC#@#2#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al09#@#BF#@#2#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al14#@#INC#@#2#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al14#@#DEC#@#2#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-07' 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 ( #1245#@#2013-03-07#@#al14#@#BF#@#2#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1245','2013-03-08','al01','DEC','1','+','30641.00','1','56792_1245','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#30641.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1245','2013-03-08','al01','BF','1','+','35894.00','1','56792_1245','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#35894.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2013-03-08' 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 ( #1245#@#2013-03-08#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#56792_1245#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al01#@#BF#@#1#@#+#@#321.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al02#@#BF#@#1#@#+#@#195.95#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' and close_acc_book = 'al04' 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 ( #59#@#2013-03-07#@#al04#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' and close_acc_book = 'al04' 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 ( #59#@#2013-03-07#@#al04#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' and close_acc_book = 'al04' 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 ( #59#@#2013-03-07#@#al04#@#BF#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-07' 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 ( #59#@#2013-03-07#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1165','2013-03-01','al01','INC','8','+','0.00','1','36097_SRC','p','2013-03-09',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1165','2013-03-01','al01','DEC','8','+','0.00','1','36097_SRC','p','2013-03-09',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1165','2013-03-01','al01','BF','8','+','0.00','1','36097_SRC','p','2013-03-09',now());

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

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-07' 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 ( #1165#@#2013-03-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-07' 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 ( #1165#@#2013-03-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-07' 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 ( #1165#@#2013-03-07#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-07' 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 ( #1165#@#2013-03-07#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-07' 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 ( #1165#@#2013-03-07#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-07' 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 ( #1165#@#2013-03-07#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-08' 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 ( #1165#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-08' 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 ( #1165#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-08' 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 ( #1165#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-08' 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 ( #1165#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-08' 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 ( #1165#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-03-08' 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 ( #1165#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1391','2013-03-07','al01','INC','1','+','50000.00','1','50235_1391','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-07' 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 ( #1391#@#2013-03-07#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1391','2013-03-07','al01','DEC','1','+','3690.00','1','50235_1391','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-07' 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 ( #1391#@#2013-03-07#@#al01#@#DEC#@#1#@#+#@#3690.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1391','2013-03-07','al01','BF','1','+','46570.00','1','50235_1391','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-07' 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 ( #1391#@#2013-03-07#@#al01#@#BF#@#1#@#+#@#46570.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1391','2013-03-07','al02','INC','1','+','50000.00','1','50235_1391','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-07' 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 ( #1391#@#2013-03-07#@#al02#@#INC#@#1#@#+#@#50000.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1391','2013-03-07','al02','DEC','1','+','50000.00','1','50235_1391','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-07' 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 ( #1391#@#2013-03-07#@#al02#@#DEC#@#1#@#+#@#50000.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-07' 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 ( #1391#@#2013-03-07#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#321.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#195.95#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' and close_acc_book = 'al04' 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 ( #59#@#2013-03-08#@#al04#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' and close_acc_book = 'al04' 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 ( #59#@#2013-03-08#@#al04#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' and close_acc_book = 'al04' 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 ( #59#@#2013-03-08#@#al04#@#BF#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '59','2013-03-08','al01','BF','2','+','321.00','1','34832','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al01#@#BF#@#2#@#+#@#321.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '59','2013-03-08','al02','BF','2','+','195.95','1','34832','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al02#@#BF#@#2#@#+#@#195.95#@#1#@#34832#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '59','2013-03-08','al04','INC','2','+','0.00','1','34832','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' and close_acc_book = 'al04' 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 ( #59#@#2013-03-08#@#al04#@#INC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '59','2013-03-08','al04','DEC','2','+','0.00','1','34832','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' and close_acc_book = 'al04' 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 ( #59#@#2013-03-08#@#al04#@#DEC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '59','2013-03-08','al04','BF','2','+','0.00','1','34832','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' and close_acc_book = 'al04' 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 ( #59#@#2013-03-08#@#al04#@#BF#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al06#@#INC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al06#@#DEC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al06#@#BF#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al09#@#INC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al09#@#DEC#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '59' and close_date = '2013-03-08' 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 ( #59#@#2013-03-08#@#al09#@#BF#@#2#@#+#@#0.00#@#1#@#34832#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','85.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#85.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','301.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#301.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','3055.58','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#3055.58#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','INC','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','DEC','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','BF','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','INC','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','DEC','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','BF','1','+','0.00','1','46986_1082','p','2013-03-09',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-03-08' 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-03-08#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#46986_1082#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-08' 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 ( #1391#@#2013-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-08' 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 ( #1391#@#2013-03-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1391','2013-03-08','al01','BF','1','+','46570.00','1','50235_1391','p','2013-03-09',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-08' 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 ( #1391#@#2013-03-08#@#al01#@#BF#@#1#@#+#@#46570.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-08' 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 ( #1391#@#2013-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-08' 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 ( #1391#@#2013-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1391' and close_date = '2013-03-08' 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 ( #1391#@#2013-03-08#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50235_1391#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','50582_1256','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','60920.00','1','50582_1256','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#60920.00#@#1#@#50582_1256#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','239400.85','1','50582_1256','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#239400.85#@#1#@#50582_1256#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','50582_1256','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','50582_1256','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','722.47','1','50582_1256','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#722.47#@#1#@#50582_1256#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','INC','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','DEC','1','+','83280.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#DEC#@#1#@#+#@#83280.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al01','BF','1','+','70316.08','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al01#@#BF#@#1#@#+#@#70316.08#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','INC','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','DEC','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al02','BF','1','+','4.69','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al02#@#BF#@#1#@#+#@#4.69#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','INC','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','DEC','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al05','BF','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','INC','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','DEC','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-03-08','al06','BF','1','+','0.00','1','30844','p','2013-03-09',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-03-08' 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-03-08#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#30844#@#p#@#2013-03-09#@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'

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 ( '1256','2017-06-09','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',now());

select * from al_com_close_arrear WHERE branch_id = '1256' and close_date = '2017-06-09' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1256' and close_date = '2017-06-09' 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 = '1256' and close_date = '2017-06-09' 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 ( '1256','2017-06-10','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-10' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-10#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-11','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-11' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-11#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-12','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-12#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-13','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-13' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-13#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-14','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-14#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-15','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-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 ( #1256#@#2017-06-15#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-16','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-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 ( #1256#@#2017-06-16#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-17','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-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-06-17#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-18','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-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-06-18#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-19','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-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-06-19#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-20','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-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-06-20#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-21','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-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-06-21#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-22','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-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-06-22#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','1','133932.00','0.00','0.00','1','63552_bms','p','2017-06-24',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-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-23#@#1#@#133932.00#@#0.00#@#0.00#@#1#@#63552_bms#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-15','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-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 ( #1643#@#2017-06-15#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-16','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-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 ( #1643#@#2017-06-16#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-17','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-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 ( #1643#@#2017-06-17#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-18','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-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 ( #1643#@#2017-06-18#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-19','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-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 ( #1643#@#2017-06-19#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-20','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-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 ( #1643#@#2017-06-20#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-21','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-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 ( #1643#@#2017-06-21#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-22','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-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 ( #1643#@#2017-06-22#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1643','2017-06-23','1','-10463.00','0.00','-19630.39','1','64047_1643','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1643' and close_date = '2017-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1643#@#2017-06-23#@#1#@#-10463.00#@#0.00#@#-19630.39#@#1#@#64047_1643#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-22','2','3039.00','0.00','0.00','1','60118_1668','p','2017-06-24',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-06-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 ( #1668#@#2017-06-22#@#2#@#3039.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','1','8364.00','0.00','0.00','1','60118_1668','p','2017-06-24',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-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-23#@#1#@#8364.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','1','168221809.40','0.00','0.00','1','47960_1174','p','2017-06-24',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-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-23#@#1#@#168221809.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','3','52728764.00','209568.20','-2267.00','1','63916_1162','p','2017-06-24',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-06-23' 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-06-23#@#3#@#52728764.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','52720460.00','209568.20','-2267.00','1','63916_1162','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#52720460.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','52720460.00','209568.20','-2267.00','1','63916_1162','p','2017-06-24',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-06-24' 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-06-24#@#2#@#52720460.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1554','2017-06-23','2','13784100.04','0.00','0.00','1','46986_1554','p','2017-06-24',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1554' and close_date = '2017-06-23' 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 ( #1554#@#2017-06-23#@#2#@#13784100.04#@#0.00#@#0.00#@#1#@#46986_1554#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','98675731.00','261684.20','0.00','1','49692_1115','p','2017-06-24',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-06-23' 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-06-23#@#2#@#98675731.00#@#261684.20#@#0.00#@#1#@#49692_1115#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','1786250.00','0.00','0.00','1','64345_1642','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#1786250.00#@#0.00#@#0.00#@#1#@#64345_1642#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','4028630.86','170130.00','0.00','1','63771_1547','p','2017-06-24',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-06-23' 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-06-23#@#2#@#4028630.86#@#170130.00#@#0.00#@#1#@#63771_1547#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','4043919.86','170130.00','0.00','1','63771_1547','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#4043919.86#@#170130.00#@#0.00#@#1#@#63771_1547#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','98745462.00','261684.20','0.00','1','49692_1115','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#98745462.00#@#261684.20#@#0.00#@#1#@#49692_1115#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','128469912.91','1544544.24','0.00','1','47875_1351','p','2017-06-24',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-06-23' 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-06-23#@#2#@#128469912.91#@#1544544.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','940410.00','0.00','0.00','1','47875_1647','p','2017-06-24',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-06-23' 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-06-23#@#2#@#940410.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','1','77034454.00','334402.40','0.00','1','60992_1229','p','2017-06-24',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-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-23#@#1#@#77034454.00#@#334402.40#@#0.00#@#1#@#60992_1229#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','904877.00','0.00','0.00','1','47875_1647','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#904877.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','128599470.91','1544544.24','0.00','1','47875_1351','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#128599470.91#@#1544544.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','172334.00','3134.70','3620.75','1','64443_1656','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#172334.00#@#3134.70#@#3620.75#@#1#@#64443_1656#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','18452007.00','1128633.80','814521.08','1','33370_1461','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#18452007.00#@#1128633.80#@#814521.08#@#1#@#33370_1461#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','25971283.00','135174.90','-244520.84','1','63957_1523','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#25971283.00#@#135174.90#@#-244520.84#@#1#@#63957_1523#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','-6096.00','0.00','0.00','1','64047_1651','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#-6096.00#@#0.00#@#0.00#@#1#@#64047_1651#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','636925.00','0.00','0.00','1','44345_1657','p','2017-06-24',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-06-23' 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-06-23#@#2#@#636925.00#@#0.00#@#0.00#@#1#@#44345_1657#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','717295.00','0.00','0.00','1','44345_1657','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#717295.00#@#0.00#@#0.00#@#1#@#44345_1657#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','12991740.00','29723.10','0.00','1','63919_10','p','2017-06-24',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-06-23' 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-06-23#@#2#@#12991740.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','717295.00','0.00','0.00','1','44345_1657','p','2017-06-24',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-06-24' 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-06-24#@#2#@#717295.00#@#0.00#@#0.00#@#1#@#44345_1657#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','40703340.00','0.00','0.00','1','50582_1467','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#40703340.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','104030964.00','547792.60','2364.30','1','51111_1058','p','2017-06-24',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-06-24' 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-06-24#@#2#@#104030964.00#@#547792.60#@#2364.30#@#1#@#51111_1058#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','175488.00','0.00','0.00','1','50582_1256','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#175488.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','305.00','0.00','0.00','1','60000_1666','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#305.00#@#0.00#@#0.00#@#1#@#60000_1666#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','15489667.00','47799.00','0.00','1','56066_1476','p','2017-06-24',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#15489667.00#@#47799.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-06-24#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','53402521.00','0.00','0.00','1','36097_SBP','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#53402521.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','28714830.00','208784.85','0.00','1','50232_177','p','2017-06-25',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-06-23' 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-06-23#@#2#@#28714830.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','28753561.00','208784.85','0.00','1','50232_177','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#28753561.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-06-23','2','33401521.15','16427.20','0.00','1','47937_1438','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2017-06-23' 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 ( #1438#@#2017-06-23#@#2#@#33401521.15#@#16427.20#@#0.00#@#1#@#47937_1438#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-06-24','1','33691177.15','16427.20','0.00','1','47937_1438','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2017-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1438#@#2017-06-24#@#1#@#33691177.15#@#16427.20#@#0.00#@#1#@#47937_1438#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','7025298.00','0.00','0.00','1','62364_1363','p','2017-06-25',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-06-23' 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-06-23#@#2#@#7025298.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','7055613.00','0.00','0.00','1','62364_1363','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#7055613.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','77234635.00','148690.13','-6171.21','1','64311_1346','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#77234635.00#@#148690.13#@#-6171.21#@#1#@#64311_1346#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','4215419.77','544515.50','0.00','1','36211_1659','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#4215419.77#@#544515.50#@#0.00#@#1#@#36211_1659#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-06-23','2','48302128.15','10303.60','0.00','1','63765_1415','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-06-23' 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 ( #1415#@#2017-06-23#@#2#@#48302128.15#@#10303.60#@#0.00#@#1#@#63765_1415#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-06-24','1','48356089.15','10303.60','0.00','1','63765_1415','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-06-24#@#1#@#48356089.15#@#10303.60#@#0.00#@#1#@#63765_1415#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','128729.00','0.00','0.00','1','64311_1635','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#128729.00#@#0.00#@#0.00#@#1#@#64311_1635#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','66508298.00','626845.80','8023.20','1','63108_1054','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#66508298.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','77048532.00','0.00','0.00','1','40192_1492','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#77048532.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','771732.00','0.00','0.00','1','60303_1179','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#771732.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','226664529.00','580249.50','68009.40','1','61045_452','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#226664529.00#@#580249.50#@#68009.40#@#1#@#61045_452#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','118214508.00','106198.70','-17918.04','1','64030_1232','p','2017-06-25',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-06-23' 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-06-23#@#2#@#118214508.00#@#106198.70#@#-17918.04#@#1#@#64030_1232#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','118272018.00','106198.70','-17918.04','1','64030_1232','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#118272018.00#@#106198.70#@#-17918.04#@#1#@#64030_1232#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-06-24','1','16193777.53','0.00','0.00','1','34300_1425','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2017-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-06-24#@#1#@#16193777.53#@#0.00#@#0.00#@#1#@#34300_1425#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','201668204.00','0.00','0.00','1','60436_ps','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#201668204.00#@#0.00#@#0.00#@#1#@#60436_ps#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1423','2017-06-22','1','74676837.00','0.00','0.00','1','44345_1423','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2017-06-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 ( #1423#@#2017-06-22#@#1#@#74676837.00#@#0.00#@#0.00#@#1#@#44345_1423#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1423','2017-06-23','1','74437223.00','0.00','0.00','1','44345_1423','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2017-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1423#@#2017-06-23#@#1#@#74437223.00#@#0.00#@#0.00#@#1#@#44345_1423#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1423','2017-06-24','1','74437223.00','0.00','0.00','1','44345_1423','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2017-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1423#@#2017-06-24#@#1#@#74437223.00#@#0.00#@#0.00#@#1#@#44345_1423#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','190584.00','0.00','-3526.19','1','63682_1650','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#190584.00#@#0.00#@#-3526.19#@#1#@#63682_1650#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','11295593.00','0.00','0.00','1','54110_304','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#11295593.00#@#0.00#@#0.00#@#1#@#54110_304#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','0.00','0.00','0.00','1','60118_1668','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#0.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','69164551.00','334321.70','0.00','1','34731_1216','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#69164551.00#@#334321.70#@#0.00#@#1#@#34731_1216#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','3836086.00','4299.00','0.00','1','63887_1439','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#3836086.00#@#4299.00#@#0.00#@#1#@#63887_1439#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','109978082.00','387796.80','1351.00','1','60118_476','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#109978082.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','2267839.00','0.00','0.00','1','57537_1473','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#2267839.00#@#0.00#@#0.00#@#1#@#57537_1473#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','31670833.00','308699.65','52772.25','1','63663_1227','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#31670833.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','77069050.00','334402.40','0.00','1','60992_1229','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#77069050.00#@#334402.40#@#0.00#@#1#@#60992_1229#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','5071.00','5124.60','0.00','1','64058_1652','p','2017-06-25',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-06-23' 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-06-23#@#2#@#5071.00#@#5124.60#@#0.00#@#1#@#64058_1652#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','5071.00','5124.60','0.00','1','64058_1652','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#5071.00#@#5124.60#@#0.00#@#1#@#64058_1652#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','932069.00','0.00','0.00','1','59346_1637','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#932069.00#@#0.00#@#0.00#@#1#@#59346_1637#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','5071.00','5124.60','0.00','1','64058_1652','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#5071.00#@#5124.60#@#0.00#@#1#@#64058_1652#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','24005191.00','12190.80','0.00','1','34016_1477','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#24005191.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','147272351.00','89222.40','0.00','1','50180_1155','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#147272351.00#@#89222.40#@#0.00#@#1#@#50180_1155#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1554','2017-06-24','1','13963528.04','0.00','0.00','1','46986_1554','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1554' and close_date = '2017-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1554#@#2017-06-24#@#1#@#13963528.04#@#0.00#@#0.00#@#1#@#46986_1554#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','2736007.00','0.00','0.00','1','61045_1187','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#2736007.00#@#0.00#@#0.00#@#1#@#61045_1187#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','227076067.00','147501.10','-8965.10','1','56912_215','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#227076067.00#@#147501.10#@#-8965.10#@#1#@#56912_215#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','92184975.00','632318.90','0.00','1','60000_1099','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#92184975.00#@#632318.90#@#0.00#@#1#@#60000_1099#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-06-24','1','33994.00','0.00','0.00','1','60000_1639','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1639' and close_date = '2017-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-06-24#@#1#@#33994.00#@#0.00#@#0.00#@#1#@#60000_1639#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','1701379.00','0.00','0.00','1','32966_1658','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#1701379.00#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','23749109.59','0.00','0.00','1','31997_1604','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#23749109.59#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','158428659.00','26496.40','0.00','1','34731_PEN','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#158428659.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','21611257.00','106331.20','0.00','1','60217_1478','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#21611257.00#@#106331.20#@#0.00#@#1#@#60217_1478#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','13113296.00','29723.10','0.00','1','63919_10','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#13113296.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','168359814.40','0.00','0.00','1','47960_1174','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#168359814.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','305.00','0.00','0.00','1','60000_1666','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#305.00#@#0.00#@#0.00#@#1#@#60000_1666#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','25982824.00','135174.90','-244520.84','1','42960_1523','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#25982824.00#@#135174.90#@#-244520.84#@#1#@#42960_1523#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','3','104080009.00','547792.60','2364.30','1','51111_1058','p','2017-06-25',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-06-24' 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 ( #1058#@#2017-06-24#@#3#@#104080009.00#@#547792.60#@#2364.30#@#1#@#51111_1058#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','104209819.00','547792.60','2364.30','1','51111_1058','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#104209819.00#@#547792.60#@#2364.30#@#1#@#51111_1058#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','128748386.91','1544544.24','0.00','1','47875_1351','p','2017-06-25',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-06-24' 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-06-24#@#2#@#128748386.91#@#1544544.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','128919948.91','1544544.24','0.00','1','47875_1351','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#128919948.91#@#1544544.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','934292.00','0.00','0.00','1','47875_1647','p','2017-06-25',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-06-24' 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-06-24#@#2#@#934292.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','971697.00','0.00','0.00','1','47875_1647','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#971697.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1537','2017-06-23','1','41438364.00','120291.40','0.00','1','34731_PEN_GWC','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1537' and close_date = '2017-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1537#@#2017-06-23#@#1#@#41438364.00#@#120291.40#@#0.00#@#1#@#34731_PEN_GWC#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1537','2017-06-24','1','41477270.00','120291.40','0.00','1','34731_PEN_GWC','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1537' and close_date = '2017-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1537#@#2017-06-24#@#1#@#41477270.00#@#120291.40#@#0.00#@#1#@#34731_PEN_GWC#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1537','2017-06-25','1','41477270.00','120291.40','0.00','1','34731_PEN_GWC','p','2017-06-25',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1537' and close_date = '2017-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1537#@#2017-06-25#@#1#@#41477270.00#@#120291.40#@#0.00#@#1#@#34731_PEN_GWC#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','4333800.00','0.00','0.00','1','38781_1493','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#4333800.00#@#0.00#@#0.00#@#1#@#38781_1493#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','3','52765222.00','209568.20','-2267.00','1','63916_1162','p','2017-06-25',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-06-24' 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-06-24#@#3#@#52765222.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','52778902.00','209568.20','-2267.00','1','63916_1162','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#52778902.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','52778902.00','209568.20','-2267.00','1','63916_1162','p','2017-06-25',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-06-25' 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-06-25#@#2#@#52778902.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','15560307.00','47799.00','0.00','1','56066_1476','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#15560307.00#@#47799.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','597666.00','0.00','0.00','1','63484_1660','p','2017-06-25',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#597666.00#@#0.00#@#0.00#@#1#@#63484_1660#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','172334.00','3134.70','3953.50','1','64443_1656','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#172334.00#@#3134.70#@#3953.50#@#1#@#64443_1656#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','785694.00','0.00','0.00','1','60303_1179','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#785694.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','40795145.00','0.00','0.00','1','50582_1467','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#40795145.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','66531606.00','626845.80','8023.20','1','60303_1054','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#66531606.00#@#626845.80#@#8023.20#@#1#@#60303_1054#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','175488.00','0.00','0.00','1','50582_1256','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#175488.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','18454471.00','1128633.80','814521.08','1','33370_1461','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#18454471.00#@#1128633.80#@#814521.08#@#1#@#33370_1461#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','98850331.00','261684.20','0.00','1','49692_1115','p','2017-06-25',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-06-24' 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-06-24#@#2#@#98850331.00#@#261684.20#@#0.00#@#1#@#49692_1115#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','99140067.00','261684.20','0.00','1','49692_1115','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#99140067.00#@#261684.20#@#0.00#@#1#@#49692_1115#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','13250539.00','29723.10','0.00','1','63919_10','p','2017-06-25',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-06-24' 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-06-24#@#2#@#13250539.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','13346868.00','29723.10','0.00','1','63919_10','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#13346868.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','109915078.00','387796.80','1351.00','1','60118_476','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#109915078.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','0.00','0.00','0.00','1','60118_1668','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#0.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','24082207.00','12190.80','0.00','1','34016_1477','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#24082207.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','194059.00','0.00','-3526.19','1','63682_1650','p','2017-06-25',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#194059.00#@#0.00#@#-3526.19#@#1#@#63682_1650#@#p#@#2017-06-25#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-06-24','2','33706926.15','16427.20','0.00','1','47937_1438','p','2017-06-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2017-06-24' 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 ( #1438#@#2017-06-24#@#2#@#33706926.15#@#16427.20#@#0.00#@#1#@#47937_1438#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-06-25','1','33889254.15','16427.20','0.00','1','47937_1438','p','2017-06-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2017-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1438#@#2017-06-25#@#1#@#33889254.15#@#16427.20#@#0.00#@#1#@#47937_1438#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','53435493.00','0.00','0.00','1','36097_SBP','p','2017-06-26',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-06-24' 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-06-24#@#2#@#53435493.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','53705206.00','0.00','0.00','1','36097_SBP','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#53705206.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','28776315.00','208784.85','0.00','1','50232_177','p','2017-06-26',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-06-24' 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-06-24#@#2#@#28776315.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','28867197.00','208784.85','0.00','1','50232_177','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#28867197.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','7378357.00','0.00','0.00','1','62364_1363','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#7378357.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','5457788.00','46857.20','-340480.73','1','56645_1450','p','2017-06-26',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#5457788.00#@#46857.20#@#-340480.73#@#1#@#56645_1450#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','5457788.00','46857.20','-340480.73','1','56645_1450','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#5457788.00#@#46857.20#@#-340480.73#@#1#@#56645_1450#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','69164915.00','334321.70','0.00','1','34731_1216','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#69164915.00#@#334321.70#@#0.00#@#1#@#34731_1216#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','118407010.00','106198.70','-17918.04','1','60436_1232','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#118407010.00#@#106198.70#@#-17918.04#@#1#@#60436_1232#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','201778768.00','0.00','0.00','1','60436_ps','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#201778768.00#@#0.00#@#0.00#@#1#@#60436_ps#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-06-25','1','16270571.53','0.00','0.00','1','56038_1425','p','2017-06-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2017-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-06-25#@#1#@#16270571.53#@#0.00#@#0.00#@#1#@#56038_1425#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','77414465.00','148690.13','-6171.21','1','64311_1346','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#77414465.00#@#148690.13#@#-6171.21#@#1#@#64311_1346#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','128729.00','0.00','0.00','1','64311_1635','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#128729.00#@#0.00#@#0.00#@#1#@#64311_1635#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','158620359.00','26496.40','0.00','1','34731_PEN','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#158620359.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','77240676.00','0.00','0.00','1','56714_1492','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#77240676.00#@#0.00#@#0.00#@#1#@#56714_1492#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','799942.00','0.00','0.00','1','60303_1179','p','2017-06-26',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-06-25' 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 ( #1179#@#2017-06-25#@#2#@#799942.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','48248.00','0.00','0.00','1','36097_SBP_CHC','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#48248.00#@#0.00#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','21731858.00','106331.20','0.00','1','60217_1478','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#21731858.00#@#106331.20#@#0.00#@#1#@#60217_1478#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','226622363.00','580249.50','68009.40','1','61045_452','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#226622363.00#@#580249.50#@#68009.40#@#1#@#61045_452#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','2736007.00','0.00','0.00','1','61045_1187','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#2736007.00#@#0.00#@#0.00#@#1#@#61045_1187#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','77126559.00','334402.40','0.00','1','60992_1229','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#77126559.00#@#334402.40#@#0.00#@#1#@#60992_1229#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','3204.00','0.00','0.00','1','64021_1640','p','2017-06-26',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#3204.00#@#0.00#@#0.00#@#1#@#64021_1640#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','3204.00','0.00','0.00','1','64021_1640','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#3204.00#@#0.00#@#0.00#@#1#@#64021_1640#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','147430794.00','89222.40','0.00','1','50180_1155','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#147430794.00#@#89222.40#@#0.00#@#1#@#50180_1155#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','2','445417.00','0.00','-14208.37','1','47960_1641','p','2017-06-26',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-06-23' 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-06-23#@#2#@#445417.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','445417.00','0.00','-14208.37','1','47960_1641','p','2017-06-26',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#445417.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','1833668.00','0.00','0.00','1','64345_1642','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#1833668.00#@#0.00#@#0.00#@#1#@#64345_1642#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','92299204.00','632318.90','0.00','1','61273_1099','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#92299204.00#@#632318.90#@#0.00#@#1#@#61273_1099#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','445417.00','0.00','-14208.37','1','47960_1641','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#445417.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','2271703.00','0.00','0.00','1','57537_1473','p','2017-06-26',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-06-24' 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 ( #1473#@#2017-06-24#@#2#@#2271703.00#@#0.00#@#0.00#@#1#@#57537_1473#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','2271703.00','0.00','0.00','1','57537_1473','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#2271703.00#@#0.00#@#0.00#@#1#@#57537_1473#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','31689420.00','308699.65','52772.25','1','63663_1227','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#31689420.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','4526791.00','0.00','0.00','1','38781_1493','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#4526791.00#@#0.00#@#0.00#@#1#@#38781_1493#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-06-25','1','40031.00','0.00','0.00','1','61273_1639','p','2017-06-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1639' and close_date = '2017-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-06-25#@#1#@#40031.00#@#0.00#@#0.00#@#1#@#61273_1639#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','227076067.00','147501.10','-8965.10','1','56912_215','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#227076067.00#@#147501.10#@#-8965.10#@#1#@#56912_215#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','979812.00','0.00','0.00','1','56912_1637','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#979812.00#@#0.00#@#0.00#@#1#@#56912_1637#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1554','2017-06-25','1','14150911.04','0.00','0.00','1','46986_1554','p','2017-06-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1554' and close_date = '2017-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1554#@#2017-06-25#@#1#@#14150911.04#@#0.00#@#0.00#@#1#@#46986_1554#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','2','4051590.86','171203.00','0.00','1','63771_1547','p','2017-06-26',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-06-24' 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-06-24#@#2#@#4051590.86#@#171203.00#@#0.00#@#1#@#63771_1547#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','4071577.86','171203.00','0.00','1','63771_1547','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#4071577.86#@#171203.00#@#0.00#@#1#@#63771_1547#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','11348604.00','0.00','0.00','1','54110_304','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#11348604.00#@#0.00#@#0.00#@#1#@#54110_304#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','23819205.59','0.00','0.00','1','31997_1604','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#23819205.59#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','13413.00','5124.60','0.00','1','64058_1652','p','2017-06-26',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-06-25' 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-06-25#@#2#@#13413.00#@#5124.60#@#0.00#@#1#@#64058_1652#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','1832786.00','0.00','0.00','1','32966_1658','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#1832786.00#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','4327873.77','563121.50','0.00','1','36211_1659','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#4327873.77#@#563121.50#@#0.00#@#1#@#36211_1659#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','3','802954.00','0.00','0.00','1','44345_1657','p','2017-06-26',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-06-24' 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 ( #1657#@#2017-06-24#@#3#@#802954.00#@#0.00#@#0.00#@#1#@#44345_1657#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','864145.00','0.00','0.00','1','44345_1657','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#864145.00#@#0.00#@#0.00#@#1#@#44345_1657#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-22','1','190550.00','0.00','33.36','1','bms_center','p','2017-06-26',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-06-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 ( #9999#@#2017-06-22#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','1','190550.00','0.00','33.36','1','bms_center','p','2017-06-26',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-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-23#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','190550.00','0.00','33.36','1','bms_center','p','2017-06-26',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','190550.00','0.00','33.36','1','bms_center','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-22','1','0.00','0.00','0.00','1','bms_center','p','2017-06-26',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-06-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 ( #9998#@#2017-06-22#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','1','0.00','0.00','0.00','1','bms_center','p','2017-06-26',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-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-23#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','0.00','0.00','0.00','1','bms_center','p','2017-06-26',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','0.00','0.00','0.00','1','bms_center','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#0.00#@#0.00#@#0.00#@#1#@#bms_center#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','0.00','0.00','0.00','1','64030_1665','p','2017-06-26',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','0.00','0.00','0.00','1','64030_1665','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','0.00','0.00','0.00','1','64030_1665','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#0.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','3836086.00','4299.00','0.00','1','63887_1439','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#3836086.00#@#4299.00#@#0.00#@#1#@#63887_1439#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','3836086.00','4299.00','0.00','1','','p','2017-06-26',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-06-25' 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 ( #1439#@#2017-06-25#@#2#@#3836086.00#@#4299.00#@#0.00#@#1#@##@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','18387.00','0.00','0.00','1','40245_1645','p','2017-06-26',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#18387.00#@#0.00#@#0.00#@#1#@#40245_1645#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','168639412.40','0.00','0.00','1','47960_1174','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#168639412.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-06-25','1','48437602.15','10303.60','0.00','1','31997_1415','p','2017-06-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-06-25#@#1#@#48437602.15#@#10303.60#@#0.00#@#1#@#31997_1415#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','168639412.40','0.00','0.00','1','47960_1174','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#168639412.40#@#0.00#@#0.00#@#1#@#47960_1174#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','18387.00','0.00','0.00','1','40245_1645','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#18387.00#@#0.00#@#0.00#@#1#@#40245_1645#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','-6096.00','0.00','0.00','1','64047_1651','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#-6096.00#@#0.00#@#0.00#@#1#@#64047_1651#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-16','3','10288963.00','0.00','0.00','1','63484_1605','p','2017-06-26',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-06-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 ( #1605#@#2017-06-16#@#3#@#10288963.00#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-17','2','10435915.00','0.00','0.00','1','63484_1605','p','2017-06-26',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-06-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 ( #1605#@#2017-06-17#@#2#@#10435915.00#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-18','2','10590929.00','0.00','0.00','1','63484_1605','p','2017-06-26',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-06-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-06-18#@#2#@#10590929.00#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-19','2','12730494.00','0.00','0.00','1','63484_1605','p','2017-06-26',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-06-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 ( #1605#@#2017-06-19#@#2#@#12730494.00#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-23','1','9074007.00','0.00','0.00','1','63484_1605','p','2017-06-26',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-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-23#@#1#@#9074007.00#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-24','1','9074007.00','0.00','0.00','1','63484_1605','p','2017-06-26',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-06-24' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-24#@#1#@#9074007.00#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','1','9074007.00','0.00','0.00','1','63484_1605','p','2017-06-26',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-06-25' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-25#@#1#@#9074007.00#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','99153711.00','261684.20','0.00','1','49692_1115','p','2017-06-26',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-06-25' 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-06-25#@#2#@#99153711.00#@#261684.20#@#0.00#@#1#@#49692_1115#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','99248653.00','261684.20','0.00','1','49692_1115','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#99248653.00#@#261684.20#@#0.00#@#1#@#49692_1115#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','92317474.00','632318.90','0.00','1','61273_1099','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#92317474.00#@#632318.90#@#0.00#@#1#@#61273_1099#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','3','52800043.00','209568.20','-2267.00','1','63916_1162','p','2017-06-26',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-06-25' 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-06-25#@#3#@#52800043.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','52807027.00','209568.20','-2267.00','1','63916_1162','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#52807027.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','2','52807027.00','209568.20','-2267.00','1','63916_1162','p','2017-06-26',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-06-26' 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-06-26#@#2#@#52807027.00#@#209568.20#@#-2267.00#@#1#@#63916_1162#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-06-26','1','-3164.00','0.00','0.00','1','61273_1639','p','2017-06-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1639' and close_date = '2017-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-06-26#@#1#@#-3164.00#@#0.00#@#0.00#@#1#@#61273_1639#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','4076606.86','171203.00','0.00','1','63771_1547','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#4076606.86#@#171203.00#@#0.00#@#1#@#63771_1547#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','129028853.91','1544544.24','0.00','1','47875_1351','p','2017-06-26',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-06-25' 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-06-25#@#2#@#129028853.91#@#1544544.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','933718.00','0.00','0.00','1','44345_1657','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#933718.00#@#0.00#@#0.00#@#1#@#44345_1657#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','128322261.91','1544544.24','0.00','1','47875_1351','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#128322261.91#@#1544544.24#@#0.00#@#1#@#47875_1351#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','986933.00','0.00','0.00','1','47875_1647','p','2017-06-26',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-06-25' 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-06-25#@#2#@#986933.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','902665.00','0.00','0.00','1','47875_1647','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#902665.00#@#0.00#@#0.00#@#1#@#47875_1647#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','173100.00','3134.70','4318.75','1','64443_1656','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#173100.00#@#3134.70#@#4318.75#@#1#@#64443_1656#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','-1006.00','0.00','0.00','1','64047_1651','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#-1006.00#@#0.00#@#0.00#@#1#@#64047_1651#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','305.00','0.00','0.00','1','60000_1666','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#305.00#@#0.00#@#0.00#@#1#@#60000_1666#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','104299937.00','547792.60','2364.30','1','51111_1058','p','2017-06-26',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-06-25' 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-06-25#@#2#@#104299937.00#@#547792.60#@#2364.30#@#1#@#51111_1058#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','104424190.00','547792.60','2364.30','1','51111_1058','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#104424190.00#@#547792.60#@#2364.30#@#1#@#51111_1058#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','18454471.00','1128633.80','814521.08','1','33370_1461','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#18454471.00#@#1128633.80#@#814521.08#@#1#@#33370_1461#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','15574307.00','58005.00','0.00','1','56066_1476','p','2017-06-26',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-06-25' 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 ( #1476#@#2017-06-25#@#2#@#15574307.00#@#58005.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','15427622.00','58005.00','0.00','1','56066_1476','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#15427622.00#@#58005.00#@#0.00#@#1#@#56066_1476#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','13474186.00','29723.10','0.00','1','63919_10','p','2017-06-26',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-06-25' 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-06-25#@#2#@#13474186.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','12994844.00','29723.10','0.00','1','63919_10','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#12994844.00#@#29723.10#@#0.00#@#1#@#63919_10#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','40913431.00','0.00','0.00','1','50582_1467','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#40913431.00#@#0.00#@#0.00#@#1#@#50582_1467#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','217353.00','0.00','0.00','1','50582_1256','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#217353.00#@#0.00#@#0.00#@#1#@#50582_1256#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','5532643.00','46857.20','-340480.73','1','56645_1450','p','2017-06-26',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#5532643.00#@#46857.20#@#-340480.73#@#1#@#56645_1450#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','5916.00','0.00','0.00','1','64030_1665','p','2017-06-26',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-06-25' 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-06-25#@#2#@#5916.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','2','0.00','0.00','0.00','1','64030_1665','p','2017-06-26',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-06-26' 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-06-26#@#2#@#0.00#@#0.00#@#0.00#@#1#@#64030_1665#@#p#@#2017-06-26#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','7445684.00','0.00','0.00','1','62364_1363','p','2017-06-27',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-06-25' 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-06-25#@#2#@#7445684.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','4423851.77','563121.50','0.00','1','36211_1659','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#4423851.77#@#563121.50#@#0.00#@#1#@#36211_1659#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','7826434.00','0.00','0.00','1','62364_1363','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#7826434.00#@#0.00#@#0.00#@#1#@#62364_1363#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','53744906.00','0.00','0.00','1','36097_SBP','p','2017-06-27',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-06-25' 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-06-25#@#2#@#53744906.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-06-26','1','34080955.15','16427.20','0.00','1','47937_1438','p','2017-06-27',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2017-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1438#@#2017-06-26#@#1#@#34080955.15#@#16427.20#@#0.00#@#1#@#47937_1438#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','53122995.00','0.00','0.00','1','36097_SBP','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#53122995.00#@#0.00#@#0.00#@#1#@#36097_SBP#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','28829492.00','208784.85','0.00','1','50232_177','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#28829492.00#@#208784.85#@#0.00#@#1#@#50232_177#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-06-26','1','16398846.53','0.00','0.00','1','34300_1425','p','2017-06-27',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2017-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-06-26#@#1#@#16398846.53#@#0.00#@#0.00#@#1#@#34300_1425#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','201979345.00','0.00','0.00','1','60436_ps','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#201979345.00#@#0.00#@#0.00#@#1#@#60436_ps#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','118456520.00','106198.70','-17918.04','1','64030_1232','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#118456520.00#@#106198.70#@#-17918.04#@#1#@#64030_1232#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-06-26','2','34088621.15','16427.20','0.00','1','47937_1438','p','2017-06-27',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2017-06-26' 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 ( #1438#@#2017-06-26#@#2#@#34088621.15#@#16427.20#@#0.00#@#1#@#47937_1438#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','77180060.00','148690.13','-6171.21','1','64354_1346','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#77180060.00#@#148690.13#@#-6171.21#@#1#@#64354_1346#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','66546029.00','626845.80','8023.20','1','63108_1054','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#66546029.00#@#626845.80#@#8023.20#@#1#@#63108_1054#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','816322.00','0.00','0.00','1','60303_1179','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#816322.00#@#0.00#@#0.00#@#1#@#60303_1179#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','140144.00','0.00','0.00','1','64354_1635','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#140144.00#@#0.00#@#0.00#@#1#@#64354_1635#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','226610078.00','580249.50','68009.40','1','61045_452','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#226610078.00#@#580249.50#@#68009.40#@#1#@#61045_452#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','2824394.00','0.00','0.00','1','61045_1187','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#2824394.00#@#0.00#@#0.00#@#1#@#61045_1187#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-06-26','1','48490060.15','10303.60','0.00','1','63765_1415','p','2017-06-27',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-06-26#@#1#@#48490060.15#@#10303.60#@#0.00#@#1#@#63765_1415#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','6707.00','0.00','0.00','1','36097_SBP_CHC','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#6707.00#@#0.00#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','11392906.00','0.00','0.00','1','54110_304','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#11392906.00#@#0.00#@#0.00#@#1#@#54110_304#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','202389.00','0.00','-3526.19','1','63682_1650','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#202389.00#@#0.00#@#-3526.19#@#1#@#63682_1650#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','23926077.59','0.00','0.00','1','31997_1604','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#23926077.59#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','24108413.00','12190.80','0.00','1','34016_1477','p','2017-06-27',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-06-25' 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-06-25#@#2#@#24108413.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','23977526.00','12190.80','0.00','1','34016_1477','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#23977526.00#@#12190.80#@#0.00#@#1#@#34016_1477#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','109953693.00','387796.80','1351.00','1','60118_476','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#109953693.00#@#387796.80#@#1351.00#@#1#@#60118_476#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','25982824.00','135174.90','-244520.84','1','63957_1523','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#25982824.00#@#135174.90#@#-244520.84#@#1#@#63957_1523#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','21397481.00','106331.20','0.00','1','60217_1478','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#21397481.00#@#106331.20#@#0.00#@#1#@#60217_1478#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','0.00','0.00','0.00','1','60118_1668','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#0.00#@#0.00#@#0.00#@#1#@#60118_1668#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','77354377.00','0.00','0.00','1','40192_1492','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#77354377.00#@#0.00#@#0.00#@#1#@#40192_1492#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','69168319.00','334321.70','0.00','1','34731_1216','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#69168319.00#@#334321.70#@#0.00#@#1#@#34731_1216#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','158922422.00','26496.40','0.00','1','34731_PEN','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#158922422.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','146976204.00','89222.40','0.00','1','50180_1155','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#146976204.00#@#89222.40#@#0.00#@#1#@#50180_1155#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','31721257.00','308699.65','52772.25','1','63663_1227','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#31721257.00#@#308699.65#@#52772.25#@#1#@#63663_1227#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','4288169.00','0.00','0.00','1','38781_1493','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#4288169.00#@#0.00#@#0.00#@#1#@#38781_1493#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','2','92437407.00','632318.90','0.00','1','61273_1099','p','2017-06-27',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-06-26' 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-06-26#@#2#@#92437407.00#@#632318.90#@#0.00#@#1#@#61273_1099#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','3204.00','0.00','0.00','1','64021_1640','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#3204.00#@#0.00#@#0.00#@#1#@#64021_1640#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','468356.00','0.00','-14208.37','1','47960_1641','p','2017-06-27',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-06-25' 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-06-25#@#2#@#468356.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','227109223.00','147501.10','-8965.10','1','59346','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#227109223.00#@#147501.10#@#-8965.10#@#1#@#59346#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','488936.00','0.00','-14208.37','1','47960_1641','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#488936.00#@#0.00#@#-14208.37#@#1#@#47960_1641#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','1833668.00','0.00','0.00','1','64345_1642','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#1833668.00#@#0.00#@#0.00#@#1#@#64345_1642#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-25','2','2279613.00','0.00','0.00','1','57537_1473','p','2017-06-27',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-06-25' 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 ( #1473#@#2017-06-25#@#2#@#2279613.00#@#0.00#@#0.00#@#1#@#57537_1473#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','3425.00','5124.60','0.00','1','64058_1652','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#3425.00#@#5124.60#@#0.00#@#1#@#64058_1652#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','2279613.00','0.00','0.00','1','57537_1473','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#2279613.00#@#0.00#@#0.00#@#1#@#57537_1473#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','9074007.00','0.00','0.00','1','30840_1605','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#9074007.00#@#0.00#@#0.00#@#1#@#30840_1605#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','190550.00','0.00','33.36','1','bms_center','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#190550.00#@#0.00#@#33.36#@#1#@#bms_center#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-26','1','18387.00','0.00','0.00','1','40245_1645','p','2017-06-27',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-06-26' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-26#@#1#@#18387.00#@#0.00#@#0.00#@#1#@#40245_1645#@#p#@#2017-06-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (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-06-27','1','9074007.00','0.00','0.00','1','63484_1605','p','2017-06-27',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-06-27' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_arrear (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-06-27#@#1#@#9074007.00#@#0.00#@#0.00#@#1#@#63484_1605#@#p#@#2017-06-27#@now());')

#STOP # Total Record = 285
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 ( '1382','2013-10-11','B1-1','1','0','0','0','1','p','34300_1382','2013-10-12',now());

select * from al_com_close_promise WHERE branch_id = '1382' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1382' and close_date = '2013-10-11' and pl_id = 'B1-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 = '1382' and close_date = '2013-10-11' and pl_id = 'B1-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 ( '1382','2013-10-11','B2-1','1','0','0','0','1','p','34300_1382','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1382' and close_date = '2013-10-11' 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 ( #1382#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34300_1382#@#2013-10-12#@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 ( '1382','2013-10-11','B3-1','1','0','0','0','1','p','34300_1382','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1382' and close_date = '2013-10-11' 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 ( #1382#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34300_1382#@#2013-10-12#@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 ( '1382','2013-10-11','B6-1','1','35','0','35','1','p','34300_1382','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1382' and close_date = '2013-10-11' 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 ( #1382#@#2013-10-11#@#B6-1#@#1#@#35#@#0#@#35#@#1#@#p#@#34300_1382#@#2013-10-12#@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 ( '1382','2013-10-11','B7-1','1','1','0','1','1','p','34300_1382','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1382' and close_date = '2013-10-11' 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 ( #1382#@#2013-10-11#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#34300_1382#@#2013-10-12#@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 ( '1428','2013-10-11','B1-1','1','0','0','0','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-11' 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 ( #1428#@#2013-10-11#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1428','2013-10-11','B2-1','1','0','0','0','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-11' 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 ( #1428#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1428','2013-10-11','B3-1','1','0','0','0','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-11' 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 ( #1428#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1428','2013-10-11','B6-1','1','1','0','1','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-11' 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 ( #1428#@#2013-10-11#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1428','2013-10-11','B7-1','1','0','0','0','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-11' 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 ( #1428#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1169','2013-10-11','B1-1','1','0','0','0','1','p','32490_SBL','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-10-11' 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 ( #1169#@#2013-10-11#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-10-12#@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 ( '1169','2013-10-11','B2-1','1','0','0','0','1','p','32490_SBL','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-10-11' 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 ( #1169#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-10-12#@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 ( '1169','2013-10-11','B3-1','1','0','0','0','1','p','32490_SBL','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-10-11' 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 ( #1169#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-10-12#@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 ( '1169','2013-10-11','B6-1','1','300','0','300','1','p','32490_SBL','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-10-11' 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 ( #1169#@#2013-10-11#@#B6-1#@#1#@#300#@#0#@#300#@#1#@#p#@#32490_SBL#@#2013-10-12#@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 ( '1169','2013-10-11','B7-1','1','0','0','0','1','p','32490_SBL','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-10-11' 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 ( #1169#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-10-12#@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 ( '1243','2013-10-11','B1-1','1','0','0','0','1','p','50009_PS','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2013-10-11' 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 ( #1243#@#2013-10-11#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50009_PS#@#2013-10-12#@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 ( '1243','2013-10-11','B2-1','1','0','0','0','1','p','50009_PS','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2013-10-11' 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 ( #1243#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50009_PS#@#2013-10-12#@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 ( '1243','2013-10-11','B3-1','1','0','0','0','1','p','50009_PS','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2013-10-11' 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 ( #1243#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50009_PS#@#2013-10-12#@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 ( '1243','2013-10-11','B6-1','1','141','0','141','1','p','50009_PS','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2013-10-11' 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 ( #1243#@#2013-10-11#@#B6-1#@#1#@#141#@#0#@#141#@#1#@#p#@#50009_PS#@#2013-10-12#@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 ( '1243','2013-10-11','B7-1','1','0','0','0','1','p','50009_PS','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2013-10-11' 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 ( #1243#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50009_PS#@#2013-10-12#@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 ( '1373','2013-10-11','B1-1','1','3','0','3','1','p','40317_1373','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-10-11' 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 ( #1373#@#2013-10-11#@#B1-1#@#1#@#3#@#0#@#3#@#1#@#p#@#40317_1373#@#2013-10-12#@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 ( '1373','2013-10-11','B2-1','1','4','0','4','1','p','40317_1373','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-10-11' 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 ( #1373#@#2013-10-11#@#B2-1#@#1#@#4#@#0#@#4#@#1#@#p#@#40317_1373#@#2013-10-12#@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 ( '1373','2013-10-11','B3-1','1','2','0','2','1','p','40317_1373','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-10-11' 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 ( #1373#@#2013-10-11#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#40317_1373#@#2013-10-12#@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 ( '1373','2013-10-11','B6-1','1','0','0','0','1','p','40317_1373','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-10-11' 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 ( #1373#@#2013-10-11#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40317_1373#@#2013-10-12#@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 ( '1373','2013-10-11','B7-1','1','0','0','0','1','p','40317_1373','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-10-11' 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 ( #1373#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40317_1373#@#2013-10-12#@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 ( '10','2013-10-11','B1-1','2','126','0','126','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '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_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 ( #10#@#2013-10-11#@#B1-1#@#2#@#126#@#0#@#126#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '10','2013-10-11','B2-1','2','173','0','173','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-11' and pl_id = 'B2-1' and seq_close = '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_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 ( #10#@#2013-10-11#@#B2-1#@#2#@#173#@#0#@#173#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '10','2013-10-11','B3-1','2','47','0','47','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-11' and pl_id = 'B3-1' and seq_close = '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_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 ( #10#@#2013-10-11#@#B3-1#@#2#@#47#@#0#@#47#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '10','2013-10-11','B6-1','2','1261','0','1261','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-11' and pl_id = 'B6-1' and seq_close = '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_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 ( #10#@#2013-10-11#@#B6-1#@#2#@#1261#@#0#@#1261#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '10','2013-10-11','B7-1','2','0','0','0','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-11' and pl_id = 'B7-1' and seq_close = '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_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 ( #10#@#2013-10-11#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '1398','2013-10-11','B1-1','1','11','0','11','1','p','36381_1398','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-10-11' 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 ( #1398#@#2013-10-11#@#B1-1#@#1#@#11#@#0#@#11#@#1#@#p#@#36381_1398#@#2013-10-12#@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 ( '1398','2013-10-11','B2-1','1','0','0','0','1','p','36381_1398','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-10-11' 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 ( #1398#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36381_1398#@#2013-10-12#@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 ( '1398','2013-10-11','B3-1','1','0','0','0','1','p','36381_1398','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-10-11' 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 ( #1398#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36381_1398#@#2013-10-12#@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 ( '1398','2013-10-11','B6-1','1','0','0','0','1','p','36381_1398','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-10-11' 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 ( #1398#@#2013-10-11#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36381_1398#@#2013-10-12#@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 ( '1398','2013-10-11','B7-1','1','0','0','0','1','p','36381_1398','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2013-10-11' 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 ( #1398#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36381_1398#@#2013-10-12#@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 ( '10','2013-10-12','B1-1','1','126','0','126','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-12' 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 ( #10#@#2013-10-12#@#B1-1#@#1#@#126#@#0#@#126#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '10','2013-10-12','B2-1','1','173','0','173','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-12' 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 ( #10#@#2013-10-12#@#B2-1#@#1#@#173#@#0#@#173#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '10','2013-10-12','B3-1','1','47','0','47','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-12' 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 ( #10#@#2013-10-12#@#B3-1#@#1#@#47#@#0#@#47#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '10','2013-10-12','B6-1','1','1261','0','1261','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-12' 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 ( #10#@#2013-10-12#@#B6-1#@#1#@#1261#@#0#@#1261#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '10','2013-10-12','B7-1','1','0','0','0','1','p','46982_10','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '10' and close_date = '2013-10-12' 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 ( #10#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#46982_10#@#2013-10-12#@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 ( '152','2013-10-11','B1-1','1','83','0','83','1','p','38781','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-10-11' 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 ( #152#@#2013-10-11#@#B1-1#@#1#@#83#@#0#@#83#@#1#@#p#@#38781#@#2013-10-12#@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 ( '152','2013-10-11','B2-1','1','203','0','203','1','p','38781','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-10-11' 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 ( #152#@#2013-10-11#@#B2-1#@#1#@#203#@#0#@#203#@#1#@#p#@#38781#@#2013-10-12#@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 ( '152','2013-10-11','B3-1','1','40','0','40','1','p','38781','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-10-11' 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 ( #152#@#2013-10-11#@#B3-1#@#1#@#40#@#0#@#40#@#1#@#p#@#38781#@#2013-10-12#@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 ( '152','2013-10-11','B6-1','1','9','0','9','1','p','38781','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-10-11' 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 ( #152#@#2013-10-11#@#B6-1#@#1#@#9#@#0#@#9#@#1#@#p#@#38781#@#2013-10-12#@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 ( '152','2013-10-11','B7-1','1','0','0','0','1','p','38781','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '152' and close_date = '2013-10-11' 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 ( #152#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781#@#2013-10-12#@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 ( '1358','2013-10-01','B1-1','2','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-01' and pl_id = 'B1-1' and seq_close = '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_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 ( #1358#@#2013-10-01#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-01','B2-1','2','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-01' and pl_id = 'B2-1' and seq_close = '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_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 ( #1358#@#2013-10-01#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-01','B3-1','2','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-01' and pl_id = 'B3-1' and seq_close = '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_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 ( #1358#@#2013-10-01#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-01','B6-1','2','29','0','29','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-01' and pl_id = 'B6-1' and seq_close = '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_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 ( #1358#@#2013-10-01#@#B6-1#@#2#@#29#@#0#@#29#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-01','B7-1','2','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-01' and pl_id = 'B7-1' and seq_close = '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_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 ( #1358#@#2013-10-01#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-04','B1-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-04' 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 ( #1358#@#2013-10-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-04','B2-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-04' 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 ( #1358#@#2013-10-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-04','B3-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-04' 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 ( #1358#@#2013-10-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-04','B6-1','1','29','0','29','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-04' 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 ( #1358#@#2013-10-04#@#B6-1#@#1#@#29#@#0#@#29#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-04','B7-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-04' 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 ( #1358#@#2013-10-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '40','2013-10-11','B1-1','1','634','0','634','1','p','38781_40','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-10-11' 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 ( #40#@#2013-10-11#@#B1-1#@#1#@#634#@#0#@#634#@#1#@#p#@#38781_40#@#2013-10-12#@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 ( '40','2013-10-11','B2-1','1','91','0','91','1','p','38781_40','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-10-11' 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 ( #40#@#2013-10-11#@#B2-1#@#1#@#91#@#0#@#91#@#1#@#p#@#38781_40#@#2013-10-12#@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 ( '40','2013-10-11','B3-1','1','4','0','4','1','p','38781_40','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-10-11' 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 ( #40#@#2013-10-11#@#B3-1#@#1#@#4#@#0#@#4#@#1#@#p#@#38781_40#@#2013-10-12#@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 ( '40','2013-10-11','B6-1','1','0','0','0','1','p','38781_40','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-10-11' 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 ( #40#@#2013-10-11#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_40#@#2013-10-12#@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 ( '40','2013-10-11','B7-1','1','0','0','0','1','p','38781_40','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '40' and close_date = '2013-10-11' 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 ( #40#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_40#@#2013-10-12#@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 ( '1358','2013-10-09','B1-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-09' 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 ( #1358#@#2013-10-09#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-09','B2-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-09' 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 ( #1358#@#2013-10-09#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-09','B3-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-09' 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 ( #1358#@#2013-10-09#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-09','B6-1','1','29','0','29','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-09' 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 ( #1358#@#2013-10-09#@#B6-1#@#1#@#29#@#0#@#29#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-09','B7-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-09' 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 ( #1358#@#2013-10-09#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-10','B1-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-10' 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 ( #1358#@#2013-10-10#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-10','B2-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-10' 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 ( #1358#@#2013-10-10#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-10','B3-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-10' 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 ( #1358#@#2013-10-10#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-10','B6-1','1','29','0','29','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-10' 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 ( #1358#@#2013-10-10#@#B6-1#@#1#@#29#@#0#@#29#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-10','B7-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-10' 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 ( #1358#@#2013-10-10#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-11','B1-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-11' 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 ( #1358#@#2013-10-11#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-11','B2-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-11' 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 ( #1358#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-11','B3-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-11' 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 ( #1358#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-11','B6-1','1','29','0','29','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-11' 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 ( #1358#@#2013-10-11#@#B6-1#@#1#@#29#@#0#@#29#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1358','2013-10-11','B7-1','1','0','0','0','1','p','32490_CHC','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-10-11' 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 ( #1358#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-10-12#@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 ( '1363','2013-10-12','B1-1','1','6','0','6','1','p','58031_1363','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2013-10-12' 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 ( #1363#@#2013-10-12#@#B1-1#@#1#@#6#@#0#@#6#@#1#@#p#@#58031_1363#@#2013-10-12#@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 ( '1363','2013-10-12','B2-1','1','1','0','1','1','p','58031_1363','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2013-10-12' 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 ( #1363#@#2013-10-12#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#58031_1363#@#2013-10-12#@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 ( '1363','2013-10-12','B3-1','1','0','0','0','1','p','58031_1363','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2013-10-12' 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 ( #1363#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1363#@#2013-10-12#@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 ( '1363','2013-10-12','B6-1','1','5','0','5','1','p','58031_1363','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2013-10-12' 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 ( #1363#@#2013-10-12#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#58031_1363#@#2013-10-12#@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 ( '1363','2013-10-12','B7-1','1','0','0','0','1','p','58031_1363','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2013-10-12' 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 ( #1363#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1363#@#2013-10-12#@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 ( '1370','2013-10-12','B1-1','1','0','0','0','1','p','58031_1370','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1370' and close_date = '2013-10-12' 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 ( #1370#@#2013-10-12#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1370#@#2013-10-12#@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 ( '1370','2013-10-12','B2-1','1','0','0','0','1','p','58031_1370','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1370' and close_date = '2013-10-12' 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 ( #1370#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1370#@#2013-10-12#@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 ( '1370','2013-10-12','B3-1','1','0','0','0','1','p','58031_1370','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1370' and close_date = '2013-10-12' 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 ( #1370#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1370#@#2013-10-12#@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 ( '1370','2013-10-12','B6-1','1','19','0','19','1','p','58031_1370','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1370' and close_date = '2013-10-12' 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 ( #1370#@#2013-10-12#@#B6-1#@#1#@#19#@#0#@#19#@#1#@#p#@#58031_1370#@#2013-10-12#@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 ( '1370','2013-10-12','B7-1','1','0','0','0','1','p','58031_1370','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1370' and close_date = '2013-10-12' 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 ( #1370#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1370#@#2013-10-12#@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 ( '9999','2013-10-10','B1-1','1','89','0','89','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-10' 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 ( #9999#@#2013-10-10#@#B1-1#@#1#@#89#@#0#@#89#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-10','B2-1','1','56','0','56','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-10' 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 ( #9999#@#2013-10-10#@#B2-1#@#1#@#56#@#0#@#56#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-10','B3-1','1','50','0','50','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-10' 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 ( #9999#@#2013-10-10#@#B3-1#@#1#@#50#@#0#@#50#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-10','B6-1','1','30','0','30','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-10' 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 ( #9999#@#2013-10-10#@#B6-1#@#1#@#30#@#0#@#30#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-10','B7-1','1','1','0','1','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-10' 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 ( #9999#@#2013-10-10#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-11','B1-1','1','89','0','89','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-11' 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 ( #9999#@#2013-10-11#@#B1-1#@#1#@#89#@#0#@#89#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-11','B2-1','1','56','0','56','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-11' 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 ( #9999#@#2013-10-11#@#B2-1#@#1#@#56#@#0#@#56#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-11','B3-1','1','50','0','50','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-11' 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 ( #9999#@#2013-10-11#@#B3-1#@#1#@#50#@#0#@#50#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-11','B6-1','1','30','0','30','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-11' 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 ( #9999#@#2013-10-11#@#B6-1#@#1#@#30#@#0#@#30#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '9999','2013-10-11','B7-1','1','1','0','1','1','p','onanong','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2013-10-11' 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 ( #9999#@#2013-10-11#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#onanong#@#2013-10-12#@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 ( '1425','2013-10-11','B1-1','1','0','0','0','1','p','50009_1425','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2013-10-11' 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 ( #1425#@#2013-10-11#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50009_1425#@#2013-10-12#@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 ( '1425','2013-10-11','B2-1','1','0','0','0','1','p','50009_1425','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2013-10-11' 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 ( #1425#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50009_1425#@#2013-10-12#@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 ( '1425','2013-10-11','B3-1','1','0','0','0','1','p','50009_1425','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2013-10-11' 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 ( #1425#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50009_1425#@#2013-10-12#@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 ( '1425','2013-10-11','B6-1','1','14','0','14','1','p','50009_1425','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2013-10-11' 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 ( #1425#@#2013-10-11#@#B6-1#@#1#@#14#@#0#@#14#@#1#@#p#@#50009_1425#@#2013-10-12#@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 ( '1425','2013-10-11','B7-1','1','0','0','0','1','p','50009_1425','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2013-10-11' 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 ( #1425#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50009_1425#@#2013-10-12#@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 ( '1232','2013-10-11','B1-1','2','46','0','46','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '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_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 ( #1232#@#2013-10-11#@#B1-1#@#2#@#46#@#0#@#46#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-11','B2-1','2','4','0','4','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-11' and pl_id = 'B2-1' and seq_close = '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_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 ( #1232#@#2013-10-11#@#B2-1#@#2#@#4#@#0#@#4#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-11','B3-1','2','5','0','5','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-11' and pl_id = 'B3-1' and seq_close = '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_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 ( #1232#@#2013-10-11#@#B3-1#@#2#@#5#@#0#@#5#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-11','B6-1','2','1466','0','1466','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-11' and pl_id = 'B6-1' and seq_close = '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_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 ( #1232#@#2013-10-11#@#B6-1#@#2#@#1466#@#0#@#1466#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-11','B7-1','2','0','0','0','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-11' and pl_id = 'B7-1' and seq_close = '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_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 ( #1232#@#2013-10-11#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-12','B1-1','1','46','0','46','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-12' 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 ( #1232#@#2013-10-12#@#B1-1#@#1#@#46#@#0#@#46#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-12','B2-1','1','4','0','4','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-12' 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 ( #1232#@#2013-10-12#@#B2-1#@#1#@#4#@#0#@#4#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-12','B3-1','1','5','0','5','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-12' 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 ( #1232#@#2013-10-12#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-12','B6-1','1','1466','0','1466','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-12' 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 ( #1232#@#2013-10-12#@#B6-1#@#1#@#1466#@#0#@#1466#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1232','2013-10-12','B7-1','1','0','0','0','1','p','59801','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2013-10-12' 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 ( #1232#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59801#@#2013-10-12#@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 ( '1115','2013-10-11','B1-1','2','236','0','236','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '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_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 ( #1115#@#2013-10-11#@#B1-1#@#2#@#236#@#0#@#236#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-11','B2-1','2','22','0','22','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-11' and pl_id = 'B2-1' and seq_close = '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_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 ( #1115#@#2013-10-11#@#B2-1#@#2#@#22#@#0#@#22#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-11','B3-1','2','25','0','25','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-11' and pl_id = 'B3-1' and seq_close = '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_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 ( #1115#@#2013-10-11#@#B3-1#@#2#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-11','B6-1','2','12','0','12','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-11' and pl_id = 'B6-1' and seq_close = '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_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 ( #1115#@#2013-10-11#@#B6-1#@#2#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-11','B7-1','2','0','0','0','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-11' and pl_id = 'B7-1' and seq_close = '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_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 ( #1115#@#2013-10-11#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-12','B1-1','1','236','0','236','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-12' 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 ( #1115#@#2013-10-12#@#B1-1#@#1#@#236#@#0#@#236#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-12','B2-1','1','22','0','22','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-12' 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 ( #1115#@#2013-10-12#@#B2-1#@#1#@#22#@#0#@#22#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-12','B3-1','1','25','0','25','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-12' 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 ( #1115#@#2013-10-12#@#B3-1#@#1#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-12','B6-1','1','12','0','12','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-12' 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 ( #1115#@#2013-10-12#@#B6-1#@#1#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1115','2013-10-12','B7-1','1','0','0','0','1','p','49692_1115','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2013-10-12' 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 ( #1115#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2013-10-12#@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 ( '1390','2013-10-11','B1-1','1','11','0','11','1','p','47862_1390','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1390' and close_date = '2013-10-11' 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 ( #1390#@#2013-10-11#@#B1-1#@#1#@#11#@#0#@#11#@#1#@#p#@#47862_1390#@#2013-10-12#@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 ( '1390','2013-10-11','B2-1','1','0','0','0','1','p','47862_1390','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1390' and close_date = '2013-10-11' 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 ( #1390#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47862_1390#@#2013-10-12#@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 ( '1390','2013-10-11','B3-1','1','0','0','0','1','p','47862_1390','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1390' and close_date = '2013-10-11' 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 ( #1390#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47862_1390#@#2013-10-12#@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 ( '1390','2013-10-11','B6-1','1','0','0','0','1','p','47862_1390','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1390' and close_date = '2013-10-11' 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 ( #1390#@#2013-10-11#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47862_1390#@#2013-10-12#@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 ( '1390','2013-10-11','B7-1','1','0','0','0','1','p','47862_1390','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1390' and close_date = '2013-10-11' 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 ( #1390#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47862_1390#@#2013-10-12#@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 ( '1432','2013-10-10','B1-1','1','1','0','1','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-10' 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 ( #1432#@#2013-10-10#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-10','B2-1','1','0','0','0','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-10' 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 ( #1432#@#2013-10-10#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-10','B3-1','1','0','0','0','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-10' 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 ( #1432#@#2013-10-10#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-10','B6-1','1','0','0','0','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-10' 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 ( #1432#@#2013-10-10#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-10','B7-1','1','0','0','0','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-10' 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 ( #1432#@#2013-10-10#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-11','B1-1','1','1','0','1','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-11' 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 ( #1432#@#2013-10-11#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-11','B2-1','1','0','0','0','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-11' 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 ( #1432#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-11','B3-1','1','0','0','0','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-11' 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 ( #1432#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-11','B6-1','1','0','0','0','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-11' 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 ( #1432#@#2013-10-11#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1432','2013-10-11','B7-1','1','0','0','0','1','p','33488_1432','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1432' and close_date = '2013-10-11' 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 ( #1432#@#2013-10-11#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33488_1432#@#2013-10-12#@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 ( '1226','2013-10-12','B1-1','1','71','0','71','1','p','40192_1226','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-10-12' 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 ( #1226#@#2013-10-12#@#B1-1#@#1#@#71#@#0#@#71#@#1#@#p#@#40192_1226#@#2013-10-12#@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 ( '1226','2013-10-12','B2-1','1','1','0','1','1','p','40192_1226','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-10-12' 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 ( #1226#@#2013-10-12#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#40192_1226#@#2013-10-12#@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 ( '1226','2013-10-12','B3-1','1','5','0','5','1','p','40192_1226','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-10-12' 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 ( #1226#@#2013-10-12#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#40192_1226#@#2013-10-12#@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 ( '1226','2013-10-12','B6-1','1','0','0','0','1','p','40192_1226','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-10-12' 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 ( #1226#@#2013-10-12#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40192_1226#@#2013-10-12#@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 ( '1226','2013-10-12','B7-1','1','0','0','0','1','p','40192_1226','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1226' and close_date = '2013-10-12' 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 ( #1226#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40192_1226#@#2013-10-12#@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 ( '1054','2013-10-11','B1-1','2','49','1','50','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '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_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 ( #1054#@#2013-10-11#@#B1-1#@#2#@#49#@#1#@#50#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-11','B2-1','2','18','0','18','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-11' and pl_id = 'B2-1' and seq_close = '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_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 ( #1054#@#2013-10-11#@#B2-1#@#2#@#18#@#0#@#18#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-11','B3-1','2','19','0','19','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-11' and pl_id = 'B3-1' and seq_close = '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_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 ( #1054#@#2013-10-11#@#B3-1#@#2#@#19#@#0#@#19#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-11','B6-1','2','180','0','180','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-11' and pl_id = 'B6-1' and seq_close = '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_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 ( #1054#@#2013-10-11#@#B6-1#@#2#@#180#@#0#@#180#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-11','B7-1','2','0','0','0','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-11' and pl_id = 'B7-1' and seq_close = '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_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 ( #1054#@#2013-10-11#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-12','B1-1','1','50','0','50','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-12' 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 ( #1054#@#2013-10-12#@#B1-1#@#1#@#50#@#0#@#50#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-12','B2-1','1','18','0','18','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-12' 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 ( #1054#@#2013-10-12#@#B2-1#@#1#@#18#@#0#@#18#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-12','B3-1','1','19','0','19','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-12' 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 ( #1054#@#2013-10-12#@#B3-1#@#1#@#19#@#0#@#19#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-12','B6-1','1','180','0','180','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-12' 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 ( #1054#@#2013-10-12#@#B6-1#@#1#@#180#@#0#@#180#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1054','2013-10-12','B7-1','1','0','0','0','1','p','60303_1054','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-12' 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 ( #1054#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60303_1054#@#2013-10-12#@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 ( '1346','2013-10-12','B1-1','1','0','0','0','1','p','60378_1346','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2013-10-12' 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 ( #1346#@#2013-10-12#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60378_1346#@#2013-10-12#@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 ( '1346','2013-10-12','B2-1','1','2','0','2','1','p','60378_1346','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2013-10-12' 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 ( #1346#@#2013-10-12#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60378_1346#@#2013-10-12#@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 ( '1346','2013-10-12','B3-1','1','2','0','2','1','p','60378_1346','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2013-10-12' 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 ( #1346#@#2013-10-12#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60378_1346#@#2013-10-12#@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 ( '1346','2013-10-12','B6-1','1','214','0','214','1','p','60378_1346','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2013-10-12' 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 ( #1346#@#2013-10-12#@#B6-1#@#1#@#214#@#0#@#214#@#1#@#p#@#60378_1346#@#2013-10-12#@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 ( '1346','2013-10-12','B7-1','1','0','0','0','1','p','60378_1346','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2013-10-12' 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 ( #1346#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60378_1346#@#2013-10-12#@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 ( '1159','2013-10-12','B1-1','1','20','0','20','1','p','45083_1159','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1159' and close_date = '2013-10-12' 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 ( #1159#@#2013-10-12#@#B1-1#@#1#@#20#@#0#@#20#@#1#@#p#@#45083_1159#@#2013-10-12#@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 ( '1159','2013-10-12','B2-1','1','0','0','0','1','p','45083_1159','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1159' and close_date = '2013-10-12' 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 ( #1159#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45083_1159#@#2013-10-12#@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 ( '1159','2013-10-12','B3-1','1','2','0','2','1','p','45083_1159','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1159' and close_date = '2013-10-12' 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 ( #1159#@#2013-10-12#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#45083_1159#@#2013-10-12#@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 ( '1159','2013-10-12','B6-1','1','23','0','23','1','p','45083_1159','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1159' and close_date = '2013-10-12' 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 ( #1159#@#2013-10-12#@#B6-1#@#1#@#23#@#0#@#23#@#1#@#p#@#45083_1159#@#2013-10-12#@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 ( '1159','2013-10-12','B7-1','1','0','0','0','1','p','45083_1159','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1159' and close_date = '2013-10-12' 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 ( #1159#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45083_1159#@#2013-10-12#@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 ( '1082','2013-10-11','B1-1','2','2','0','2','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '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_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 ( #1082#@#2013-10-11#@#B1-1#@#2#@#2#@#0#@#2#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-11','B2-1','2','12','0','12','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-11' and pl_id = 'B2-1' and seq_close = '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_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 ( #1082#@#2013-10-11#@#B2-1#@#2#@#12#@#0#@#12#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-11','B3-1','2','1','0','1','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-11' and pl_id = 'B3-1' and seq_close = '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_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 ( #1082#@#2013-10-11#@#B3-1#@#2#@#1#@#0#@#1#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-11','B6-1','2','743','1','744','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-11' and pl_id = 'B6-1' and seq_close = '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_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 ( #1082#@#2013-10-11#@#B6-1#@#2#@#743#@#1#@#744#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-11','B7-1','2','0','0','0','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-11' and pl_id = 'B7-1' and seq_close = '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_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 ( #1082#@#2013-10-11#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-12','B1-1','1','2','0','2','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-12' 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 ( #1082#@#2013-10-12#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-12','B2-1','1','12','0','12','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-12' 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 ( #1082#@#2013-10-12#@#B2-1#@#1#@#12#@#0#@#12#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-12','B3-1','1','1','0','1','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-12' 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 ( #1082#@#2013-10-12#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-12','B6-1','1','744','0','744','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-12' 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 ( #1082#@#2013-10-12#@#B6-1#@#1#@#744#@#0#@#744#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1082','2013-10-12','B7-1','1','0','0','0','1','p','47293_1082','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2013-10-12' 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 ( #1082#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47293_1082#@#2013-10-12#@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 ( '1351','2013-10-11','B1-1','2','1','0','1','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '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_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 ( #1351#@#2013-10-11#@#B1-1#@#2#@#1#@#0#@#1#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-11','B2-1','2','2','0','2','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-11' and pl_id = 'B2-1' and seq_close = '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_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 ( #1351#@#2013-10-11#@#B2-1#@#2#@#2#@#0#@#2#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-11','B3-1','2','6','0','6','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-11' and pl_id = 'B3-1' and seq_close = '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_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 ( #1351#@#2013-10-11#@#B3-1#@#2#@#6#@#0#@#6#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-11','B6-1','2','161','0','161','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-11' and pl_id = 'B6-1' and seq_close = '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_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 ( #1351#@#2013-10-11#@#B6-1#@#2#@#161#@#0#@#161#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-11','B7-1','2','1','0','1','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-11' and pl_id = 'B7-1' and seq_close = '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_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 ( #1351#@#2013-10-11#@#B7-1#@#2#@#1#@#0#@#1#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-12','B1-1','1','1','0','1','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-12' 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 ( #1351#@#2013-10-12#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-12','B2-1','1','2','0','2','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-12' 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 ( #1351#@#2013-10-12#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-12','B3-1','1','6','0','6','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-12' 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 ( #1351#@#2013-10-12#@#B3-1#@#1#@#6#@#0#@#6#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-12','B6-1','1','161','1','162','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-12' 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 ( #1351#@#2013-10-12#@#B6-1#@#1#@#161#@#1#@#162#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1351','2013-10-12','B7-1','1','1','0','1','1','p','34016_1351','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2013-10-12' 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 ( #1351#@#2013-10-12#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#34016_1351#@#2013-10-12#@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 ( '1376','2013-10-12','B1-1','1','0','0','0','1','p','45247_1376','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-10-12' 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 ( #1376#@#2013-10-12#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2013-10-12#@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 ( '1376','2013-10-12','B2-1','1','0','0','0','1','p','45247_1376','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-10-12' 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 ( #1376#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2013-10-12#@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 ( '1376','2013-10-12','B3-1','1','0','0','0','1','p','45247_1376','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-10-12' 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 ( #1376#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2013-10-12#@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 ( '1376','2013-10-12','B6-1','1','5','0','5','1','p','45247_1376','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-10-12' 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 ( #1376#@#2013-10-12#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#45247_1376#@#2013-10-12#@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 ( '1376','2013-10-12','B7-1','1','0','0','0','1','p','45247_1376','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2013-10-12' 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 ( #1376#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2013-10-12#@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 ( '1102','2013-10-12','B1-1','1','17','0','17','1','p','54248_1102','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1102' and close_date = '2013-10-12' 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 ( #1102#@#2013-10-12#@#B1-1#@#1#@#17#@#0#@#17#@#1#@#p#@#54248_1102#@#2013-10-12#@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 ( '1102','2013-10-12','B2-1','1','23','0','23','1','p','54248_1102','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1102' and close_date = '2013-10-12' 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 ( #1102#@#2013-10-12#@#B2-1#@#1#@#23#@#0#@#23#@#1#@#p#@#54248_1102#@#2013-10-12#@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 ( '1102','2013-10-12','B3-1','1','37','0','37','1','p','54248_1102','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1102' and close_date = '2013-10-12' 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 ( #1102#@#2013-10-12#@#B3-1#@#1#@#37#@#0#@#37#@#1#@#p#@#54248_1102#@#2013-10-12#@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 ( '1102','2013-10-12','B6-1','1','71','0','71','1','p','54248_1102','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1102' and close_date = '2013-10-12' 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 ( #1102#@#2013-10-12#@#B6-1#@#1#@#71#@#0#@#71#@#1#@#p#@#54248_1102#@#2013-10-12#@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 ( '1102','2013-10-12','B7-1','1','0','0','0','1','p','54248_1102','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1102' and close_date = '2013-10-12' 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 ( #1102#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#54248_1102#@#2013-10-12#@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 ( '1402','2013-10-12','B1-1','1','17','0','17','1','p','51025_1402','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1402' and close_date = '2013-10-12' 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 ( #1402#@#2013-10-12#@#B1-1#@#1#@#17#@#0#@#17#@#1#@#p#@#51025_1402#@#2013-10-12#@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 ( '1402','2013-10-12','B2-1','1','1','0','1','1','p','51025_1402','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1402' and close_date = '2013-10-12' 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 ( #1402#@#2013-10-12#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#51025_1402#@#2013-10-12#@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 ( '1402','2013-10-12','B3-1','1','0','0','0','1','p','51025_1402','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1402' and close_date = '2013-10-12' 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 ( #1402#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#51025_1402#@#2013-10-12#@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 ( '1402','2013-10-12','B6-1','1','4','0','4','1','p','51025_1402','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1402' and close_date = '2013-10-12' 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 ( #1402#@#2013-10-12#@#B6-1#@#1#@#4#@#0#@#4#@#1#@#p#@#51025_1402#@#2013-10-12#@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 ( '1402','2013-10-12','B7-1','1','0','0','0','1','p','51025_1402','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1402' and close_date = '2013-10-12' 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 ( #1402#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#51025_1402#@#2013-10-12#@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 ( '1167','2013-10-12','B1-1','1','3','0','3','1','p','60436_psp','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1167' and close_date = '2013-10-12' 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 ( #1167#@#2013-10-12#@#B1-1#@#1#@#3#@#0#@#3#@#1#@#p#@#60436_psp#@#2013-10-12#@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 ( '1167','2013-10-12','B2-1','1','0','0','0','1','p','60436_psp','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1167' and close_date = '2013-10-12' 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 ( #1167#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_psp#@#2013-10-12#@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 ( '1167','2013-10-12','B3-1','1','0','0','0','1','p','60436_psp','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1167' and close_date = '2013-10-12' 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 ( #1167#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_psp#@#2013-10-12#@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 ( '1167','2013-10-12','B6-1','1','187','0','187','1','p','60436_psp','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1167' and close_date = '2013-10-12' 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 ( #1167#@#2013-10-12#@#B6-1#@#1#@#187#@#0#@#187#@#1#@#p#@#60436_psp#@#2013-10-12#@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 ( '1167','2013-10-12','B7-1','1','0','0','0','1','p','60436_psp','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1167' and close_date = '2013-10-12' 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 ( #1167#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_psp#@#2013-10-12#@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 ( '1389','2013-10-11','B1-1','2','3','0','3','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '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_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 ( #1389#@#2013-10-11#@#B1-1#@#2#@#3#@#0#@#3#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1389','2013-10-11','B2-1','2','2','0','2','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-11' and pl_id = 'B2-1' and seq_close = '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_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 ( #1389#@#2013-10-11#@#B2-1#@#2#@#2#@#0#@#2#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1389','2013-10-11','B3-1','2','0','0','0','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-11' and pl_id = 'B3-1' and seq_close = '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_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 ( #1389#@#2013-10-11#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1389','2013-10-11','B6-1','2','0','0','0','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-11' and pl_id = 'B6-1' and seq_close = '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_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 ( #1389#@#2013-10-11#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1389','2013-10-11','B7-1','2','0','0','0','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-11' and pl_id = 'B7-1' and seq_close = '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_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 ( #1389#@#2013-10-11#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1392','2013-10-12','B1-1','1','0','0','0','1','p','59609','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-10-12' 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 ( #1392#@#2013-10-12#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59609#@#2013-10-12#@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 ( '1392','2013-10-12','B2-1','1','0','0','0','1','p','59609','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-10-12' 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 ( #1392#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59609#@#2013-10-12#@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 ( '1392','2013-10-12','B3-1','1','0','0','0','1','p','59609','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-10-12' 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 ( #1392#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59609#@#2013-10-12#@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 ( '1392','2013-10-12','B6-1','1','53','1','54','1','p','59609','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-10-12' 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 ( #1392#@#2013-10-12#@#B6-1#@#1#@#53#@#1#@#54#@#1#@#p#@#59609#@#2013-10-12#@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 ( '1392','2013-10-12','B7-1','1','0','0','0','1','p','59609','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1392' and close_date = '2013-10-12' 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 ( #1392#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59609#@#2013-10-12#@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 ( '1389','2013-10-12','B1-1','1','3','0','3','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-12' 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 ( #1389#@#2013-10-12#@#B1-1#@#1#@#3#@#0#@#3#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1389','2013-10-12','B2-1','1','2','0','2','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-12' 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 ( #1389#@#2013-10-12#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1389','2013-10-12','B3-1','1','0','0','0','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-12' 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 ( #1389#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1389','2013-10-12','B6-1','1','0','0','0','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-12' 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 ( #1389#@#2013-10-12#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1389','2013-10-12','B7-1','1','0','0','0','1','p','60325_1389','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1389' and close_date = '2013-10-12' 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 ( #1389#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1389#@#2013-10-12#@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 ( '1261','2013-10-11','B1-1','2','0','0','0','1','p','56066_1261','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-11' and pl_id = 'B1-1' and seq_close = '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_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 ( #1261#@#2013-10-11#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2013-10-12#@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 ( '1261','2013-10-11','B2-1','2','0','0','0','1','p','56066_1261','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-11' and pl_id = 'B2-1' and seq_close = '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_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 ( #1261#@#2013-10-11#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2013-10-12#@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 ( '1261','2013-10-11','B3-1','2','0','0','0','1','p','56066_1261','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-11' and pl_id = 'B3-1' and seq_close = '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_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 ( #1261#@#2013-10-11#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2013-10-12#@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 ( '1261','2013-10-11','B6-1','2','268','0','268','1','p','56066_1261','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-11' and pl_id = 'B6-1' and seq_close = '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_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 ( #1261#@#2013-10-11#@#B6-1#@#2#@#268#@#0#@#268#@#1#@#p#@#56066_1261#@#2013-10-12#@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 ( '1261','2013-10-11','B7-1','2','0','0','0','1','p','56066_1261','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-11' and pl_id = 'B7-1' and seq_close = '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_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 ( #1261#@#2013-10-11#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2013-10-12#@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 ( '1416','2013-10-12','B1-1','1','0','0','0','1','p','60118_1416','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1416' and close_date = '2013-10-12' 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 ( #1416#@#2013-10-12#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1416#@#2013-10-12#@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 ( '1416','2013-10-12','B2-1','1','0','0','0','1','p','60118_1416','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1416' and close_date = '2013-10-12' 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 ( #1416#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1416#@#2013-10-12#@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 ( '1416','2013-10-12','B3-1','1','0','0','0','1','p','60118_1416','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1416' and close_date = '2013-10-12' 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 ( #1416#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1416#@#2013-10-12#@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 ( '1416','2013-10-12','B6-1','1','12','0','12','1','p','60118_1416','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1416' and close_date = '2013-10-12' 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 ( #1416#@#2013-10-12#@#B6-1#@#1#@#12#@#0#@#12#@#1#@#p#@#60118_1416#@#2013-10-12#@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 ( '1416','2013-10-12','B7-1','1','0','0','0','1','p','60118_1416','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1416' and close_date = '2013-10-12' 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 ( #1416#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1416#@#2013-10-12#@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 ( '1428','2013-10-12','B1-1','1','0','0','0','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-12' 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 ( #1428#@#2013-10-12#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1428','2013-10-12','B2-1','1','0','0','0','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-12' 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 ( #1428#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1428','2013-10-12','B3-1','1','0','0','0','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-12' 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 ( #1428#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1428','2013-10-12','B6-1','1','1','0','1','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-12' 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 ( #1428#@#2013-10-12#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '1428','2013-10-12','B7-1','1','0','0','0','1','p','60285_1428','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-10-12' 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 ( #1428#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-10-12#@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 ( '304','2013-10-12','B1-1','1','644','0','644','1','p','57395_304','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-10-12' 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 ( #304#@#2013-10-12#@#B1-1#@#1#@#644#@#0#@#644#@#1#@#p#@#57395_304#@#2013-10-12#@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 ( '304','2013-10-12','B2-1','1','132','0','132','1','p','57395_304','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-10-12' 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 ( #304#@#2013-10-12#@#B2-1#@#1#@#132#@#0#@#132#@#1#@#p#@#57395_304#@#2013-10-12#@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 ( '304','2013-10-12','B3-1','1','27','0','27','1','p','57395_304','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-10-12' 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 ( #304#@#2013-10-12#@#B3-1#@#1#@#27#@#0#@#27#@#1#@#p#@#57395_304#@#2013-10-12#@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 ( '304','2013-10-12','B6-1','1','3592','0','3592','1','p','57395_304','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-10-12' 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 ( #304#@#2013-10-12#@#B6-1#@#1#@#3592#@#0#@#3592#@#1#@#p#@#57395_304#@#2013-10-12#@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 ( '304','2013-10-12','B7-1','1','0','0','0','1','p','57395_304','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-10-12' 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 ( #304#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_304#@#2013-10-12#@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 ( '1431','2013-10-12','B1-1','1','0','0','0','1','p','60377_1431','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1431' and close_date = '2013-10-12' 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 ( #1431#@#2013-10-12#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60377_1431#@#2013-10-12#@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 ( '1431','2013-10-12','B2-1','1','0','0','0','1','p','60377_1431','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1431' and close_date = '2013-10-12' 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 ( #1431#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60377_1431#@#2013-10-12#@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 ( '1431','2013-10-12','B3-1','1','0','0','0','1','p','60377_1431','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1431' and close_date = '2013-10-12' 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 ( #1431#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60377_1431#@#2013-10-12#@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 ( '1431','2013-10-12','B6-1','1','2','0','2','1','p','60377_1431','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1431' and close_date = '2013-10-12' 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 ( #1431#@#2013-10-12#@#B6-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60377_1431#@#2013-10-12#@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 ( '1431','2013-10-12','B7-1','1','0','0','0','1','p','60377_1431','2013-10-12',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1431' and close_date = '2013-10-12' 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 ( #1431#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60377_1431#@#2013-10-12#@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-10-11','B1-1','2','46','0','46','1','p','42003_1221','2013-10-13',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-10-11' and pl_id = 'B1-1' and seq_close = '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_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-10-11#@#B1-1#@#2#@#46#@#0#@#46#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-11','B2-1','2','7','0','7','1','p','42003_1221','2013-10-13',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-10-11' and pl_id = 'B2-1' and seq_close = '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_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-10-11#@#B2-1#@#2#@#7#@#0#@#7#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-11','B3-1','2','2','0','2','1','p','42003_1221','2013-10-13',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-10-11' and pl_id = 'B3-1' and seq_close = '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_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-10-11#@#B3-1#@#2#@#2#@#0#@#2#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-11','B6-1','2','0','0','0','1','p','42003_1221','2013-10-13',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-10-11' and pl_id = 'B6-1' and seq_close = '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_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-10-11#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-11','B7-1','2','0','0','0','1','p','42003_1221','2013-10-13',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-10-11' and pl_id = 'B7-1' and seq_close = '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_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-10-11#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-12','B1-1','1','46','0','46','1','p','42003_1221','2013-10-13',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-10-12' 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-10-12#@#B1-1#@#1#@#46#@#0#@#46#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-12','B2-1','1','7','0','7','1','p','42003_1221','2013-10-13',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-10-12' 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-10-12#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-12','B3-1','1','2','0','2','1','p','42003_1221','2013-10-13',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-10-12' 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-10-12#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-12','B6-1','1','0','0','0','1','p','42003_1221','2013-10-13',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-10-12' 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-10-12#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42003_1221#@#2013-10-13#@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-10-12','B7-1','1','0','0','0','1','p','42003_1221','2013-10-13',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-10-12' 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-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42003_1221#@#2013-10-13#@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 ( '1162','2013-10-12','B1-1','1','676','1','677','1','p','56645_1162','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-10-12' 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 ( #1162#@#2013-10-12#@#B1-1#@#1#@#676#@#1#@#677#@#1#@#p#@#56645_1162#@#2013-10-13#@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 ( '1162','2013-10-12','B2-1','1','1','0','1','1','p','56645_1162','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-10-12' 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 ( #1162#@#2013-10-12#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#56645_1162#@#2013-10-13#@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 ( '1162','2013-10-12','B3-1','1','3','0','3','1','p','56645_1162','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-10-12' 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 ( #1162#@#2013-10-12#@#B3-1#@#1#@#3#@#0#@#3#@#1#@#p#@#56645_1162#@#2013-10-13#@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 ( '1162','2013-10-12','B6-1','1','0','0','0','1','p','56645_1162','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-10-12' 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 ( #1162#@#2013-10-12#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2013-10-13#@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 ( '1162','2013-10-12','B7-1','1','0','0','0','1','p','56645_1162','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-10-12' 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 ( #1162#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2013-10-13#@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 ( '1191','2013-10-12','B1-1','1','208','0','208','1','p','56645_NP','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-10-12' 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 ( #1191#@#2013-10-12#@#B1-1#@#1#@#208#@#0#@#208#@#1#@#p#@#56645_NP#@#2013-10-13#@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 ( '1191','2013-10-12','B2-1','1','0','0','0','1','p','56645_NP','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-10-12' 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 ( #1191#@#2013-10-12#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-10-13#@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 ( '1191','2013-10-12','B3-1','1','0','0','0','1','p','56645_NP','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-10-12' 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 ( #1191#@#2013-10-12#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-10-13#@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 ( '1191','2013-10-12','B6-1','1','16','0','16','1','p','56645_NP','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-10-12' 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 ( #1191#@#2013-10-12#@#B6-1#@#1#@#16#@#0#@#16#@#1#@#p#@#56645_NP#@#2013-10-13#@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 ( '1191','2013-10-12','B7-1','1','0','0','0','1','p','56645_NP','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-10-12' 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 ( #1191#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-10-13#@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 ( '1227','2013-10-12','B1-1','1','12','0','12','1','p','55900','2013-10-13',now());

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-10-12' 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 ( #1227#@#2013-10-12#@#B1-1#@#1#@#12#@#0#@#12#@#1#@#p#@#55900#@#2013-10-13#@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 ( '1227','2013-10-12','B2-1','1','5','0','5','1','p','55900','2013-10-13',now());

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-10-12' 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 ( #1227#@#2013-10-12#@#B2-1#@#1#@#5#@#0#@#5#@#1#@#p#@#55900#@#2013-10-13#@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 ( '1227','2013-10-12','B3-1','1','4','0','4','1','p','55900','2013-10-13',now());

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-10-12' 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 ( #1227#@#2013-10-12#@#B3-1#@#1#@#4#@#0#@#4#@#1#@#p#@#55900#@#2013-10-13#@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 ( '1227','2013-10-12','B6-1','1','713','0','713','1','p','55900','2013-10-13',now());

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-10-12' 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 ( #1227#@#2013-10-12#@#B6-1#@#1#@#713#@#0#@#713#@#1#@#p#@#55900#@#2013-10-13#@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 ( '1227','2013-10-12','B7-1','1','0','0','0','1','p','55900','2013-10-13',now());

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-10-12' 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 ( #1227#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55900#@#2013-10-13#@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 ( '215','2013-10-12','B1-1','1','117','0','117','1','p','59346','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2013-10-12' 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 ( #215#@#2013-10-12#@#B1-1#@#1#@#117#@#0#@#117#@#1#@#p#@#59346#@#2013-10-13#@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 ( '215','2013-10-12','B2-1','1','186','0','186','1','p','59346','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2013-10-12' 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 ( #215#@#2013-10-12#@#B2-1#@#1#@#186#@#0#@#186#@#1#@#p#@#59346#@#2013-10-13#@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 ( '215','2013-10-12','B3-1','1','13','0','13','1','p','59346','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2013-10-12' 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 ( #215#@#2013-10-12#@#B3-1#@#1#@#13#@#0#@#13#@#1#@#p#@#59346#@#2013-10-13#@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 ( '215','2013-10-12','B6-1','1','2639','1','2640','1','p','59346','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2013-10-12' 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 ( #215#@#2013-10-12#@#B6-1#@#1#@#2639#@#1#@#2640#@#1#@#p#@#59346#@#2013-10-13#@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 ( '215','2013-10-12','B7-1','1','0','0','0','1','p','59346','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2013-10-12' 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 ( #215#@#2013-10-12#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59346#@#2013-10-13#@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 ( '1423','2013-10-11','B1-1','1','9','0','9','1','p','55742_1423','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2013-10-11' 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 ( #1423#@#2013-10-11#@#B1-1#@#1#@#9#@#0#@#9#@#1#@#p#@#55742_1423#@#2013-10-13#@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 ( '1423','2013-10-11','B2-1','1','0','0','0','1','p','55742_1423','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2013-10-11' 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 ( #1423#@#2013-10-11#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2013-10-13#@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 ( '1423','2013-10-11','B3-1','1','0','0','0','1','p','55742_1423','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2013-10-11' 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 ( #1423#@#2013-10-11#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2013-10-13#@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 ( '1423','2013-10-11','B6-1','1','0','0','0','1','p','55742_1423','2013-10-13',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2013-10-11' 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 ( #1423#@#2013-10-11#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#