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

Can't Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al01','INC','1','+','0.00','1','58235_1222','p','2013-07-22',now());

select * from al_com_close_account WHERE branch_id = '1222' and close_date = '2013-07-21' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1222' and close_date = '2013-07-21' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al01','BF','1','+','0.00','1','58235_1222','p','2013-07-22',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al02','BF','1','+','0.00','1','58235_1222','p','2013-07-22',now());

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al10','INC','1','+','0.00','1','58235_1222','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-07-21' 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 ( #1222#@#2013-07-21#@#al10#@#INC#@#1#@#+#@#0.00#@#1#@#58235_1222#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al10','DEC','1','+','0.00','1','58235_1222','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-07-21' 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 ( #1222#@#2013-07-21#@#al10#@#DEC#@#1#@#+#@#0.00#@#1#@#58235_1222#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al10','BF','1','+','0.00','1','58235_1222','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-07-21' 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 ( #1222#@#2013-07-21#@#al10#@#BF#@#1#@#+#@#0.00#@#1#@#58235_1222#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al12','INC','1','+','0.00','1','58235_1222','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al12','DEC','1','+','0.00','1','58235_1222','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al12','BF','1','+','0.00','1','58235_1222','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al05','INC','1','+','0.00','1','58235_1222','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-07-21' 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 ( #1222#@#2013-07-21#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#58235_1222#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al05','DEC','1','+','0.00','1','58235_1222','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-07-21' 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 ( #1222#@#2013-07-21#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#58235_1222#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1222','2013-07-21','al05','BF','1','+','0.00','1','58235_1222','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-07-21' 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 ( #1222#@#2013-07-21#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#58235_1222#@#p#@#2013-07-22#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2013-07-21' 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 ( #1218#@#2013-07-21#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#58235_PEN#@#p#@#2013-07-22#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2013-07-21' 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 ( #1218#@#2013-07-21#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#58235_PEN#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2013-07-21','al05','BF','1','+','0.00','1','58235_PEN','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2013-07-21' 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 ( #1218#@#2013-07-21#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#58235_PEN#@#p#@#2013-07-22#@now());')

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '283','2013-07-20','al01','BF','2','+','20626.00','1','43564','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '283' and close_date = '2013-07-20' 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 ( #283#@#2013-07-20#@#al01#@#BF#@#2#@#+#@#20626.00#@#1#@#43564#@#p#@#2013-07-22#@now());')

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '283' and close_date = '2013-07-20' 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 ( #283#@#2013-07-20#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#43564#@#p#@#2013-07-22#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '283' and close_date = '2013-07-20' 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 ( #283#@#2013-07-20#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#43564#@#p#@#2013-07-22#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '283' and close_date = '2013-07-20' 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 ( #283#@#2013-07-20#@#al05#@#BF#@#2#@#+#@#0.00#@#1#@#43564#@#p#@#2013-07-22#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '283','2013-07-21','al01','DEC','1','+','4656.00','1','43564','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '283','2013-07-21','al01','BF','1','+','15970.00','1','43564','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-22','al14','BF','1','+','0.00','1','56025_1232','p','2013-07-22',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-07-22' 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 ( #1232#@#2013-07-22#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#56025_1232#@#p#@#2013-07-22#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2013-07-22','al01','DEC','2','+','160993.00','1','39576','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2013-07-22','al01','BF','2','+','71594.00','1','39576','p','2013-07-22',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2013-07-22','al02','BF','2','+','154.91','1','39576','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-20','al01','INC','2','+','30000.00','1','50232','p','2013-07-22',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-07-20' 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 ( #40#@#2013-07-20#@#al01#@#INC#@#2#@#+#@#30000.00#@#1#@#50232#@#p#@#2013-07-22#@now());')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-20','al01','BF','2','+','31605.00','1','50232','p','2013-07-22',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-07-20' 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 ( #40#@#2013-07-20#@#al01#@#BF#@#2#@#+#@#31605.00#@#1#@#50232#@#p#@#2013-07-22#@now());')

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-20','al02','BF','2','+','4.69','1','50232','p','2013-07-22',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-07-20' 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 ( #40#@#2013-07-20#@#al02#@#BF#@#2#@#+#@#4.69#@#1#@#50232#@#p#@#2013-07-22#@now());')

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-20','al06','INC','2','+','0.00','1','50232','p','2013-07-22',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-07-20' 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 ( #40#@#2013-07-20#@#al06#@#INC#@#2#@#+#@#0.00#@#1#@#50232#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-20','al06','DEC','2','+','0.00','1','50232','p','2013-07-22',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-07-20' 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 ( #40#@#2013-07-20#@#al06#@#DEC#@#2#@#+#@#0.00#@#1#@#50232#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-20','al06','BF','2','+','0.00','1','50232','p','2013-07-22',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-07-20' 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 ( #40#@#2013-07-20#@#al06#@#BF#@#2#@#+#@#0.00#@#1#@#50232#@#p#@#2013-07-22#@now());')

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1271','2013-07-21','al01','BF','1','+','48.30','1','47002_1271','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1271' and close_date = '2013-07-21' 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 ( #1271#@#2013-07-21#@#al01#@#BF#@#1#@#+#@#48.30#@#1#@#47002_1271#@#p#@#2013-07-22#@now());')

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1271','2013-07-21','al02','BF','1','+','181.12','1','47002_1271','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1271' and close_date = '2013-07-21' 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 ( #1271#@#2013-07-21#@#al02#@#BF#@#1#@#+#@#181.12#@#1#@#47002_1271#@#p#@#2013-07-22#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1279','2013-07-22','al01','BF','1','+','45714.00','1','39250_1279','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al01','INC','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al01','DEC','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al01','BF','2','+','31774.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al01#@#BF#@#2#@#+#@#31774.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al02','INC','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al02','DEC','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al02','BF','2','+','55.58','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al02#@#BF#@#2#@#+#@#55.58#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al05','INC','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al05','DEC','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al05','BF','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al05#@#BF#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al06','INC','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al06#@#INC#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al06','DEC','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al06#@#DEC#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-21','al06','BF','2','+','0.00','1','47293_1082','p','2013-07-22',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-07-21' 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 ( #1082#@#2013-07-21#@#al06#@#BF#@#2#@#+#@#0.00#@#1#@#47293_1082#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1417','2013-07-21','al01','INC','2','+','0.00','1','55050_1417','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1417','2013-07-21','al01','DEC','2','+','0.00','1','55050_1417','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1417','2013-07-21','al01','BF','2','+','65317.65','1','55050_1417','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1417' and close_date = '2013-07-21' 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 ( #1417#@#2013-07-21#@#al01#@#BF#@#2#@#+#@#65317.65#@#1#@#55050_1417#@#p#@#2013-07-22#@now());')

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1417','2013-07-22','al01','BF','1','+','65317.65','1','55050_1417','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-07-22','al01','DEC','1','+','42275.00','1','59648_1379','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1379','2013-07-22','al01','BF','1','+','45969.00','1','59648_1379','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al01','INC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al01','DEC','2','+','117222.00','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' 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 ( #304#@#2013-07-21#@#al01#@#DEC#@#2#@#+#@#117222.00#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al01','BF','2','+','370716.00','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' 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 ( #304#@#2013-07-21#@#al01#@#BF#@#2#@#+#@#370716.00#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al02','INC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al02','DEC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al02','BF','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al05','INC','2','+','0.00','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' 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 ( #304#@#2013-07-21#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al05','DEC','2','+','0.00','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' 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 ( #304#@#2013-07-21#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al05','BF','2','+','0.00','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' 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 ( #304#@#2013-07-21#@#al05#@#BF#@#2#@#+#@#0.00#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al06','INC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al06','DEC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al06','BF','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al09','INC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al09','DEC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al09','BF','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al14','INC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al14','DEC','2','+','0.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al14','BF','2','+','76.19','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' 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 ( #304#@#2013-07-21#@#al14#@#BF#@#2#@#+#@#76.19#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al15','INC','2','+','0.00','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' and close_acc_book = 'al15' 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 ( #304#@#2013-07-21#@#al15#@#INC#@#2#@#+#@#0.00#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al15','DEC','2','+','0.00','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' and close_acc_book = 'al15' 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 ( #304#@#2013-07-21#@#al15#@#DEC#@#2#@#+#@#0.00#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-21','al15','BF','2','+','0.00','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-21' and close_acc_book = 'al15' 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 ( #304#@#2013-07-21#@#al15#@#BF#@#2#@#+#@#0.00#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-22','al01','DEC','1','+','104767.00','1','57395_304','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-22','al01','BF','1','+','265949.00','1','57395_304','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-22','al14','BF','1','+','76.19','1','57395_304','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2013-07-22' 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 ( #304#@#2013-07-22#@#al14#@#BF#@#1#@#+#@#76.19#@#1#@#57395_304#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-22','al15','INC','1','+','0.00','1','57395_304','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-22','al15','DEC','1','+','0.00','1','57395_304','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2013-07-22','al15','BF','1','+','0.00','1','57395_304','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1273','2013-07-22','al01','BF','1','+','42.00','1','33370_1273','p','2013-07-22',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1273','2013-07-22','al02','BF','1','+','393.70','1','33370_1273','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1402','2013-07-22','al01','BF','1','+','15695.00','1','51025_1402','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1344','2013-07-22','al01','DEC','1','+','7524.00','1','57341_1344','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1344','2013-07-22','al01','BF','1','+','148885.00','1','57341_1344','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al01','BF','2','+','455714.01','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al02','INC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al02','DEC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al02','BF','2','+','0.38','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al05','INC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al05','DEC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al05','BF','2','+','0.05','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al06','INC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al06','DEC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al06','BF','2','+','178.57','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al09','INC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al09','DEC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al09','BF','2','+','92.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al12','INC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al12','DEC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al12','BF','2','+','79.82','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al14','INC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al14','DEC','2','+','0.00','1','32157_1054','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-21','al14','BF','2','+','0.74','1','32157_1054','p','2013-07-22',now());

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2013-07-22','al01','DEC','1','+','109204.00','1','55733_1099','p','2013-07-22',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2013-07-22','al01','BF','1','+','1116.00','1','55733_1099','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2013-07-22','al06','BF','1','+','0.14','1','55733_1099','p','2013-07-22',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2013-07-22','al09','BF','1','+','0.97','1','55733_1099','p','2013-07-22',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2013-07-22','al14','BF','1','+','0.21','1','55733_1099','p','2013-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2013-07-22' 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 ( #1099#@#2013-07-22#@#al14#@#BF#@#1#@#+#@#0.21#@#1#@#55733_1099#@#p#@#2013-07-22#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2013-07-22','al15','INC','1','+','0.00','1','55733_1099','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2013-07-22','al15','DEC','1','+','0.00','1','55733_1099','p','2013-07-22',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2013-07-22','al15','BF','1','+','123.24','1','55733_1099','p','2013-07-22',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2013-07-22#@#al15#@#BF#@#1#@#+#@#123.24#@#1#@#55733_1099#@#p#@#2013-07-22#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-22','al01','BF','1','+','399482.01','1','32157_1054','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-22','al09','BF','1','+','92.00','1','32157_1054','p','2013-07-22',now());

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-07-22','al12','BF','1','+','79.82','1','32157_1054','p','2013-07-22',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1169','2013-07-22','al01','BF','1','+','0.00','1','32490_SBL','p','2013-07-23',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1169','2013-07-22','al02','BF','1','+','0.00','1','32490_SBL','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1169','2013-07-22','al05','INC','1','+','0.00','1','32490_SBL','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-07-22' 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 ( #1169#@#2013-07-22#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#32490_SBL#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1169','2013-07-22','al05','DEC','1','+','0.00','1','32490_SBL','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-07-22' 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 ( #1169#@#2013-07-22#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#32490_SBL#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1169','2013-07-22','al05','BF','1','+','0.00','1','32490_SBL','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-07-22' 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 ( #1169#@#2013-07-22#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#32490_SBL#@#p#@#2013-07-23#@now());')

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2013-07-22','al01','BF','1','+','0.00','1','56645_1162','p','2013-07-23',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2013-07-22','al02','BF','1','+','0.00','1','56645_1162','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2013-07-22','al05','INC','1','+','0.00','1','56645_1162','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-07-22' 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 ( #1162#@#2013-07-22#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1162#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2013-07-22','al05','DEC','1','+','0.00','1','56645_1162','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-07-22' 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 ( #1162#@#2013-07-22#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#56645_1162#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2013-07-22','al05','BF','1','+','0.00','1','56645_1162','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-07-22' 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 ( #1162#@#2013-07-22#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1162#@#p#@#2013-07-23#@now());')

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1191','2013-07-22','al01','BF','1','+','0.00','1','56645_NP','p','2013-07-23',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1191','2013-07-22','al02','BF','1','+','0.00','1','56645_NP','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1191','2013-07-22','al05','INC','1','+','0.00','1','56645_NP','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-07-22' 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 ( #1191#@#2013-07-22#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#56645_NP#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1191','2013-07-22','al05','DEC','1','+','0.00','1','56645_NP','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-07-22' 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 ( #1191#@#2013-07-22#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#56645_NP#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1191','2013-07-22','al05','BF','1','+','0.00','1','56645_NP','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-07-22' 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 ( #1191#@#2013-07-22#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#56645_NP#@#p#@#2013-07-23#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2013-07-22' 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 ( #1218#@#2013-07-22#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#56213_PEN#@#p#@#2013-07-23#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2013-07-22' 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 ( #1218#@#2013-07-22#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#56213_PEN#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2013-07-22','al05','BF','1','+','0.00','1','56213_PEN','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1218' and close_date = '2013-07-22' 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 ( #1218#@#2013-07-22#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#56213_PEN#@#p#@#2013-07-23#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2013-07-21','al01','INC','2','+','0.00','1','47937_177','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2013-07-21','al01','DEC','2','+','0.00','1','47937_177','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2013-07-21','al01','BF','2','+','7825.00','1','47937_177','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-07-21' 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 ( #177#@#2013-07-21#@#al01#@#BF#@#2#@#+#@#7825.00#@#1#@#47937_177#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2013-07-21','al02','INC','2','+','0.00','1','47937_177','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2013-07-21','al02','DEC','2','+','0.00','1','47937_177','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2013-07-21','al02','BF','2','+','0.56','1','47937_177','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-07-21' 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 ( #177#@#2013-07-21#@#al02#@#BF#@#2#@#+#@#0.56#@#1#@#47937_177#@#p#@#2013-07-23#@now());')

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2013-07-22','al01','BF','1','+','7825.00','1','47937_177','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-07-22' 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 ( #177#@#2013-07-22#@#al01#@#BF#@#1#@#+#@#7825.00#@#1#@#47937_177#@#p#@#2013-07-23#@now());')

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2013-07-22','al02','BF','1','+','0.56','1','47937_177','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-07-22' 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 ( #177#@#2013-07-22#@#al02#@#BF#@#1#@#+#@#0.56#@#1#@#47937_177#@#p#@#2013-07-23#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2013-07-22','al05','INC','1','+','0.00','1','36097_SBP','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2013-07-22','al05','DEC','1','+','0.00','1','36097_SBP','p','2013-07-23',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2013-07-22','al05','BF','1','+','0.00','1','36097_SBP','p','2013-07-23',now());

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al01','BF','1','+','35487.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' 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 ( #158#@#2013-07-22#@#al01#@#BF#@#1#@#+#@#35487.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al02','BF','1','+','0.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' 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 ( #158#@#2013-07-22#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al05','INC','1','+','0.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' 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 ( #158#@#2013-07-22#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al05','DEC','1','+','0.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' 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 ( #158#@#2013-07-22#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al05','BF','1','+','1258.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' 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 ( #158#@#2013-07-22#@#al05#@#BF#@#1#@#+#@#1258.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al06','INC','1','+','0.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-07-22#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al06','DEC','1','+','0.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-07-22#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al06','BF','1','+','0.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #158#@#2013-07-22#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al14','INC','1','+','0.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' 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 ( #158#@#2013-07-22#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al14','DEC','1','+','0.00','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' 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 ( #158#@#2013-07-22#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '158','2013-07-22','al14','BF','1','+','15.22','1','45092_158','p','2013-07-23',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2013-07-22' 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 ( #158#@#2013-07-22#@#al14#@#BF#@#1#@#+#@#15.22#@#1#@#45092_158#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-22','al01','INC','1','+','0.00','1','36097_SRC','p','2013-07-23',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-07-22' 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-07-22#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-07-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-22','al01','DEC','1','+','0.00','1','36097_SRC','p','2013-07-23',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-07-22' 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-07-22#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SRC#@#p#@#2013-07-23#@now());')

#STOP # Total Record = 500
Select==> SELECT * FROM al_com_close_arrear WHERE log_status in ('e','a') limit 0,500

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '622','2013-09-20','1','1799489.00','0.00','0.00','1','52299','p','2013-09-22',now());

select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','1','38592022.00','441883.90','715561.11','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2018-02-24','1','56368.00','0.00','0.00','1','63904_1665','p','2018-02-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 = '2018-02-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#@#2018-02-24#@#1#@#56368.00#@#0.00#@#0.00#@#1#@#63904_1665#@#p#@#2018-02-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','2018-02-25','1','56368.00','0.00','0.00','1','63904_1665','p','2018-02-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 = '2018-02-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#@#2018-02-25#@#1#@#56368.00#@#0.00#@#0.00#@#1#@#63904_1665#@#p#@#2018-02-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 ( '1689','2018-02-15','1','-9548.00','0.00','0.00','1','63904_1689','p','2018-02-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2018-02-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 ( #1689#@#2018-02-15#@#1#@#-9548.00#@#0.00#@#0.00#@#1#@#63904_1689#@#p#@#2018-02-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 ( '1689','2018-02-16','1','-9548.00','0.00','0.00','1','63904_1689','p','2018-02-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2018-02-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 ( #1689#@#2018-02-16#@#1#@#-9548.00#@#0.00#@#0.00#@#1#@#63904_1689#@#p#@#2018-02-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 ( '1689','2018-02-17','1','-9548.00','0.00','0.00','1','63904_1689','p','2018-02-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2018-02-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 ( #1689#@#2018-02-17#@#1#@#-9548.00#@#0.00#@#0.00#@#1#@#63904_1689#@#p#@#2018-02-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 ( '1689','2018-02-18','1','-9548.00','0.00','0.00','1','63904_1689','p','2018-02-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2018-02-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 ( #1689#@#2018-02-18#@#1#@#-9548.00#@#0.00#@#0.00#@#1#@#63904_1689#@#p#@#2018-02-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 ( '1689','2018-02-19','1','-9548.00','0.00','0.00','1','63904_1689','p','2018-02-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2018-02-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 ( #1689#@#2018-02-19#@#1#@#-9548.00#@#0.00#@#0.00#@#1#@#63904_1689#@#p#@#2018-02-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 ( '1689','2018-02-20','1','-9548.00','0.00','0.00','1','63904_1689','p','2018-02-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2018-02-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 ( #1689#@#2018-02-20#@#1#@#-9548.00#@#0.00#@#0.00#@#1#@#63904_1689#@#p#@#2018-02-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 ( '1689','2018-02-21','1','-9548.00','0.00','0.00','1','63904_1689','p','2018-02-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2018-02-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 ( #1689#@#2018-02-21#@#1#@#-9548.00#@#0.00#@#0.00#@#1#@#63904_1689#@#p#@#2018-02-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 ( '1689','2018-02-22','1','-9548.00','0.00','0.00','1','63904_1689','p','2018-02-26',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2018-02-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 ( #1689#@#2018-02-22#@#1#@#-9548.00#@#0.00#@#0.00#@#1#@#63904_1689#@#p#@#2018-02-26#@now());')

#STOP # Total Record = 12
Select==> SELECT * FROM al_com_close_promise WHERE log_status in ('e','a') limit 0,500

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '160','2014-05-04','B1-1','1','205','0','205','1','p','51111','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2014-05-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 ( #160#@#2014-05-04#@#B1-1#@#1#@#205#@#0#@#205#@#1#@#p#@#51111#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '160','2014-05-04','B2-1','1','34','0','34','1','p','51111','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2014-05-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 ( #160#@#2014-05-04#@#B2-1#@#1#@#34#@#0#@#34#@#1#@#p#@#51111#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '160','2014-05-04','B3-1','1','37','0','37','1','p','51111','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2014-05-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 ( #160#@#2014-05-04#@#B3-1#@#1#@#37#@#0#@#37#@#1#@#p#@#51111#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '160','2014-05-04','B6-1','1','113','0','113','1','p','51111','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2014-05-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 ( #160#@#2014-05-04#@#B6-1#@#1#@#113#@#0#@#113#@#1#@#p#@#51111#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '160','2014-05-04','B7-1','1','0','0','0','1','p','51111','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '160' and close_date = '2014-05-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 ( #160#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#51111#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-03','B1-1','1','2','0','2','1','p','58235_1443','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-03' 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 ( #1443#@#2014-05-03#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#58235_1443#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-03','B2-1','1','0','0','0','1','p','58235_1443','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-03' 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 ( #1443#@#2014-05-03#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1443#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-03','B3-1','1','0','0','0','1','p','58235_1443','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-03' 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 ( #1443#@#2014-05-03#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1443#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-03','B6-1','1','0','0','0','1','p','58235_1443','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-03' 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 ( #1443#@#2014-05-03#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1443#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-03','B7-1','1','0','0','0','1','p','58235_1443','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-03' 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 ( #1443#@#2014-05-03#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1443#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-05-04','B1-1','1','20','0','20','1','p','60308_1436','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-05-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 ( #1436#@#2014-05-04#@#B1-1#@#1#@#20#@#0#@#20#@#1#@#p#@#60308_1436#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-05-04','B2-1','1','0','0','0','1','p','60308_1436','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-05-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 ( #1436#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1436#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-05-04','B3-1','1','0','0','0','1','p','60308_1436','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-05-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 ( #1436#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1436#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-05-04','B6-1','1','0','0','0','1','p','60308_1436','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-05-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 ( #1436#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1436#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-05-04','B7-1','1','0','0','0','1','p','60308_1436','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-05-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 ( #1436#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1436#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-02','B1-1','1','162','0','162','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-02' 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 ( #622#@#2014-05-02#@#B1-1#@#1#@#162#@#0#@#162#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-02','B2-1','1','20','0','20','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-02' 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 ( #622#@#2014-05-02#@#B2-1#@#1#@#20#@#0#@#20#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-02','B3-1','1','0','0','0','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-02' 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 ( #622#@#2014-05-02#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-02','B6-1','1','9','0','9','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-02' 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 ( #622#@#2014-05-02#@#B6-1#@#1#@#9#@#0#@#9#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-02','B7-1','1','0','0','0','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-02' 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 ( #622#@#2014-05-02#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-03','B1-1','1','162','0','162','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-03' 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 ( #622#@#2014-05-03#@#B1-1#@#1#@#162#@#0#@#162#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-03','B2-1','1','20','0','20','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-03' 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 ( #622#@#2014-05-03#@#B2-1#@#1#@#20#@#0#@#20#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-03','B3-1','1','0','0','0','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-03' 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 ( #622#@#2014-05-03#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-03','B6-1','1','9','0','9','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-03' 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 ( #622#@#2014-05-03#@#B6-1#@#1#@#9#@#0#@#9#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-03','B7-1','1','0','0','0','1','p','52299','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-03' 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 ( #622#@#2014-05-03#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52299#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B1-1','1','2','0','2','1','p','46986_1082','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#46986_1082#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B2-1','1','12','0','12','1','p','46986_1082','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B2-1#@#1#@#12#@#0#@#12#@#1#@#p#@#46986_1082#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B3-1','1','1','0','1','1','p','46986_1082','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#46986_1082#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B6-1','1','812','0','812','1','p','46986_1082','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B6-1#@#1#@#812#@#0#@#812#@#1#@#p#@#46986_1082#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B7-1','1','0','0','0','1','p','46986_1082','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1082#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','0','0','0','1','p','45247_1376','2014-05-04',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 = '2014-05-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 ( #1376#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','0','0','0','1','p','45247_1376','2014-05-04',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 = '2014-05-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 ( #1376#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','0','0','0','1','p','45247_1376','2014-05-04',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 = '2014-05-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 ( #1376#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','5','0','5','1','p','45247_1376','2014-05-04',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 = '2014-05-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 ( #1376#@#2014-05-04#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#45247_1376#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','45247_1376','2014-05-04',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 = '2014-05-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 ( #1376#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-03','B1-1','1','3','0','3','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-03' 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 ( #1447#@#2014-05-03#@#B1-1#@#1#@#3#@#0#@#3#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-03','B2-1','1','0','0','0','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-03' 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 ( #1447#@#2014-05-03#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-03','B3-1','1','0','0','0','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-03' 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 ( #1447#@#2014-05-03#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-03','B6-1','1','0','0','0','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-03' 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 ( #1447#@#2014-05-03#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-03','B7-1','1','0','0','0','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-03' 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 ( #1447#@#2014-05-03#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-04','B1-1','1','0','0','0','1','p','57395_1252','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-04','B2-1','1','0','0','0','1','p','57395_1252','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-04','B3-1','1','0','0','0','1','p','57395_1252','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-04','B6-1','1','5','0','5','1','p','57395_1252','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-04#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#57395_1252#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-04','B7-1','1','0','0','0','1','p','57395_1252','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-04','B1-1','1','3','0','3','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-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 ( #1447#@#2014-05-04#@#B1-1#@#1#@#3#@#0#@#3#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-04','B2-1','1','0','0','0','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-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 ( #1447#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-04','B3-1','1','0','0','0','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-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 ( #1447#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-04','B6-1','1','0','0','0','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-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 ( #1447#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-05-04','B7-1','1','0','0','0','1','p','60325_1447','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-05-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 ( #1447#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','36','0','36','1','p','45083_1159','2014-05-04',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 = '2014-05-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 ( #1159#@#2014-05-04#@#B1-1#@#1#@#36#@#0#@#36#@#1#@#p#@#45083_1159#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','0','0','0','1','p','45083_1159','2014-05-04',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 = '2014-05-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 ( #1159#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45083_1159#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','2','0','2','1','p','45083_1159','2014-05-04',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 = '2014-05-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 ( #1159#@#2014-05-04#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#45083_1159#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','23','0','23','1','p','45083_1159','2014-05-04',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 = '2014-05-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 ( #1159#@#2014-05-04#@#B6-1#@#1#@#23#@#0#@#23#@#1#@#p#@#45083_1159#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','45083_1159','2014-05-04',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 = '2014-05-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 ( #1159#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45083_1159#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-03','B1-1','2','0','0','0','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-03' 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 ( #1344#@#2014-05-03#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-03','B2-1','2','0','0','0','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-03' 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 ( #1344#@#2014-05-03#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-03','B3-1','2','2','0','2','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-03' 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 ( #1344#@#2014-05-03#@#B3-1#@#2#@#2#@#0#@#2#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-03','B6-1','2','147','0','147','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-03' 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 ( #1344#@#2014-05-03#@#B6-1#@#2#@#147#@#0#@#147#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-03','B7-1','2','0','0','0','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-03' 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 ( #1344#@#2014-05-03#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-04','B1-1','1','0','0','0','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-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 ( #1344#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-04','B2-1','1','0','0','0','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-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 ( #1344#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-04','B3-1','1','2','0','2','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-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 ( #1344#@#2014-05-04#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-04','B6-1','1','147','0','147','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-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 ( #1344#@#2014-05-04#@#B6-1#@#1#@#147#@#0#@#147#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-04','B7-1','1','0','0','0','1','p','57341_1344','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-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 ( #1344#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-04','B1-1','1','0','0','0','1','p','36211_1424','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-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 ( #1424#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-04','B2-1','1','0','0','0','1','p','36211_1424','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-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 ( #1424#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-04','B3-1','1','0','0','0','1','p','36211_1424','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-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 ( #1424#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-04','B6-1','1','57','0','57','1','p','36211_1424','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-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 ( #1424#@#2014-05-04#@#B6-1#@#1#@#57#@#0#@#57#@#1#@#p#@#36211_1424#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-04','B7-1','1','0','0','0','1','p','36211_1424','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-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 ( #1424#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1435','2014-05-04','B1-1','1','0','0','0','1','p','61040_1435','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1435' and close_date = '2014-05-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 ( #1435#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61040_1435#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1435','2014-05-04','B2-1','1','0','0','0','1','p','61040_1435','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1435' and close_date = '2014-05-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 ( #1435#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61040_1435#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1435','2014-05-04','B3-1','1','0','0','0','1','p','61040_1435','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1435' and close_date = '2014-05-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 ( #1435#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61040_1435#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1435','2014-05-04','B6-1','1','30','0','30','1','p','61040_1435','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1435' and close_date = '2014-05-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 ( #1435#@#2014-05-04#@#B6-1#@#1#@#30#@#0#@#30#@#1#@#p#@#61040_1435#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1435','2014-05-04','B7-1','1','0','0','0','1','p','61040_1435','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1435' and close_date = '2014-05-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 ( #1435#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61040_1435#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-05-04','B1-1','1','34','0','34','1','p','47937_1438','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-05-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 ( #1438#@#2014-05-04#@#B1-1#@#1#@#34#@#0#@#34#@#1#@#p#@#47937_1438#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-05-04','B2-1','1','12','0','12','1','p','47937_1438','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-05-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 ( #1438#@#2014-05-04#@#B2-1#@#1#@#12#@#0#@#12#@#1#@#p#@#47937_1438#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-05-04','B3-1','1','0','0','0','1','p','47937_1438','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-05-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 ( #1438#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1438#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-05-04','B6-1','1','0','0','0','1','p','47937_1438','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-05-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 ( #1438#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1438#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-05-04','B7-1','1','0','0','0','1','p','47937_1438','2014-05-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-05-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 ( #1438#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1438#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B1-1','2','59','0','59','1','p','60303_1054','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B1-1#@#2#@#59#@#0#@#59#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B2-1','2','18','0','18','1','p','60303_1054','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B2-1#@#2#@#18#@#0#@#18#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B3-1','2','19','0','19','1','p','60303_1054','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B3-1#@#2#@#19#@#0#@#19#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B6-1','2','194','0','194','1','p','60303_1054','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B6-1#@#2#@#194#@#0#@#194#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B7-1','2','0','0','0','1','p','60303_1054','2014-05-04',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 = '2014-05-03' 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#@#2014-05-03#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','59','0','59','1','p','60303_1054','2014-05-04',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 = '2014-05-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 ( #1054#@#2014-05-04#@#B1-1#@#1#@#59#@#0#@#59#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','18','0','18','1','p','60303_1054','2014-05-04',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 = '2014-05-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 ( #1054#@#2014-05-04#@#B2-1#@#1#@#18#@#0#@#18#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','19','0','19','1','p','60303_1054','2014-05-04',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 = '2014-05-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 ( #1054#@#2014-05-04#@#B3-1#@#1#@#19#@#0#@#19#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','194','0','194','1','p','60303_1054','2014-05-04',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 = '2014-05-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 ( #1054#@#2014-05-04#@#B6-1#@#1#@#194#@#0#@#194#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','60303_1054','2014-05-04',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 = '2014-05-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 ( #1054#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60303_1054#@#2014-05-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-05-04','B1-1','1','2227','0','2227','1','p','33132_177','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-05-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 ( #177#@#2014-05-04#@#B1-1#@#1#@#2227#@#0#@#2227#@#1#@#p#@#33132_177#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-05-04','B2-1','1','69','0','69','1','p','33132_177','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-05-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 ( #177#@#2014-05-04#@#B2-1#@#1#@#69#@#0#@#69#@#1#@#p#@#33132_177#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-05-04','B3-1','1','8','0','8','1','p','33132_177','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-05-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 ( #177#@#2014-05-04#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#33132_177#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-05-04','B6-1','1','30','0','30','1','p','33132_177','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-05-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 ( #177#@#2014-05-04#@#B6-1#@#1#@#30#@#0#@#30#@#1#@#p#@#33132_177#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-05-04','B7-1','1','0','0','0','1','p','33132_177','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-05-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 ( #177#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33132_177#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','117','0','117','1','p','60743_215','2014-05-05',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 = '2014-05-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 ( #215#@#2014-05-04#@#B1-1#@#1#@#117#@#0#@#117#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','191','0','191','1','p','60743_215','2014-05-05',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 = '2014-05-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 ( #215#@#2014-05-04#@#B2-1#@#1#@#191#@#0#@#191#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','13','0','13','1','p','60743_215','2014-05-05',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 = '2014-05-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 ( #215#@#2014-05-04#@#B3-1#@#1#@#13#@#0#@#13#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','3099','3','3102','1','p','60743_215','2014-05-05',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 = '2014-05-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 ( #215#@#2014-05-04#@#B6-1#@#1#@#3099#@#3#@#3102#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','60743_215','2014-05-05',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 = '2014-05-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 ( #215#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-05-04','B1-1','1','401','0','401','1','p','56309','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-05-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 ( #1216#@#2014-05-04#@#B1-1#@#1#@#401#@#0#@#401#@#1#@#p#@#56309#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-05-04','B2-1','1','9','0','9','1','p','56309','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-05-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 ( #1216#@#2014-05-04#@#B2-1#@#1#@#9#@#0#@#9#@#1#@#p#@#56309#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-05-04','B3-1','1','6','0','6','1','p','56309','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-05-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 ( #1216#@#2014-05-04#@#B3-1#@#1#@#6#@#0#@#6#@#1#@#p#@#56309#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-05-04','B6-1','1','0','0','0','1','p','56309','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-05-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 ( #1216#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56309#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-05-04','B7-1','1','0','0','0','1','p','56309','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-05-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 ( #1216#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56309#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','46','0','46','1','p','50229_1232','2014-05-05',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 = '2014-05-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 ( #1232#@#2014-05-04#@#B1-1#@#1#@#46#@#0#@#46#@#1#@#p#@#50229_1232#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','8','0','8','1','p','50229_1232','2014-05-05',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 = '2014-05-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 ( #1232#@#2014-05-04#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#50229_1232#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','5','0','5','1','p','50229_1232','2014-05-05',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 = '2014-05-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 ( #1232#@#2014-05-04#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#50229_1232#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','1657','0','1657','1','p','50229_1232','2014-05-05',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 = '2014-05-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 ( #1232#@#2014-05-04#@#B6-1#@#1#@#1657#@#0#@#1657#@#1#@#p#@#50229_1232#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','50229_1232','2014-05-05',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 = '2014-05-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 ( #1232#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50229_1232#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B1-1','1','136','0','136','1','p','38781','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B1-1#@#1#@#136#@#0#@#136#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B2-1','1','208','0','208','1','p','38781','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B2-1#@#1#@#208#@#0#@#208#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B3-1','1','40','0','40','1','p','38781','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B3-1#@#1#@#40#@#0#@#40#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B6-1','1','9','0','9','1','p','38781','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B6-1#@#1#@#9#@#0#@#9#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B7-1','1','0','0','0','1','p','38781','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','136','0','136','1','p','38781','2014-05-05',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 = '2014-05-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 ( #152#@#2014-05-04#@#B1-1#@#1#@#136#@#0#@#136#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','208','0','208','1','p','38781','2014-05-05',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 = '2014-05-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 ( #152#@#2014-05-04#@#B2-1#@#1#@#208#@#0#@#208#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','40','0','40','1','p','38781','2014-05-05',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 = '2014-05-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 ( #152#@#2014-05-04#@#B3-1#@#1#@#40#@#0#@#40#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','9','0','9','1','p','38781','2014-05-05',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 = '2014-05-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 ( #152#@#2014-05-04#@#B6-1#@#1#@#9#@#0#@#9#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','38781','2014-05-05',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 = '2014-05-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 ( #152#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','12','0','12','1','p','55900','2014-05-05',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 = '2014-05-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 ( #1227#@#2014-05-04#@#B1-1#@#1#@#12#@#0#@#12#@#1#@#p#@#55900#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','7','0','7','1','p','55900','2014-05-05',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 = '2014-05-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 ( #1227#@#2014-05-04#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#55900#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','5','0','5','1','p','55900','2014-05-05',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 = '2014-05-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 ( #1227#@#2014-05-04#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#55900#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','746','0','746','1','p','55900','2014-05-05',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 = '2014-05-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 ( #1227#@#2014-05-04#@#B6-1#@#1#@#746#@#0#@#746#@#1#@#p#@#55900#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','55900','2014-05-05',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 = '2014-05-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 ( #1227#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55900#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-05-04','B1-1','1','82','0','82','1','p','36097_SBP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-05-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 ( #1171#@#2014-05-04#@#B1-1#@#1#@#82#@#0#@#82#@#1#@#p#@#36097_SBP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-05-04','B2-1','1','0','0','0','1','p','36097_SBP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-05-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 ( #1171#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-05-04','B3-1','1','0','0','0','1','p','36097_SBP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-05-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 ( #1171#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-05-04','B6-1','1','105','0','105','1','p','36097_SBP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-05-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 ( #1171#@#2014-05-04#@#B6-1#@#1#@#105#@#0#@#105#@#1#@#p#@#36097_SBP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-05-04','B7-1','1','0','0','0','1','p','36097_SBP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-05-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 ( #1171#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2014-05-04','B1-1','1','183','0','183','1','p','36097_SRC','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2014-05-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 ( #1165#@#2014-05-04#@#B1-1#@#1#@#183#@#0#@#183#@#1#@#p#@#36097_SRC#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2014-05-04','B2-1','1','10','0','10','1','p','36097_SRC','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2014-05-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 ( #1165#@#2014-05-04#@#B2-1#@#1#@#10#@#0#@#10#@#1#@#p#@#36097_SRC#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2014-05-04','B3-1','1','0','0','0','1','p','36097_SRC','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2014-05-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 ( #1165#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SRC#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2014-05-04','B6-1','1','203','0','203','1','p','36097_SRC','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2014-05-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 ( #1165#@#2014-05-04#@#B6-1#@#1#@#203#@#0#@#203#@#1#@#p#@#36097_SRC#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2014-05-04','B7-1','1','0','0','0','1','p','36097_SRC','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2014-05-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 ( #1165#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SRC#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-05-04','B1-1','1','1','0','1','1','p','46986_1055','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-05-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 ( #1055#@#2014-05-04#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#46986_1055#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-05-04','B2-1','1','7','0','7','1','p','46986_1055','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-05-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 ( #1055#@#2014-05-04#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#46986_1055#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-05-04','B3-1','1','0','0','0','1','p','46986_1055','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-05-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 ( #1055#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-05-04','B6-1','1','149','0','149','1','p','46986_1055','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-05-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 ( #1055#@#2014-05-04#@#B6-1#@#1#@#149#@#0#@#149#@#1#@#p#@#46986_1055#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-05-04','B7-1','1','0','0','0','1','p','46986_1055','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-05-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 ( #1055#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-04','B1-1','1','761','0','761','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-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 ( #452#@#2014-05-04#@#B1-1#@#1#@#761#@#0#@#761#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-04','B2-1','1','44','0','44','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-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 ( #452#@#2014-05-04#@#B2-1#@#1#@#44#@#0#@#44#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-04','B3-1','1','5','0','5','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-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 ( #452#@#2014-05-04#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-04','B6-1','1','232','0','232','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-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 ( #452#@#2014-05-04#@#B6-1#@#1#@#232#@#0#@#232#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-04','B7-1','1','0','0','0','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-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 ( #452#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1400','2014-05-04','B1-1','1','2','0','2','1','p','42960_1400','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1400' and close_date = '2014-05-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 ( #1400#@#2014-05-04#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42960_1400#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1400','2014-05-04','B2-1','1','0','0','0','1','p','42960_1400','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1400' and close_date = '2014-05-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 ( #1400#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1400#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1400','2014-05-04','B3-1','1','0','0','0','1','p','42960_1400','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1400' and close_date = '2014-05-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 ( #1400#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1400#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1400','2014-05-04','B6-1','1','90','0','90','1','p','42960_1400','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1400' and close_date = '2014-05-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 ( #1400#@#2014-05-04#@#B6-1#@#1#@#90#@#0#@#90#@#1#@#p#@#42960_1400#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1400','2014-05-04','B7-1','1','0','0','0','1','p','42960_1400','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1400' and close_date = '2014-05-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 ( #1400#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1400#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1155','2014-05-04','B1-1','1','247','0','247','1','p','57537','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2014-05-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 ( #1155#@#2014-05-04#@#B1-1#@#1#@#247#@#0#@#247#@#1#@#p#@#57537#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1155','2014-05-04','B2-1','1','15','0','15','1','p','57537','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2014-05-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 ( #1155#@#2014-05-04#@#B2-1#@#1#@#15#@#0#@#15#@#1#@#p#@#57537#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1155','2014-05-04','B3-1','1','27','0','27','1','p','57537','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2014-05-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 ( #1155#@#2014-05-04#@#B3-1#@#1#@#27#@#0#@#27#@#1#@#p#@#57537#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1155','2014-05-04','B6-1','1','0','0','0','1','p','57537','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2014-05-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 ( #1155#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1155','2014-05-04','B7-1','1','0','0','0','1','p','57537','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1155' and close_date = '2014-05-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 ( #1155#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-04','B1-1','1','49','0','49','1','p','33264_SKP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-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 ( #1187#@#2014-05-04#@#B1-1#@#1#@#49#@#0#@#49#@#1#@#p#@#33264_SKP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-04','B2-1','1','0','0','0','1','p','33264_SKP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-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 ( #1187#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-04','B3-1','1','0','0','0','1','p','33264_SKP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-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 ( #1187#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-04','B6-1','1','38','0','38','1','p','33264_SKP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-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 ( #1187#@#2014-05-04#@#B6-1#@#1#@#38#@#0#@#38#@#1#@#p#@#33264_SKP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-04','B7-1','1','0','0','0','1','p','33264_SKP','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-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 ( #1187#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1434','2014-05-04','B1-1','1','1','0','1','1','p','60188_1434','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1434' and close_date = '2014-05-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 ( #1434#@#2014-05-04#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#60188_1434#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1434','2014-05-04','B2-1','1','0','0','0','1','p','60188_1434','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1434' and close_date = '2014-05-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 ( #1434#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60188_1434#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1434','2014-05-04','B3-1','1','0','0','0','1','p','60188_1434','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1434' and close_date = '2014-05-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 ( #1434#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60188_1434#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1434','2014-05-04','B6-1','1','0','0','0','1','p','60188_1434','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1434' and close_date = '2014-05-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 ( #1434#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60188_1434#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1434','2014-05-04','B7-1','1','0','0','0','1','p','60188_1434','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1434' and close_date = '2014-05-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 ( #1434#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60188_1434#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','2','0','2','1','p','46986_1082','2014-05-05',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 = '2014-05-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 ( #1082#@#2014-05-04#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','12','0','12','1','p','46986_1082','2014-05-05',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 = '2014-05-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 ( #1082#@#2014-05-04#@#B2-1#@#1#@#12#@#0#@#12#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','1','0','1','1','p','46986_1082','2014-05-05',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 = '2014-05-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 ( #1082#@#2014-05-04#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','812','0','812','1','p','46986_1082','2014-05-05',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 = '2014-05-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 ( #1082#@#2014-05-04#@#B6-1#@#1#@#812#@#0#@#812#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','46986_1082','2014-05-05',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 = '2014-05-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 ( #1082#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','2','0','2','1','p','46986_1082','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','12','0','12','1','p','46986_1082','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#12#@#0#@#12#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','1','0','1','1','p','46986_1082','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','812','0','812','1','p','46986_1082','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#812#@#0#@#812#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','46986_1082','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1082#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','129','0','129','1','p','61260_10','2014-05-05',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 = '2014-05-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 ( #10#@#2014-05-04#@#B1-1#@#1#@#129#@#0#@#129#@#1#@#p#@#61260_10#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','182','0','182','1','p','61260_10','2014-05-05',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 = '2014-05-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 ( #10#@#2014-05-04#@#B2-1#@#1#@#182#@#0#@#182#@#1#@#p#@#61260_10#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','48','0','48','1','p','61260_10','2014-05-05',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 = '2014-05-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 ( #10#@#2014-05-04#@#B3-1#@#1#@#48#@#0#@#48#@#1#@#p#@#61260_10#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','1390','0','1390','1','p','61260_10','2014-05-05',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 = '2014-05-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 ( #10#@#2014-05-04#@#B6-1#@#1#@#1390#@#0#@#1390#@#1#@#p#@#61260_10#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','61260_10','2014-05-05',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 = '2014-05-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 ( #10#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61260_10#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '476','2014-05-04','B1-1','1','56','0','56','1','p','57064','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2014-05-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 ( #476#@#2014-05-04#@#B1-1#@#1#@#56#@#0#@#56#@#1#@#p#@#57064#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '476','2014-05-04','B2-1','1','110','0','110','1','p','57064','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2014-05-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 ( #476#@#2014-05-04#@#B2-1#@#1#@#110#@#0#@#110#@#1#@#p#@#57064#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '476','2014-05-04','B3-1','1','25','0','25','1','p','57064','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2014-05-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 ( #476#@#2014-05-04#@#B3-1#@#1#@#25#@#0#@#25#@#1#@#p#@#57064#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '476','2014-05-04','B6-1','1','2203','0','2203','1','p','57064','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2014-05-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 ( #476#@#2014-05-04#@#B6-1#@#1#@#2203#@#0#@#2203#@#1#@#p#@#57064#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '476','2014-05-04','B7-1','1','0','0','0','1','p','57064','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2014-05-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 ( #476#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57064#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2014-05-04','B1-1','1','14','0','14','1','p','60766_1433','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2014-05-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 ( #1433#@#2014-05-04#@#B1-1#@#1#@#14#@#0#@#14#@#1#@#p#@#60766_1433#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2014-05-04','B2-1','1','0','0','0','1','p','60766_1433','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2014-05-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 ( #1433#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60766_1433#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2014-05-04','B3-1','1','0','0','0','1','p','60766_1433','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2014-05-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 ( #1433#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60766_1433#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2014-05-04','B6-1','1','0','0','0','1','p','60766_1433','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2014-05-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 ( #1433#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60766_1433#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1433','2014-05-04','B7-1','1','0','0','0','1','p','60766_1433','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1433' and close_date = '2014-05-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 ( #1433#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60766_1433#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-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 ( #1261#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-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 ( #1261#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-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 ( #1261#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','291','0','291','1','p','56066_1261','2014-05-05',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 = '2014-05-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 ( #1261#@#2014-05-04#@#B6-1#@#1#@#291#@#0#@#291#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-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 ( #1261#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-05-04','B1-1','1','0','0','0','1','p','60476_1395','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-05-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 ( #1395#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60476_1395#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-05-04','B2-1','1','2','0','2','1','p','60476_1395','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-05-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 ( #1395#@#2014-05-04#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60476_1395#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-05-04','B3-1','1','0','0','0','1','p','60476_1395','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-05-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 ( #1395#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60476_1395#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-05-04','B6-1','1','42','0','42','1','p','60476_1395','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-05-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 ( #1395#@#2014-05-04#@#B6-1#@#1#@#42#@#0#@#42#@#1#@#p#@#60476_1395#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-05-04','B7-1','1','0','0','0','1','p','60476_1395','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-05-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 ( #1395#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60476_1395#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-04','B1-1','1','7','0','7','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-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 ( #1414#@#2014-05-04#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-04','B2-1','1','2','0','2','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-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 ( #1414#@#2014-05-04#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-04','B3-1','1','5','0','5','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-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 ( #1414#@#2014-05-04#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-04','B6-1','1','0','0','0','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-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 ( #1414#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-04','B7-1','1','0','0','0','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-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 ( #1414#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1245','2014-05-04','B1-1','1','0','0','0','1','p','60217_1245','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2014-05-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 ( #1245#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1245#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1245','2014-05-04','B2-1','1','2','0','2','1','p','60217_1245','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2014-05-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 ( #1245#@#2014-05-04#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60217_1245#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1245','2014-05-04','B3-1','1','0','0','0','1','p','60217_1245','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2014-05-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 ( #1245#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1245#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1245','2014-05-04','B6-1','1','11','0','11','1','p','60217_1245','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2014-05-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 ( #1245#@#2014-05-04#@#B6-1#@#1#@#11#@#0#@#11#@#1#@#p#@#60217_1245#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1245','2014-05-04','B7-1','1','0','0','0','1','p','60217_1245','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1245' and close_date = '2014-05-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 ( #1245#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1245#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2014-05-04','B1-1','1','0','0','0','1','p','52105_1396','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2014-05-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 ( #1396#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52105_1396#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2014-05-04','B2-1','1','0','0','0','1','p','52105_1396','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2014-05-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 ( #1396#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52105_1396#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2014-05-04','B3-1','1','0','0','0','1','p','52105_1396','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2014-05-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 ( #1396#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52105_1396#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2014-05-04','B6-1','1','8','0','8','1','p','52105_1396','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2014-05-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 ( #1396#@#2014-05-04#@#B6-1#@#1#@#8#@#0#@#8#@#1#@#p#@#52105_1396#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1396','2014-05-04','B7-1','1','0','0','0','1','p','52105_1396','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1396' and close_date = '2014-05-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 ( #1396#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52105_1396#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-05','B1-1','1','7','0','7','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-05' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-05-05#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-05','B2-1','1','2','0','2','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-05' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-05-05#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-05','B3-1','1','5','0','5','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-05' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-05-05#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-05','B6-1','1','0','0','0','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-05' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-05-05#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-05-05','B7-1','1','0','0','0','1','p','60399_1414','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-05-05' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60399_1414#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-04','B1-1','1','162','0','162','1','p','52299','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-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 ( #622#@#2014-05-04#@#B1-1#@#1#@#162#@#0#@#162#@#1#@#p#@#52299#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-04','B2-1','1','20','0','20','1','p','52299','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-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 ( #622#@#2014-05-04#@#B2-1#@#1#@#20#@#0#@#20#@#1#@#p#@#52299#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-04','B3-1','1','0','0','0','1','p','52299','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-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 ( #622#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52299#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-04','B6-1','1','9','0','9','1','p','52299','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-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 ( #622#@#2014-05-04#@#B6-1#@#1#@#9#@#0#@#9#@#1#@#p#@#52299#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '622','2014-05-04','B7-1','1','0','0','0','1','p','52299','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2014-05-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 ( #622#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52299#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '4','2014-05-04','B1-1','1','3','0','3','1','p','60118_4','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '4' and close_date = '2014-05-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 ( #4#@#2014-05-04#@#B1-1#@#1#@#3#@#0#@#3#@#1#@#p#@#60118_4#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '4','2014-05-04','B2-1','1','29','0','29','1','p','60118_4','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '4' and close_date = '2014-05-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 ( #4#@#2014-05-04#@#B2-1#@#1#@#29#@#0#@#29#@#1#@#p#@#60118_4#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '4','2014-05-04','B3-1','1','15','0','15','1','p','60118_4','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '4' and close_date = '2014-05-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 ( #4#@#2014-05-04#@#B3-1#@#1#@#15#@#0#@#15#@#1#@#p#@#60118_4#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '4','2014-05-04','B6-1','1','132','0','132','1','p','60118_4','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '4' and close_date = '2014-05-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 ( #4#@#2014-05-04#@#B6-1#@#1#@#132#@#0#@#132#@#1#@#p#@#60118_4#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '4','2014-05-04','B7-1','1','0','0','0','1','p','60118_4','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '4' and close_date = '2014-05-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 ( #4#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_4#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1446','2014-05-04','B1-1','1','0','0','0','1','p','60285_1446','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1446' and close_date = '2014-05-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 ( #1446#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1446#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1446','2014-05-04','B2-1','1','0','0','0','1','p','60285_1446','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1446' and close_date = '2014-05-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 ( #1446#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1446#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1446','2014-05-04','B3-1','1','0','0','0','1','p','60285_1446','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1446' and close_date = '2014-05-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 ( #1446#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1446#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1446','2014-05-04','B6-1','1','17','0','17','1','p','60285_1446','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1446' and close_date = '2014-05-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 ( #1446#@#2014-05-04#@#B6-1#@#1#@#17#@#0#@#17#@#1#@#p#@#60285_1446#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1446','2014-05-04','B7-1','1','0','0','0','1','p','60285_1446','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1446' and close_date = '2014-05-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 ( #1446#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1446#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-01','B1-1','2','19','0','19','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-01#@#B1-1#@#2#@#19#@#0#@#19#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-01','B2-1','2','1','0','1','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-01#@#B2-1#@#2#@#1#@#0#@#1#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-01','B3-1','2','0','0','0','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-01#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-01','B6-1','2','16','0','16','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-01#@#B6-1#@#2#@#16#@#0#@#16#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-01','B7-1','2','0','0','0','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-01#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','19','0','19','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-04#@#B1-1#@#1#@#19#@#0#@#19#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','1','0','1','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-04#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','0','0','0','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','16','0','16','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-04#@#B6-1#@#1#@#16#@#0#@#16#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','58031_1363','2014-05-05',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 = '2014-05-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 ( #1363#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1363#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','2','0','2','1','p','61071_1346','2014-05-05',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 = '2014-05-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 ( #1346#@#2014-05-04#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#61071_1346#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','2','0','2','1','p','61071_1346','2014-05-05',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 = '2014-05-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 ( #1346#@#2014-05-04#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#61071_1346#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','2','0','2','1','p','61071_1346','2014-05-05',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 = '2014-05-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 ( #1346#@#2014-05-04#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#61071_1346#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','452','0','452','1','p','61071_1346','2014-05-05',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 = '2014-05-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 ( #1346#@#2014-05-04#@#B6-1#@#1#@#452#@#0#@#452#@#1#@#p#@#61071_1346#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','61071_1346','2014-05-05',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 = '2014-05-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 ( #1346#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61071_1346#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','48','0','48','1','p','42003_1221','2014-05-05',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 = '2014-05-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 ( #1221#@#2014-05-04#@#B1-1#@#1#@#48#@#0#@#48#@#1#@#p#@#42003_1221#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','7','0','7','1','p','42003_1221','2014-05-05',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 = '2014-05-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 ( #1221#@#2014-05-04#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#42003_1221#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','2','0','2','1','p','42003_1221','2014-05-05',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 = '2014-05-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 ( #1221#@#2014-05-04#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42003_1221#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','0','0','0','1','p','42003_1221','2014-05-05',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 = '2014-05-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 ( #1221#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42003_1221#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','42003_1221','2014-05-05',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 = '2014-05-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 ( #1221#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42003_1221#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1173','2014-05-04','B1-1','1','26','0','26','1','p','36097_BB','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2014-05-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 ( #1173#@#2014-05-04#@#B1-1#@#1#@#26#@#0#@#26#@#1#@#p#@#36097_BB#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1173','2014-05-04','B2-1','1','0','0','0','1','p','36097_BB','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2014-05-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 ( #1173#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_BB#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1173','2014-05-04','B3-1','1','0','0','0','1','p','36097_BB','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2014-05-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 ( #1173#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_BB#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1173','2014-05-04','B6-1','1','21','0','21','1','p','36097_BB','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2014-05-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 ( #1173#@#2014-05-04#@#B6-1#@#1#@#21#@#0#@#21#@#1#@#p#@#36097_BB#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1173','2014-05-04','B7-1','1','0','0','0','1','p','36097_BB','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2014-05-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 ( #1173#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_BB#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','0','0','0','1','p','58031_1370','2014-05-05',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 = '2014-05-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 ( #1370#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1370#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','0','0','0','1','p','58031_1370','2014-05-05',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 = '2014-05-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 ( #1370#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1370#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','0','0','0','1','p','58031_1370','2014-05-05',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 = '2014-05-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 ( #1370#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1370#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','32','0','32','1','p','58031_1370','2014-05-05',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 = '2014-05-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 ( #1370#@#2014-05-04#@#B6-1#@#1#@#32#@#0#@#32#@#1#@#p#@#58031_1370#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','58031_1370','2014-05-05',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 = '2014-05-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 ( #1370#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1370#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','5','0','5','1','p','40317_1373','2014-05-05',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 = '2014-05-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 ( #1373#@#2014-05-04#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','4','0','4','1','p','40317_1373','2014-05-05',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 = '2014-05-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 ( #1373#@#2014-05-04#@#B2-1#@#1#@#4#@#0#@#4#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','2','0','2','1','p','40317_1373','2014-05-05',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 = '2014-05-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 ( #1373#@#2014-05-04#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','16','0','16','1','p','40317_1373','2014-05-05',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 = '2014-05-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 ( #1373#@#2014-05-04#@#B6-1#@#1#@#16#@#0#@#16#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','40317_1373','2014-05-05',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 = '2014-05-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 ( #1373#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1377','2014-05-04','B1-1','1','55','0','55','1','p','59853','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2014-05-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 ( #1377#@#2014-05-04#@#B1-1#@#1#@#55#@#0#@#55#@#1#@#p#@#59853#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1377','2014-05-04','B2-1','1','0','0','0','1','p','59853','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2014-05-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 ( #1377#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59853#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1377','2014-05-04','B3-1','1','0','0','0','1','p','59853','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2014-05-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 ( #1377#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59853#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1377','2014-05-04','B6-1','1','0','0','0','1','p','59853','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2014-05-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 ( #1377#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59853#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1377','2014-05-04','B7-1','1','0','0','0','1','p','59853','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2014-05-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 ( #1377#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59853#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-04','B1-1','1','116','0','116','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-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 ( #81#@#2014-05-04#@#B1-1#@#1#@#116#@#0#@#116#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-04','B2-1','1','42','0','42','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-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 ( #81#@#2014-05-04#@#B2-1#@#1#@#42#@#0#@#42#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-04','B3-1','1','47','0','47','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-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 ( #81#@#2014-05-04#@#B3-1#@#1#@#47#@#0#@#47#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-04','B6-1','1','39','0','39','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-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 ( #81#@#2014-05-04#@#B6-1#@#1#@#39#@#0#@#39#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-04','B7-1','1','0','0','0','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-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 ( #81#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-02','B1-1','1','89','0','89','1','p','onanong','2014-05-05',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 = '2014-05-02' 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#@#2014-05-02#@#B1-1#@#1#@#89#@#0#@#89#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-02','B2-1','1','56','0','56','1','p','onanong','2014-05-05',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 = '2014-05-02' 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#@#2014-05-02#@#B2-1#@#1#@#56#@#0#@#56#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-02','B3-1','1','54','0','54','1','p','onanong','2014-05-05',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 = '2014-05-02' 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#@#2014-05-02#@#B3-1#@#1#@#54#@#0#@#54#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-02','B6-1','1','32','0','32','1','p','onanong','2014-05-05',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 = '2014-05-02' 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#@#2014-05-02#@#B6-1#@#1#@#32#@#0#@#32#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-02','B7-1','1','1','0','1','1','p','onanong','2014-05-05',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 = '2014-05-02' 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#@#2014-05-02#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B1-1','1','89','0','89','1','p','onanong','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B1-1#@#1#@#89#@#0#@#89#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B2-1','1','56','0','56','1','p','onanong','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B2-1#@#1#@#56#@#0#@#56#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B3-1','1','54','0','54','1','p','onanong','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B3-1#@#1#@#54#@#0#@#54#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B6-1','1','32','0','32','1','p','onanong','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B6-1#@#1#@#32#@#0#@#32#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B7-1','1','1','0','1','1','p','onanong','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','89','0','89','1','p','onanong','2014-05-05',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 = '2014-05-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 ( #9999#@#2014-05-04#@#B1-1#@#1#@#89#@#0#@#89#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','56','0','56','1','p','onanong','2014-05-05',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 = '2014-05-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 ( #9999#@#2014-05-04#@#B2-1#@#1#@#56#@#0#@#56#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','54','0','54','1','p','onanong','2014-05-05',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 = '2014-05-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 ( #9999#@#2014-05-04#@#B3-1#@#1#@#54#@#0#@#54#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','32','0','32','1','p','onanong','2014-05-05',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 = '2014-05-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 ( #9999#@#2014-05-04#@#B6-1#@#1#@#32#@#0#@#32#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','1','0','1','1','p','onanong','2014-05-05',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 = '2014-05-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 ( #9999#@#2014-05-04#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#onanong#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','0','0','0','1','p','34300_1382','2014-05-05',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 = '2014-05-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 ( #1382#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34300_1382#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','1','0','1','1','p','34300_1382','2014-05-05',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 = '2014-05-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 ( #1382#@#2014-05-04#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#34300_1382#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','0','0','0','1','p','34300_1382','2014-05-05',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 = '2014-05-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 ( #1382#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34300_1382#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','35','0','35','1','p','34300_1382','2014-05-05',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 = '2014-05-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 ( #1382#@#2014-05-04#@#B6-1#@#1#@#35#@#0#@#35#@#1#@#p#@#34300_1382#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','1','0','1','1','p','34300_1382','2014-05-05',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 = '2014-05-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 ( #1382#@#2014-05-04#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#34300_1382#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-04','B1-1','1','16','0','16','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-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 ( #1260#@#2014-05-04#@#B1-1#@#1#@#16#@#0#@#16#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-04','B2-1','1','7','0','7','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-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 ( #1260#@#2014-05-04#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-04','B3-1','1','13','0','13','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-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 ( #1260#@#2014-05-04#@#B3-1#@#1#@#13#@#0#@#13#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-04','B6-1','1','11','0','11','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-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 ( #1260#@#2014-05-04#@#B6-1#@#1#@#11#@#0#@#11#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-04','B7-1','1','0','0','0','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-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 ( #1260#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1238','2014-05-04','B1-1','1','0','0','0','1','p','60949_1238','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1238' and close_date = '2014-05-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 ( #1238#@#2014-05-04#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60949_1238#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1238','2014-05-04','B2-1','1','1','0','1','1','p','60949_1238','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1238' and close_date = '2014-05-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 ( #1238#@#2014-05-04#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#60949_1238#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1238','2014-05-04','B3-1','1','0','0','0','1','p','60949_1238','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1238' and close_date = '2014-05-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 ( #1238#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60949_1238#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1238','2014-05-04','B6-1','1','41','0','41','1','p','60949_1238','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1238' and close_date = '2014-05-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 ( #1238#@#2014-05-04#@#B6-1#@#1#@#41#@#0#@#41#@#1#@#p#@#60949_1238#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1238','2014-05-04','B7-1','1','0','0','0','1','p','60949_1238','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1238' and close_date = '2014-05-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 ( #1238#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60949_1238#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B1-1','1','81','0','81','1','p','55742_1423','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B1-1#@#1#@#81#@#0#@#81#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B2-1','1','0','0','0','1','p','55742_1423','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B3-1','1','0','0','0','1','p','55742_1423','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B6-1','1','0','0','0','1','p','55742_1423','2014-05-05',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 = '2014-05-03' 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#@#2014-05-03#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-03','B7-1','1','0','0','0','1','p','55742_1423','2014-05-05',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 = '2014-05-03' 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 ( #1423#@#2014-05-03#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','81','0','81','1','p','55742_1423','2014-05-05',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 = '2014-05-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 ( #1423#@#2014-05-04#@#B1-1#@#1#@#81#@#0#@#81#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','0','0','0','1','p','55742_1423','2014-05-05',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 = '2014-05-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 ( #1423#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','0','0','0','1','p','55742_1423','2014-05-05',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 = '2014-05-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 ( #1423#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','0','0','0','1','p','55742_1423','2014-05-05',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 = '2014-05-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 ( #1423#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','55742_1423','2014-05-05',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 = '2014-05-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 ( #1423#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-05-04','B1-1','1','31','0','31','1','p','55733_1099','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-05-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 ( #1099#@#2014-05-04#@#B1-1#@#1#@#31#@#0#@#31#@#1#@#p#@#55733_1099#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-05-04','B2-1','1','76','0','76','1','p','55733_1099','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-05-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 ( #1099#@#2014-05-04#@#B2-1#@#1#@#76#@#0#@#76#@#1#@#p#@#55733_1099#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-05-04','B3-1','1','8','0','8','1','p','55733_1099','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-05-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 ( #1099#@#2014-05-04#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#55733_1099#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-05-04','B6-1','1','254','0','254','1','p','55733_1099','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-05-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 ( #1099#@#2014-05-04#@#B6-1#@#1#@#254#@#0#@#254#@#1#@#p#@#55733_1099#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-05-04','B7-1','1','0','0','0','1','p','55733_1099','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-05-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 ( #1099#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55733_1099#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1265','2014-05-04','B1-1','1','1','0','1','1','p','60844_1265','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1265' and close_date = '2014-05-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 ( #1265#@#2014-05-04#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#60844_1265#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1265','2014-05-04','B2-1','1','1','0','1','1','p','60844_1265','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1265' and close_date = '2014-05-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 ( #1265#@#2014-05-04#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#60844_1265#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1265','2014-05-04','B3-1','1','3','0','3','1','p','60844_1265','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1265' and close_date = '2014-05-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 ( #1265#@#2014-05-04#@#B3-1#@#1#@#3#@#0#@#3#@#1#@#p#@#60844_1265#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1265','2014-05-04','B6-1','1','47','0','47','1','p','60844_1265','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1265' and close_date = '2014-05-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 ( #1265#@#2014-05-04#@#B6-1#@#1#@#47#@#0#@#47#@#1#@#p#@#60844_1265#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1265','2014-05-04','B7-1','1','0','0','0','1','p','60844_1265','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1265' and close_date = '2014-05-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 ( #1265#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60844_1265#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-02','B1-1','2','16','0','16','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-02' 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 ( #1260#@#2014-05-02#@#B1-1#@#2#@#16#@#0#@#16#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-02','B2-1','2','7','0','7','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-02' 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 ( #1260#@#2014-05-02#@#B2-1#@#2#@#7#@#0#@#7#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-02','B3-1','2','13','0','13','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-02' 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 ( #1260#@#2014-05-02#@#B3-1#@#2#@#13#@#0#@#13#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-02','B6-1','2','11','0','11','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-02' 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 ( #1260#@#2014-05-02#@#B6-1#@#2#@#11#@#0#@#11#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-02','B7-1','2','0','0','0','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-02' 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 ( #1260#@#2014-05-02#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-03','B1-1','2','16','0','16','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-03' 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 ( #1260#@#2014-05-03#@#B1-1#@#2#@#16#@#0#@#16#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-03','B2-1','2','7','0','7','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-03' 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 ( #1260#@#2014-05-03#@#B2-1#@#2#@#7#@#0#@#7#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-03','B3-1','2','13','0','13','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-03' 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 ( #1260#@#2014-05-03#@#B3-1#@#2#@#13#@#0#@#13#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-03','B6-1','2','11','0','11','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-03' 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 ( #1260#@#2014-05-03#@#B6-1#@#2#@#11#@#0#@#11#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-05-03','B7-1','2','0','0','0','1','p','44742_1260','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-05-03' 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 ( #1260#@#2014-05-03#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#44742_1260#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-02','B1-1','1','24','0','24','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-02' 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 ( #328#@#2014-05-02#@#B1-1#@#1#@#24#@#0#@#24#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-02','B2-1','1','46','0','46','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-02' 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 ( #328#@#2014-05-02#@#B2-1#@#1#@#46#@#0#@#46#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-02','B3-1','1','27','0','27','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-02' 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 ( #328#@#2014-05-02#@#B3-1#@#1#@#27#@#0#@#27#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-02','B6-1','1','279','0','279','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-02' 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 ( #328#@#2014-05-02#@#B6-1#@#1#@#279#@#0#@#279#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-02','B7-1','1','0','0','0','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-02' 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 ( #328#@#2014-05-02#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-03','B1-1','1','24','0','24','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-03' 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 ( #328#@#2014-05-03#@#B1-1#@#1#@#24#@#0#@#24#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-03','B2-1','1','46','0','46','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-03' 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 ( #328#@#2014-05-03#@#B2-1#@#1#@#46#@#0#@#46#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-03','B3-1','1','27','0','27','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-03' 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 ( #328#@#2014-05-03#@#B3-1#@#1#@#27#@#0#@#27#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-03','B6-1','1','279','0','279','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-03' 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 ( #328#@#2014-05-03#@#B6-1#@#1#@#279#@#0#@#279#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-03','B7-1','1','0','0','0','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-03' 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 ( #328#@#2014-05-03#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-04','B1-1','1','24','0','24','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-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 ( #328#@#2014-05-04#@#B1-1#@#1#@#24#@#0#@#24#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-04','B2-1','1','46','0','46','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-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 ( #328#@#2014-05-04#@#B2-1#@#1#@#46#@#0#@#46#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-04','B3-1','1','27','0','27','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-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 ( #328#@#2014-05-04#@#B3-1#@#1#@#27#@#0#@#27#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-04','B6-1','1','279','0','279','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-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 ( #328#@#2014-05-04#@#B6-1#@#1#@#279#@#0#@#279#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '328','2014-05-04','B7-1','1','0','0','0','1','p','37105','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2014-05-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 ( #328#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#37105#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','693','0','693','1','p','38781_40','2014-05-05',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 = '2014-05-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 ( #40#@#2014-05-04#@#B1-1#@#1#@#693#@#0#@#693#@#1#@#p#@#38781_40#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','91','0','91','1','p','38781_40','2014-05-05',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 = '2014-05-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 ( #40#@#2014-05-04#@#B2-1#@#1#@#91#@#0#@#91#@#1#@#p#@#38781_40#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','4','0','4','1','p','38781_40','2014-05-05',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 = '2014-05-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 ( #40#@#2014-05-04#@#B3-1#@#1#@#4#@#0#@#4#@#1#@#p#@#38781_40#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','0','0','0','1','p','38781_40','2014-05-05',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 = '2014-05-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 ( #40#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_40#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','38781_40','2014-05-05',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 = '2014-05-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 ( #40#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_40#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','3','1','0','1','1','p','34016_1351','2014-05-05',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 = '2014-05-04' and pl_id = 'B1-1' and seq_close = '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_promise (branch_id@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#@#2014-05-04#@#B1-1#@#3#@#1#@#0#@#1#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','3','8','0','8','1','p','34016_1351','2014-05-05',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 = '2014-05-04' and pl_id = 'B2-1' and seq_close = '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_promise (branch_id@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#@#2014-05-04#@#B2-1#@#3#@#8#@#0#@#8#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','3','7','0','7','1','p','34016_1351','2014-05-05',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 = '2014-05-04' and pl_id = 'B3-1' and seq_close = '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_promise (branch_id@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#@#2014-05-04#@#B3-1#@#3#@#7#@#0#@#7#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','3','214','0','214','1','p','34016_1351','2014-05-05',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 = '2014-05-04' and pl_id = 'B6-1' and seq_close = '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_promise (branch_id@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#@#2014-05-04#@#B6-1#@#3#@#214#@#0#@#214#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','3','1','0','1','1','p','34016_1351','2014-05-05',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 = '2014-05-04' and pl_id = 'B7-1' and seq_close = '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_promise (branch_id@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#@#2014-05-04#@#B7-1#@#3#@#1#@#0#@#1#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','1','0','1','1','p','34016_1351','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','8','0','8','1','p','34016_1351','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','7','0','7','1','p','34016_1351','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#7#@#0#@#7#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','214','0','214','1','p','34016_1351','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#214#@#0#@#214#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','1','0','1','1','p','34016_1351','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#34016_1351#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-05-05','B1-1','1','38','0','38','1','p','50582_1256','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-05-05' 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 ( #1256#@#2014-05-05#@#B1-1#@#1#@#38#@#0#@#38#@#1#@#p#@#50582_1256#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-05-05','B2-1','1','3','0','3','1','p','50582_1256','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-05-05' 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 ( #1256#@#2014-05-05#@#B2-1#@#1#@#3#@#0#@#3#@#1#@#p#@#50582_1256#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-05-05','B3-1','1','8','0','8','1','p','50582_1256','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-05-05' 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 ( #1256#@#2014-05-05#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#50582_1256#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-05-05','B6-1','1','6','0','6','1','p','50582_1256','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-05-05' 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 ( #1256#@#2014-05-05#@#B6-1#@#1#@#6#@#0#@#6#@#1#@#p#@#50582_1256#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-05-05','B7-1','1','0','0','0','1','p','50582_1256','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-05-05' 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 ( #1256#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','2','324','0','324','1','p','49692_1115','2014-05-05',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 = '2014-05-04' 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#@#2014-05-04#@#B1-1#@#2#@#324#@#0#@#324#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','2','23','0','23','1','p','49692_1115','2014-05-05',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 = '2014-05-04' 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#@#2014-05-04#@#B2-1#@#2#@#23#@#0#@#23#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','2','25','0','25','1','p','49692_1115','2014-05-05',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 = '2014-05-04' 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#@#2014-05-04#@#B3-1#@#2#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','2','12','0','12','1','p','49692_1115','2014-05-05',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 = '2014-05-04' 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#@#2014-05-04#@#B6-1#@#2#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','2','0','0','0','1','p','49692_1115','2014-05-05',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 = '2014-05-04' 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#@#2014-05-04#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','324','1','325','1','p','49692_1115','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#324#@#1#@#325#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','23','0','23','1','p','49692_1115','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#23#@#0#@#23#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','25','0','25','1','p','49692_1115','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','12','0','12','1','p','49692_1115','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','49692_1115','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-04','B1-1','1','2','0','2','1','p','58235_1443','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-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 ( #1443#@#2014-05-04#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#58235_1443#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-04','B2-1','1','0','0','0','1','p','58235_1443','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-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 ( #1443#@#2014-05-04#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1443#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-04','B3-1','1','0','0','0','1','p','58235_1443','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-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 ( #1443#@#2014-05-04#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1443#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-04','B6-1','1','0','0','0','1','p','58235_1443','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-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 ( #1443#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1443#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1443','2014-05-04','B7-1','1','0','0','0','1','p','58235_1443','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1443' and close_date = '2014-05-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 ( #1443#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1443#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','0','0','0','1','p','45247_1376','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','0','0','0','1','p','45247_1376','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','0','0','0','1','p','45247_1376','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','5','0','5','1','p','45247_1376','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#45247_1376#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','45247_1376','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','2','0','0','0','1','p','60436_ps','2014-05-05',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 = '2014-05-04' 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 ( #1243#@#2014-05-04#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','2','0','0','0','1','p','60436_ps','2014-05-05',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 = '2014-05-04' 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 ( #1243#@#2014-05-04#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','2','0','0','0','1','p','60436_ps','2014-05-05',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 = '2014-05-04' 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 ( #1243#@#2014-05-04#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','2','282','0','282','1','p','60436_ps','2014-05-05',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 = '2014-05-04' 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 ( #1243#@#2014-05-04#@#B6-1#@#2#@#282#@#0#@#282#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','2','0','0','0','1','p','60436_ps','2014-05-05',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 = '2014-05-04' 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 ( #1243#@#2014-05-04#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','0','0','0','1','p','60436_ps','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','0','0','0','1','p','60436_ps','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','0','0','0','1','p','60436_ps','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','282','3','285','1','p','60436_ps','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#282#@#3#@#285#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','60436_ps','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-05','B1-1','1','116','0','116','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-05' 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 ( #81#@#2014-05-05#@#B1-1#@#1#@#116#@#0#@#116#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-05','B2-1','1','42','0','42','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-05' 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 ( #81#@#2014-05-05#@#B2-1#@#1#@#42#@#0#@#42#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-05','B3-1','1','47','0','47','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-05' 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 ( #81#@#2014-05-05#@#B3-1#@#1#@#47#@#0#@#47#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-05','B6-1','1','39','0','39','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-05' 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 ( #81#@#2014-05-05#@#B6-1#@#1#@#39#@#0#@#39#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '81','2014-05-05','B7-1','1','0','0','0','1','p','56792_81','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '81' and close_date = '2014-05-05' 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 ( #81#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56792_81#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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 ( #1261#@#2014-05-05#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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 ( #1261#@#2014-05-05#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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 ( #1261#@#2014-05-05#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','291','0','291','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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 ( #1261#@#2014-05-05#@#B6-1#@#1#@#291#@#0#@#291#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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 ( #1261#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-01','B1-1','2','0','0','0','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-01#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-01','B2-1','2','0','0','0','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-01#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-01','B3-1','2','0','0','0','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-01#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-01','B6-1','2','5','0','5','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-01#@#B6-1#@#2#@#5#@#0#@#5#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-01','B7-1','2','0','0','0','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-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 ( #1252#@#2014-05-01#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-05','B1-1','1','0','0','0','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-05' 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 ( #1252#@#2014-05-05#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-05','B2-1','1','0','0','0','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-05' 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 ( #1252#@#2014-05-05#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-05','B3-1','1','0','0','0','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-05' 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 ( #1252#@#2014-05-05#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-05','B6-1','1','5','0','5','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-05' 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 ( #1252#@#2014-05-05#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1252','2014-05-05','B7-1','1','0','0','0','1','p','57395_1252','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1252' and close_date = '2014-05-05' 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 ( #1252#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1252#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','2','5','0','5','1','p','40317_1373','2014-05-05',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 = '2014-05-04' 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 ( #1373#@#2014-05-04#@#B1-1#@#2#@#5#@#0#@#5#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','2','4','0','4','1','p','40317_1373','2014-05-05',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 = '2014-05-04' 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 ( #1373#@#2014-05-04#@#B2-1#@#2#@#4#@#0#@#4#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','2','2','0','2','1','p','40317_1373','2014-05-05',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 = '2014-05-04' 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 ( #1373#@#2014-05-04#@#B3-1#@#2#@#2#@#0#@#2#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','2','16','0','16','1','p','40317_1373','2014-05-05',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 = '2014-05-04' 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 ( #1373#@#2014-05-04#@#B6-1#@#2#@#16#@#0#@#16#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','2','0','0','0','1','p','40317_1373','2014-05-05',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 = '2014-05-04' 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 ( #1373#@#2014-05-04#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#40317_1373#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','2','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','2','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','2','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','2','291','0','291','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#2#@#291#@#0#@#291#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','2','0','0','0','1','p','56066_1261','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1261#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','36','0','36','1','p','45083_1159','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#36#@#0#@#36#@#1#@#p#@#45083_1159#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','0','0','0','1','p','45083_1159','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45083_1159#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','2','0','2','1','p','45083_1159','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#45083_1159#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','23','0','23','1','p','45083_1159','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#23#@#0#@#23#@#1#@#p#@#45083_1159#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','45083_1159','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45083_1159#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-05','B1-1','1','761','0','761','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-05' 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 ( #452#@#2014-05-05#@#B1-1#@#1#@#761#@#0#@#761#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-05','B2-1','1','44','0','44','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-05' 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 ( #452#@#2014-05-05#@#B2-1#@#1#@#44#@#0#@#44#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-05','B3-1','1','5','0','5','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-05' 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 ( #452#@#2014-05-05#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-05','B6-1','1','232','0','232','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-05' 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 ( #452#@#2014-05-05#@#B6-1#@#1#@#232#@#0#@#232#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-05-05','B7-1','1','0','0','0','1','p','60976_452','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-05-05' 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 ( #452#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60976_452#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-05','B1-1','1','0','0','0','1','p','57341_1344','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-05' 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 ( #1344#@#2014-05-05#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-05','B2-1','1','0','0','0','1','p','57341_1344','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-05' 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 ( #1344#@#2014-05-05#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-05','B3-1','1','2','0','2','1','p','57341_1344','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-05' 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 ( #1344#@#2014-05-05#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#57341_1344#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-05','B6-1','1','147','0','147','1','p','57341_1344','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-05' 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 ( #1344#@#2014-05-05#@#B6-1#@#1#@#147#@#0#@#147#@#1#@#p#@#57341_1344#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1344','2014-05-05','B7-1','1','0','0','0','1','p','57341_1344','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1344' and close_date = '2014-05-05' 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 ( #1344#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57341_1344#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-05','B1-1','1','0','0','0','1','p','36211_1424','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-05' 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 ( #1424#@#2014-05-05#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-05','B2-1','1','0','0','0','1','p','36211_1424','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-05' 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 ( #1424#@#2014-05-05#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-05','B3-1','1','0','0','0','1','p','36211_1424','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-05' 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 ( #1424#@#2014-05-05#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-05','B6-1','1','57','0','57','1','p','36211_1424','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-05' 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 ( #1424#@#2014-05-05#@#B6-1#@#1#@#57#@#0#@#57#@#1#@#p#@#36211_1424#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-05-05','B7-1','1','0','0','0','1','p','36211_1424','2014-05-05',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-05-05' 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 ( #1424#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','2','117','0','117','1','p','60743_215','2014-05-05',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 = '2014-05-04' 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 ( #215#@#2014-05-04#@#B1-1#@#2#@#117#@#0#@#117#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','2','191','0','191','1','p','60743_215','2014-05-05',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 = '2014-05-04' 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 ( #215#@#2014-05-04#@#B2-1#@#2#@#191#@#0#@#191#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','2','13','0','13','1','p','60743_215','2014-05-05',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 = '2014-05-04' 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 ( #215#@#2014-05-04#@#B3-1#@#2#@#13#@#0#@#13#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','2','3099','3','3102','1','p','60743_215','2014-05-05',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 = '2014-05-04' 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 ( #215#@#2014-05-04#@#B6-1#@#2#@#3099#@#3#@#3102#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','2','0','0','0','1','p','60743_215','2014-05-05',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 = '2014-05-04' 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 ( #215#@#2014-05-04#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','117','0','117','1','p','60743_215','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#117#@#0#@#117#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','191','0','191','1','p','60743_215','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#191#@#0#@#191#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','13','0','13','1','p','60743_215','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#13#@#0#@#13#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','3102','5','3107','1','p','60743_215','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#3102#@#5#@#3107#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','60743_215','2014-05-05',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60743_215#@#2014-05-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '158','2014-05-05','B1-1','1','210','0','210','1','p','49714_158','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2014-05-05' 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 ( #158#@#2014-05-05#@#B1-1#@#1#@#210#@#0#@#210#@#1#@#p#@#49714_158#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '158','2014-05-05','B2-1','1','180','0','180','1','p','49714_158','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2014-05-05' 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 ( #158#@#2014-05-05#@#B2-1#@#1#@#180#@#0#@#180#@#1#@#p#@#49714_158#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '158','2014-05-05','B3-1','1','73','0','73','1','p','49714_158','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2014-05-05' 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 ( #158#@#2014-05-05#@#B3-1#@#1#@#73#@#0#@#73#@#1#@#p#@#49714_158#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '158','2014-05-05','B6-1','1','2246','8','2254','1','p','49714_158','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2014-05-05' 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 ( #158#@#2014-05-05#@#B6-1#@#1#@#2246#@#8#@#2254#@#1#@#p#@#49714_158#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '158','2014-05-05','B7-1','1','0','0','0','1','p','49714_158','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '158' and close_date = '2014-05-05' 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 ( #158#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#49714_158#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','1','824','0','824','1','p','56645_1162','2014-05-06',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 = '2014-05-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 ( #1162#@#2014-05-04#@#B1-1#@#1#@#824#@#0#@#824#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','1','2','0','2','1','p','56645_1162','2014-05-06',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 = '2014-05-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 ( #1162#@#2014-05-04#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','1','4','0','4','1','p','56645_1162','2014-05-06',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 = '2014-05-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 ( #1162#@#2014-05-04#@#B3-1#@#1#@#4#@#0#@#4#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','1','0','0','0','1','p','56645_1162','2014-05-06',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 = '2014-05-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 ( #1162#@#2014-05-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','1','0','0','0','1','p','56645_1162','2014-05-06',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 = '2014-05-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 ( #1162#@#2014-05-04#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','824','0','824','1','p','56645_1162','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#824#@#0#@#824#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','2','0','2','1','p','56645_1162','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','4','0','4','1','p','56645_1162','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#4#@#0#@#4#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','0','0','0','1','p','56645_1162','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','56645_1162','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B1-1','2','59','0','59','1','p','60303_1054','2014-05-06',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 = '2014-05-04' 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#@#2014-05-04#@#B1-1#@#2#@#59#@#0#@#59#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B2-1','2','18','0','18','1','p','60303_1054','2014-05-06',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 = '2014-05-04' 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#@#2014-05-04#@#B2-1#@#2#@#18#@#0#@#18#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B3-1','2','19','0','19','1','p','60303_1054','2014-05-06',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 = '2014-05-04' 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#@#2014-05-04#@#B3-1#@#2#@#19#@#0#@#19#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B6-1','2','194','0','194','1','p','60303_1054','2014-05-06',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 = '2014-05-04' 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#@#2014-05-04#@#B6-1#@#2#@#194#@#0#@#194#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-04','B7-1','2','0','0','0','1','p','60303_1054','2014-05-06',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 = '2014-05-04' 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#@#2014-05-04#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','59','0','59','1','p','60303_1054','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#59#@#0#@#59#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','18','0','18','1','p','60303_1054','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#18#@#0#@#18#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','19','0','19','1','p','60303_1054','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#19#@#0#@#19#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','194','0','194','1','p','60303_1054','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#194#@#0#@#194#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','0','0','0','1','p','60303_1054','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60303_1054#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B1-1','1','89','0','89','1','p','onanong','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B1-1#@#1#@#89#@#0#@#89#@#1#@#p#@#onanong#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B2-1','1','56','0','56','1','p','onanong','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B2-1#@#1#@#56#@#0#@#56#@#1#@#p#@#onanong#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B3-1','1','54','0','54','1','p','onanong','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B3-1#@#1#@#54#@#0#@#54#@#1#@#p#@#onanong#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B6-1','1','32','0','32','1','p','onanong','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B6-1#@#1#@#32#@#0#@#32#@#1#@#p#@#onanong#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-05-05','B7-1','1','1','0','1','1','p','onanong','2014-05-06',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 = '2014-05-05' 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#@#2014-05-05#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#onanong#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-05','B1-1','1','49','2','51','1','p','33264_SKP','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-05' 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 ( #1187#@#2014-05-05#@#B1-1#@#1#@#49#@#2#@#51#@#1#@#p#@#33264_SKP#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-05','B2-1','1','0','0','0','1','p','33264_SKP','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-05' 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 ( #1187#@#2014-05-05#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-05','B3-1','1','0','0','0','1','p','33264_SKP','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-05' 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 ( #1187#@#2014-05-05#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-05','B6-1','1','38','0','38','1','p','33264_SKP','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-05' 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 ( #1187#@#2014-05-05#@#B6-1#@#1#@#38#@#0#@#38#@#1#@#p#@#33264_SKP#@#2014-05-06#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-05-05','B7-1','1','0','0','0','1','p','33264_SKP','2014-05-06',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-05-05' 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 ( #1187#@#2014-05-05#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-05-06#@now());')

#STOP # Total Record = 500
Select==> SELECT * FROM al_com_close_supplier WHERE log_status in ('e','a') limit 0,500

Can't Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '215','?576-06-20','agr01','1794','2765','0','2765','1','p','45573','2008-06-21',now());

select * from al_com_close_supplier WHERE branch_id = '215' and close_date = '?576-06-20' and sup_type = 'agr01' and seq_close = '1794'

Query k62.chaiyo-aa.com select * from al_com_close_supplier WHERE branch_id = '215' and close_date = '?576-06-20' and sup_type = 'agr01' and seq_close = '1794'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('ERROR', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #215#@#?576-06-20#@#agr01#@#1794#@#2765#@#0#@#2765#@#1#@#p#@#45573#@#2008-06-21#@now());')

Can't Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2013-06-15','agr06','2','0','0','0','1','p','40317_1373','2013-06-17',now());

select * from al_com_close_supplier WHERE branch_id = '1373' and close_date = '2013-06-15' and sup_type = 'agr06' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_supplier WHERE branch_id = '1373' and close_date = '2013-06-15' and sup_type = 'agr06' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-06-15' and sup_type = 'agr06' and seq_close = '2'

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2013-06-15','agr07','2','0','0','0','1','p','40317_1373','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2013-06-15' and sup_type = 'agr07' 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_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2013-06-15#@#agr07#@#2#@#0#@#0#@#0#@#1#@#p#@#40317_1373#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2013-06-16','agr01','1','540','0','540','1','p','56645_1162','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-06-16' and sup_type = 'agr01' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2013-06-16#@#agr01#@#1#@#540#@#0#@#540#@#1#@#p#@#56645_1162#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2013-06-16','agr02','1','0','0','0','1','p','56645_1162','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-06-16' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2013-06-16#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2013-06-16','agr03','1','0','0','0','1','p','56645_1162','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-06-16' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2013-06-16#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2013-06-16','agr04','1','0','0','0','1','p','56645_1162','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-06-16' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2013-06-16#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2013-06-16','agr05','1','0','0','0','1','p','56645_1162','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-06-16' and sup_type = 'agr05' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2013-06-16#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2013-06-16','agr06','1','1','0','1','1','p','56645_1162','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-06-16' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2013-06-16#@#agr06#@#1#@#1#@#0#@#1#@#1#@#p#@#56645_1162#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2013-06-16','agr07','1','0','0','0','1','p','56645_1162','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2013-06-16' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2013-06-16#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1162#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-15','agr01','2','46','0','46','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-15' and sup_type = 'agr01' 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_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-15#@#agr01#@#2#@#46#@#0#@#46#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-15','agr02','2','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-15' and sup_type = 'agr02' 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_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-15#@#agr02#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-15','agr03','2','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-15' and sup_type = 'agr03' 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_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-15#@#agr03#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-15','agr04','2','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-15' and sup_type = 'agr04' 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_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-15#@#agr04#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-15','agr05','2','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-15' and sup_type = 'agr05' 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_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-15#@#agr05#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-15','agr06','2','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-15' and sup_type = 'agr06' 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_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-15#@#agr06#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-15','agr07','2','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-15' and sup_type = 'agr07' 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_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-15#@#agr07#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-16','agr01','1','46','0','46','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-16' and sup_type = 'agr01' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-16#@#agr01#@#1#@#46#@#0#@#46#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-16','agr02','1','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-16' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-16#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-16','agr03','1','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-16' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-16#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-16','agr04','1','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-16' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-16#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-16','agr05','1','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-16' and sup_type = 'agr05' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-16#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-16','agr06','1','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-16' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-16#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2013-06-16','agr07','1','0','0','0','1','p','56645_NP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2013-06-16' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2013-06-16#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_NP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-06-16','agr01','1','4267','0','4267','1','p','47937_177','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-06-16' and sup_type = 'agr01' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-06-16#@#agr01#@#1#@#4267#@#0#@#4267#@#1#@#p#@#47937_177#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-06-16','agr02','1','1751','0','1751','1','p','47937_177','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-06-16' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-06-16#@#agr02#@#1#@#1751#@#0#@#1751#@#1#@#p#@#47937_177#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-06-16','agr03','1','2','0','2','1','p','47937_177','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-06-16' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-06-16#@#agr03#@#1#@#2#@#0#@#2#@#1#@#p#@#47937_177#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-06-16','agr04','1','0','0','0','1','p','47937_177','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-06-16' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-06-16#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_177#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-06-16','agr05','1','2','0','2','1','p','47937_177','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-06-16' and sup_type = 'agr05' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-06-16#@#agr05#@#1#@#2#@#0#@#2#@#1#@#p#@#47937_177#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-06-16','agr06','1','0','0','0','1','p','47937_177','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-06-16' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-06-16#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_177#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2013-06-16','agr07','1','0','0','0','1','p','47937_177','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2013-06-16' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2013-06-16#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_177#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2013-06-16','agr01','1','851','0','851','1','p','46986_1055','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2013-06-16' and sup_type = 'agr01' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2013-06-16#@#agr01#@#1#@#851#@#0#@#851#@#1#@#p#@#46986_1055#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2013-06-16','agr02','1','5','0','5','1','p','46986_1055','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2013-06-16' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2013-06-16#@#agr02#@#1#@#5#@#0#@#5#@#1#@#p#@#46986_1055#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2013-06-16','agr03','1','0','0','0','1','p','46986_1055','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2013-06-16' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2013-06-16#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2013-06-16','agr04','1','0','0','0','1','p','46986_1055','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2013-06-16' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2013-06-16#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2013-06-16','agr05','1','0','0','0','1','p','46986_1055','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2013-06-16' and sup_type = 'agr05' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2013-06-16#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2013-06-16','agr06','1','0','0','0','1','p','46986_1055','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2013-06-16' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2013-06-16#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2013-06-16','agr07','1','0','0','0','1','p','46986_1055','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2013-06-16' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2013-06-16#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2013-06-16','agr01','1','43','0','43','1','p','32490_SBL','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-06-16' and sup_type = 'agr01' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2013-06-16#@#agr01#@#1#@#43#@#0#@#43#@#1#@#p#@#32490_SBL#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2013-06-16','agr02','1','0','0','0','1','p','32490_SBL','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-06-16' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2013-06-16#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2013-06-16','agr03','1','0','0','0','1','p','32490_SBL','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-06-16' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2013-06-16#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2013-06-16','agr04','1','0','0','0','1','p','32490_SBL','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-06-16' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2013-06-16#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2013-06-16','agr05','1','0','0','0','1','p','32490_SBL','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-06-16' and sup_type = 'agr05' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2013-06-16#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2013-06-16','agr06','1','0','0','0','1','p','32490_SBL','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-06-16' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2013-06-16#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2013-06-16','agr07','1','0','0','0','1','p','32490_SBL','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2013-06-16' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2013-06-16#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2013-06-16','agr01','1','38','0','38','1','p','36097_SBP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2013-06-16' and sup_type = 'agr01' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2013-06-16#@#agr01#@#1#@#38#@#0#@#38#@#1#@#p#@#36097_SBP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2013-06-16','agr02','1','0','0','0','1','p','36097_SBP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2013-06-16' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2013-06-16#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2013-06-16','agr03','1','0','0','0','1','p','36097_SBP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2013-06-16' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2013-06-16#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2013-06-16','agr04','1','0','0','0','1','p','36097_SBP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2013-06-16' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2013-06-16#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2013-06-16','agr05','1','0','0','0','1','p','36097_SBP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2013-06-16' and sup_type = 'agr05' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2013-06-16#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2013-06-16','agr06','1','0','0','0','1','p','36097_SBP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2013-06-16' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2013-06-16#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2013-06-16','agr07','1','0','0','0','1','p','36097_SBP','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2013-06-16' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2013-06-16#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-06-16','agr01','1','91','0','91','1','p','36097_SRC','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-06-16' and sup_type = 'agr01' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1165#@#2013-06-16#@#agr01#@#1#@#91#@#0#@#91#@#1#@#p#@#36097_SRC#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-06-16','agr02','1','0','0','0','1','p','36097_SRC','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-06-16' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1165#@#2013-06-16#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SRC#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-06-16','agr03','1','0','0','0','1','p','36097_SRC','2013-06-17',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1165' and close_date = '2013-06-16' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1165#@#2013-06-16#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SRC#@#2013-06-17#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_supplier (branch_id,close_date,sup_type,seq_close,bf_amt,day_amt,sum_amt,sup_close_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1165','2013-06-16','agr04','1','0','0','0','1','p','36097_SRC','2013-06-17',now());

Query k82.chaiyo-aa.