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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-09-03','al01','BF','1','+','80688.00','1','63887_1439','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-09-03','al20','INC','1','+','0.00','1','63887_1439','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-09-03','al20','DEC','1','+','0.00','1','63887_1439','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1439','2017-09-03','al20','BF','1','+','0.20','1','63887_1439','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.20#@#1#@#63887_1439#@#p#@#2017-09-04#@now());')

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-03','al01','DEC','1','+','250.00','1','64354_1669','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-03','al01','BF','1','+','35340.00','1','64354_1669','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-03','al20','INC','1','+','0.00','1','64354_1669','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-03','al20','DEC','1','+','0.00','1','64354_1669','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-03','al20','BF','1','+','0.00','1','64354_1669','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1641#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-04#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1641#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-04#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1641#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1641' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-03','al01','DEC','1','+','75105.00','1','56912_1637','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-03','al01','BF','1','+','6156.00','1','56912_1637','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-03','al20','INC','1','+','0.00','1','56912_1637','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1637' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-03','al20','DEC','1','+','0.00','1','56912_1637','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1637' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-03','al20','BF','1','+','0.00','1','56912_1637','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1637' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-03','al01','DEC','1','+','28536.00','1','56912_215','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-03','al01','BF','1','+','198.00','1','56912_215','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-03','al20','INC','1','+','0.00','1','56912_215','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-03','al20','DEC','1','+','0.00','1','56912_215','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-03','al20','BF','1','+','0.00','1','56912_215','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-09-03','al01','DEC','1','+','600.00','1','60118_1668','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-09-03','al01','BF','1','+','6544.00','1','60118_1668','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-09-03','al20','INC','1','+','0.00','1','60118_1668','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-09-03','al20','DEC','1','+','0.00','1','60118_1668','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1668','2017-09-03','al20','BF','1','+','0.00','1','60118_1668','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1664' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-09-03','al01','BF','1','+','11300.00','1','64030_1665','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-09-03','al20','INC','1','+','0.00','1','64030_1665','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-09-03','al20','DEC','1','+','0.00','1','64030_1665','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1665','2017-09-03','al20','BF','1','+','0.00','1','64030_1665','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-09-01','al20','INC','1','+','0.00','1','31997_1604','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-09-01','al20','DEC','1','+','0.00','1','31997_1604','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-09-01','al20','BF','1','+','0.00','1','31997_1604','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al01','INC','2','+','0.00','1','50232_177','p','2017-09-04',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 = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al01','DEC','2','+','0.00','1','50232_177','p','2017-09-04',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 = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al01','BF','2','+','311.30','1','50232_177','p','2017-09-04',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 = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al20','INC','2','+','0.00','1','50232_177','p','2017-09-04',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 = '2017-09-02' and close_acc_book = 'al20' 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#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al20','DEC','2','+','0.00','1','50232_177','p','2017-09-04',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 = '2017-09-02' and close_acc_book = 'al20' 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#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al20','BF','2','+','0.58','1','50232_177','p','2017-09-04',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 = '2017-09-02' and close_acc_book = 'al20' 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#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.58#@#1#@#50232_177#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-09-02','al20','INC','1','+','0.00','1','31997_1604','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-09-02','al20','DEC','1','+','0.00','1','31997_1604','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1604','2017-09-02','al20','BF','1','+','0.00','1','31997_1604','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1604' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','INC','1','+','0.00','1','50232_177','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','DEC','1','+','0.00','1','50232_177','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','BF','1','+','311.30','1','50232_177','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','INC','1','+','0.00','1','50232_177','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','DEC','1','+','0.00','1','50232_177','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','BF','1','+','0.58','1','50232_177','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.58#@#1#@#50232_177#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-03','al20','INC','1','+','0.00','1','63765_1661','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-03','al20','DEC','1','+','0.00','1','63765_1661','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-03','al20','BF','1','+','0.00','1','63765_1661','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','INC','1','+','400000.00','1','63904_304','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','DEC','1','+','460000.00','1','63904_304','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','BF','1','+','64647.68','1','63904_304','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','INC','1','+','0.00','1','63904_304','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','DEC','1','+','400000.00','1','63904_304','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#400000.00#@#1#@#63904_304#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','BF','1','+','0.00','1','63904_304','p','2017-09-04',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 = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-03','al01','BF','1','+','5024.00','1','62022_bms','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-03','al20','INC','1','+','0.00','1','62022_bms','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-03','al20','DEC','1','+','0.00','1','62022_bms','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-03','al20','BF','1','+','0.00','1','62022_bms','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-03','al20','INC','1','+','0.00','1','64443_1676','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1676' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-03','al20','DEC','1','+','0.00','1','64443_1676','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1676' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-03','al20','BF','1','+','0.00','1','64443_1676','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1676' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-03','al01','BF','1','+','79002.00','1','62022_bms','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-03','al20','INC','1','+','0.00','1','62022_bms','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-03','al20','DEC','1','+','0.00','1','62022_bms','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-03','al20','BF','1','+','0.00','1','62022_bms','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-03','al20','INC','1','+','0.00','1','61273_1679','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1679' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-03','al20','DEC','1','+','0.00','1','61273_1679','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1679' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-03','al20','BF','1','+','0.00','1','61273_1679','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1679' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-02','al01','DEC','1','+','6714.00','1','64489_1645','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-02','al01','BF','1','+','11678.50','1','64489_1645','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-02','al20','INC','1','+','0.00','1','64489_1645','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-02','al20','DEC','1','+','0.00','1','64489_1645','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-02','al20','BF','1','+','0.00','1','64489_1645','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-03','al01','BF','1','+','27114.00','1','55029_476','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-03','al20','INC','1','+','0.00','1','55029_476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-03','al20','DEC','1','+','0.00','1','55029_476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-03','al20','BF','1','+','0.00','1','55029_476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-01','al01','INC','2','+','0.00','1','40192_1492','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-01','al01','DEC','2','+','0.00','1','40192_1492','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-01','al01','BF','2','+','0.00','1','40192_1492','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-01','al20','INC','2','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-01' and close_acc_book = 'al20' 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 ( #1492#@#2017-09-01#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-01','al20','DEC','2','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-01' and close_acc_book = 'al20' 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 ( #1492#@#2017-09-01#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-01','al20','BF','2','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-01' and close_acc_book = 'al20' 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 ( #1492#@#2017-09-01#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-02','al20','INC','1','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-02','al20','DEC','1','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-02','al20','BF','1','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-03','al01','BF','1','+','11678.50','1','64489_1645','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-03','al20','INC','1','+','0.00','1','64489_1645','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-03','al20','DEC','1','+','0.00','1','64489_1645','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-03','al20','BF','1','+','0.00','1','64489_1645','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1645' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-03','al20','INC','1','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-03','al20','DEC','1','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-03','al20','BF','1','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-03','al01','BF','2','+','0.00','1','40192_1492','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-03','al20','INC','2','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1492#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-03','al20','DEC','2','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1492#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1492','2017-09-03','al20','BF','2','+','0.00','1','40192_1492','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1492#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-02','al01','INC','2','+','0.00','1','56342_1227','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-02','al01','DEC','2','+','20378.00','1','56342_1227','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-02','al01','BF','2','+','19941.01','1','56342_1227','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-02','al20','INC','2','+','0.00','1','56342_1227','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1227#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#56342_1227#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-02','al20','DEC','2','+','0.00','1','56342_1227','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1227#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#56342_1227#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-02','al20','BF','2','+','140000.90','1','56342_1227','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1227#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#140000.90#@#1#@#56342_1227#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-02','al01','INC','4','+','0.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '4'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-02','al01','DEC','4','+','4960.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '4'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-02','al01','BF','4','+','44308.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '4'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-02','al20','INC','4','+','0.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '4'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-02','al20','DEC','4','+','0.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '4'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-02','al20','BF','4','+','500.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '4'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-09-02#@#al20#@#BF#@#4#@#+#@#500.00#@#1#@#64585_1672#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-03','al01','BF','1','+','19941.01','1','56342_1227','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-03','al20','INC','1','+','0.00','1','56342_1227','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-03','al20','DEC','1','+','0.00','1','56342_1227','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-03','al20','BF','1','+','140000.90','1','56342_1227','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#140000.90#@#1#@#56342_1227#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-09-02','al01','BF','1','+','25306.00','1','60217_1478','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-09-02','al20','INC','1','+','0.00','1','60217_1478','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-09-02','al20','DEC','1','+','0.00','1','60217_1478','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1478','2017-09-02','al20','BF','1','+','100000.00','1','60217_1478','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1478#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#100000.00#@#1#@#60217_1478#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-03','al01','BF','1','+','44308.00','1','64585_1672','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-03','al20','INC','1','+','0.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-03','al20','DEC','1','+','0.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-03','al20','BF','1','+','500.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#500.00#@#1#@#64585_1672#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-03','al01','BF','1','+','200000.00','1','54110_1638','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-03','al20','INC','1','+','200000.00','1','54110_1638','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1638' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-03','al20','DEC','1','+','200000.00','1','54110_1638','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1638' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-03','al20','BF','1','+','0.00','1','54110_1638','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1638' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-03','al01','BF','1','+','2075.00','1','64554_1671','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-03','al20','INC','1','+','0.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-03','al20','DEC','1','+','0.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-03','al20','BF','1','+','0.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-03','al01','BF','1','+','102493.00','1','32966_1658','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-03','al20','INC','1','+','0.00','1','32966_1658','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1658' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-03','al20','DEC','1','+','0.00','1','32966_1658','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1658' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-03','al20','BF','1','+','0.00','1','32966_1658','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1658' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-09-02','al01','BF','1','+','3137694.00','1','bms_center','p','2017-09-04',now());

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-09-02','al20','INC','1','+','0.00','1','bms_center','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-09-02','al20','DEC','1','+','0.00','1','bms_center','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-09-02','al20','BF','1','+','230.00','1','bms_center','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #9999#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#230.00#@#1#@#bms_center#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '9999','2017-09-03','al20','BF','1','+','230.00','1','bms_center','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-03','al01','BF','1','+','91289.00','1','61273_1666','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-03','al20','INC','1','+','0.00','1','61273_1666','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-03','al20','DEC','1','+','0.00','1','61273_1666','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-03','al20','BF','1','+','0.00','1','61273_1666','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1693','2017-09-03','al20','INC','1','+','0.00','1','60118_1693','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1693' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1693','2017-09-03','al20','DEC','1','+','0.00','1','60118_1693','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1693' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1693','2017-09-03','al20','BF','1','+','0.00','1','60118_1693','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1693' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-03','al01','BF','1','+','12358.77','1','34016_1477','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-03','al20','INC','1','+','0.00','1','34016_1477','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-03','al20','DEC','1','+','0.00','1','34016_1477','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-03','al20','BF','1','+','50000.00','1','34016_1477','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#50000.00#@#1#@#34016_1477#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-03','al01','BF','1','+','2000.00','1','57537_1473','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-03','al20','INC','1','+','0.00','1','57537_1473','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-03','al20','DEC','1','+','0.00','1','57537_1473','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-03','al20','BF','1','+','0.00','1','57537_1473','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1689','2017-09-02','al20','INC','1','+','0.00','1','64030_1689','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1689','2017-09-02','al20','DEC','1','+','0.00','1','64030_1689','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1689','2017-09-02','al20','BF','1','+','0.00','1','64030_1689','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1689','2017-09-03','al20','INC','1','+','0.00','1','64030_1689','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1689','2017-09-03','al20','DEC','1','+','0.00','1','64030_1689','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1689','2017-09-03','al20','BF','1','+','0.00','1','64030_1689','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1689' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-03','al20','INC','1','+','0.00','1','64554_1692','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1692' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-03','al20','DEC','1','+','0.00','1','64554_1692','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1692' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-03','al20','BF','1','+','0.00','1','64554_1692','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1692' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '9998','2017-09-02','al01','BF','1','+','5071.00','1','bms_center','p','2017-09-04',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-03','al20','INC','1','+','0.00','1','38781_1187','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-03','al20','DEC','1','+','0.00','1','38781_1187','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-03','al20','BF','1','+','0.00','1','38781_1187','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-03','al20','INC','1','+','0.00','1','34579_1229','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-03','al20','DEC','1','+','0.00','1','34579_1229','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-03','al20','BF','1','+','0.00','1','34579_1229','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-09-03','al01','BF','1','+','33872.00','1','64345_1642','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-09-03','al20','INC','1','+','0.00','1','64345_1642','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-09-03','al20','DEC','1','+','0.00','1','64345_1642','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-09-03','al20','BF','1','+','0.00','1','64345_1642','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1642' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1682','2017-09-03','al20','INC','1','+','0.00','1','60217_1682','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1682' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1682','2017-09-03','al20','DEC','1','+','0.00','1','60217_1682','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1682' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1682','2017-09-03','al20','BF','1','+','0.00','1','60217_1682','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1682' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-03','al20','INC','1','+','0.00','1','63663_1681','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1681' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-03','al20','DEC','1','+','0.00','1','63663_1681','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1681' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-03','al20','BF','1','+','0.00','1','63663_1681','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1681' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1678','2017-09-03','al20','INC','1','+','0.00','1','38781_1678','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1678' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1678','2017-09-03','al20','DEC','1','+','0.00','1','38781_1678','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1678' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1678','2017-09-03','al20','BF','1','+','0.00','1','38781_1678','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1678' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1174#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-09-04#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1174#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-09-04#@now());')

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1174#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1174' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-02','al01','INC','2','+','0.00','1','59815_1547','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-02','al01','DEC','2','+','0.00','1','59815_1547','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-02','al01','BF','2','+','0.00','1','59815_1547','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-02','al20','INC','2','+','0.00','1','59815_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1547#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#59815_1547#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-02','al20','DEC','2','+','0.00','1','59815_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1547#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#59815_1547#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-02','al20','BF','2','+','0.00','1','59815_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-02' and close_acc_book = 'al20' 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 ( #1547#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#59815_1547#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-03','al20','INC','1','+','0.00','1','59815_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-03','al20','DEC','1','+','0.00','1','59815_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-03','al20','BF','1','+','0.00','1','59815_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-04','al01','INC','1','+','0.00','1','63771_1547','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-04','al01','DEC','1','+','0.00','1','63771_1547','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-04','al01','BF','1','+','0.00','1','63771_1547','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-04','al20','INC','1','+','0.00','1','63771_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-04','al20','DEC','1','+','0.00','1','63771_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1547','2017-09-04','al20','BF','1','+','0.00','1','63771_1547','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-04','al01','INC','1','+','0.00','1','63765_1661','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-04','al01','DEC','1','+','0.00','1','63765_1661','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-04','al01','BF','1','+','0.00','1','63765_1661','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-04','al20','INC','1','+','0.00','1','63765_1661','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-04','al20','DEC','1','+','0.00','1','63765_1661','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-04','al20','BF','1','+','0.00','1','63765_1661','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-03','al01','BF','2','+','30770.00','1','47875_1351','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-03','al20','INC','2','+','0.00','1','47875_1351','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-03','al20','DEC','2','+','0.00','1','47875_1351','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-03','al20','BF','2','+','0.00','1','47875_1351','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-04','al01','INC','1','+','0.00','1','47875_1351','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-04','al01','DEC','1','+','13650.00','1','47875_1351','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-04','al01','BF','1','+','17120.00','1','47875_1351','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-04','al20','INC','1','+','0.00','1','47875_1351','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-04','al20','DEC','1','+','0.00','1','47875_1351','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-04','al20','BF','1','+','0.00','1','47875_1351','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-09-04','al01','INC','1','+','463750.00','1','60436_1425','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-09-04','al01','DEC','1','+','178572.00','1','60436_1425','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-09-04','al01','BF','1','+','285178.00','1','60436_1425','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-09-04','al20','INC','1','+','0.00','1','60436_1425','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-09-04','al20','DEC','1','+','0.00','1','60436_1425','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-09-04','al20','BF','1','+','0.00','1','60436_1425','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1425' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-03','al01','BF','2','+','33938.00','1','47875_1415','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-03','al20','INC','2','+','0.00','1','47875_1415','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1415#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-03','al20','DEC','2','+','0.00','1','47875_1415','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1415#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-03','al20','BF','2','+','0.00','1','47875_1415','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1415#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-03','al01','BF','2','+','9779.00','1','47875_1647','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-03','al20','INC','2','+','0.00','1','47875_1647','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1647#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-03','al20','DEC','2','+','0.00','1','47875_1647','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1647#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-03','al20','BF','2','+','0.00','1','47875_1647','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1647#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-04','al01','INC','1','+','0.00','1','47875_1415','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-04','al01','DEC','1','+','4930.00','1','47875_1415','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-04','al01','BF','1','+','29008.00','1','47875_1415','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-04','al20','INC','1','+','0.00','1','47875_1415','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-04','al20','DEC','1','+','0.00','1','47875_1415','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-04','al20','BF','1','+','0.00','1','47875_1415','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1415' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-04','al01','INC','1','+','0.00','1','47875_1647','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-04','al01','DEC','1','+','1054.00','1','47875_1647','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-04','al01','BF','1','+','8725.00','1','47875_1647','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-04','al20','INC','1','+','0.00','1','47875_1647','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-04','al20','DEC','1','+','0.00','1','47875_1647','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-04','al20','BF','1','+','0.00','1','47875_1647','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al01','INC','1','+','0.00','1','64575_1232','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al01','DEC','1','+','463750.00','1','64575_1232','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al01','BF','1','+','0.09','1','64575_1232','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al20','INC','1','+','0.00','1','64575_1232','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64575_1232#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al20','DEC','1','+','0.00','1','64575_1232','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64575_1232#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al20','BF','1','+','0.99','1','64575_1232','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#0.99#@#1#@#64575_1232#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-04','al01','INC','1','+','0.00','1','57537_1473','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-04','al01','DEC','1','+','0.00','1','57537_1473','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-04','al01','BF','1','+','2000.00','1','57537_1473','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-04','al20','INC','1','+','0.00','1','57537_1473','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-04','al20','DEC','1','+','0.00','1','57537_1473','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-04','al20','BF','1','+','0.00','1','57537_1473','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-04','al01','INC','1','+','0.00','1','64443_1676','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-04','al01','DEC','1','+','0.00','1','64443_1676','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-04','al01','BF','1','+','0.00','1','64443_1676','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-04','al20','INC','1','+','0.00','1','64443_1676','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1676' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-04','al20','DEC','1','+','0.00','1','64443_1676','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1676' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1676','2017-09-04','al20','BF','1','+','0.00','1','64443_1676','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1676' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-03','al01','DEC','2','+','17467.00','1','64443_1656','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-03','al01','BF','2','+','21790.00','1','64443_1656','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-03','al20','INC','2','+','0.00','1','64443_1656','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1656#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64443_1656#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-03','al20','DEC','2','+','0.00','1','64443_1656','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1656#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64443_1656#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-03','al20','BF','2','+','0.00','1','64443_1656','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' 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 ( #1656#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64443_1656#@#p#@#2017-09-04#@now());')

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-03','al20','INC','1','+','0.00','1','63957_1690','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1690' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-03','al20','DEC','1','+','0.00','1','63957_1690','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1690' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-03','al20','BF','1','+','0.00','1','63957_1690','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1690' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-04','al01','INC','1','+','0.00','1','63957_1690','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-04','al01','DEC','1','+','0.00','1','63957_1690','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-04','al01','BF','1','+','0.00','1','63957_1690','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-04','al20','INC','1','+','0.00','1','63957_1690','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1690' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-04','al20','DEC','1','+','0.00','1','63957_1690','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1690' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2017-09-04','al20','BF','1','+','0.00','1','63957_1690','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1690' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al01','INC','1','+','0.00','1','60000_1099','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al01','DEC','1','+','23816.00','1','60000_1099','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al01','BF','1','+','100213.00','1','60000_1099','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al20','INC','1','+','0.00','1','60000_1099','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al20','DEC','1','+','0.00','1','60000_1099','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-04','al20','BF','1','+','0.00','1','60000_1099','p','2017-09-04',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 = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-04','al01','INC','1','+','0.00','1','64554_1692','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-04','al01','DEC','1','+','0.00','1','64554_1692','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-04','al01','BF','1','+','0.00','1','64554_1692','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-04','al20','INC','1','+','0.00','1','64554_1692','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1692' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-04','al20','DEC','1','+','0.00','1','64554_1692','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1692' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2017-09-04','al20','BF','1','+','0.00','1','64554_1692','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1692' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1675','2017-09-03','al20','INC','1','+','0.00','1','56645_1675','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1675' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1675','2017-09-03','al20','DEC','1','+','0.00','1','56645_1675','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1675' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1675','2017-09-03','al20','BF','1','+','0.00','1','56645_1675','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1675' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-04','al01','INC','1','+','0.00','1','60000_1639','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-04','al01','DEC','1','+','15776.00','1','60000_1639','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-04','al01','BF','1','+','40063.00','1','60000_1639','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-04','al20','INC','1','+','0.00','1','60000_1639','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1639' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-04','al20','DEC','1','+','0.00','1','60000_1639','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1639' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-04','al20','BF','1','+','0.00','1','60000_1639','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1639' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-09-04','al01','DEC','1','+','2800.00','1','42960_1523','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2017-09-04','al01','BF','1','+','10237.00','1','42960_1523','p','2017-09-04',now());

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-04','al01','INC','1','+','0.00','1','64443_1656','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-04','al01','DEC','1','+','7368.00','1','64443_1656','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-04','al01','BF','1','+','14422.00','1','64443_1656','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-04','al20','INC','1','+','0.00','1','64443_1656','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-04','al20','DEC','1','+','0.00','1','64443_1656','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-09-04','al20','BF','1','+','0.00','1','64443_1656','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-04','al01','INC','1','+','0.00','1','64585_1672','p','2017-09-04',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-04','al01','DEC','1','+','3367.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-09-04#@#al01#@#DEC#@#1#@#+#@#3367.00#@#1#@#64585_1672#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-04','al01','BF','1','+','40941.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-09-04#@#al01#@#BF#@#1#@#+#@#40941.00#@#1#@#64585_1672#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-04','al20','INC','1','+','0.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1672#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-04','al20','DEC','1','+','0.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1672#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1672','2017-09-04','al20','BF','1','+','500.00','1','64585_1672','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1672' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1672#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#500.00#@#1#@#64585_1672#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-09-04','al01','INC','1','+','0.00','1','63484_1660','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-09-04','al01','DEC','1','+','0.00','1','63484_1660','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-09-04','al01','BF','1','+','1405.00','1','63484_1660','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-04#@#al01#@#BF#@#1#@#+#@#1405.00#@#1#@#63484_1660#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-09-04','al20','INC','1','+','0.00','1','63484_1660','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-09-04','al20','DEC','1','+','0.00','1','63484_1660','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-09-04','al20','BF','1','+','0.00','1','63484_1660','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-09-04','al01','INC','1','+','0.00','1','63484_1605','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-09-04','al01','DEC','1','+','0.00','1','63484_1605','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-09-04','al01','BF','1','+','210.00','1','63484_1605','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-04#@#al01#@#BF#@#1#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-09-04','al20','INC','1','+','0.00','1','63484_1605','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-09-04','al20','DEC','1','+','0.00','1','63484_1605','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-09-04','al20','BF','1','+','0.00','1','63484_1605','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-04','al01','INC','1','+','0.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-09-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64554_1671#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-04','al01','DEC','1','+','0.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-09-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64554_1671#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-04','al01','BF','1','+','2075.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-09-04#@#al01#@#BF#@#1#@#+#@#2075.00#@#1#@#64554_1671#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-04','al20','INC','1','+','0.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64554_1671#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-04','al20','DEC','1','+','0.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64554_1671#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2017-09-04','al20','BF','1','+','0.00','1','64554_1671','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64554_1671#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-09-04','al01','INC','1','+','0.00','1','56066_1476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-09-04','al01','DEC','1','+','1110.00','1','56066_1476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-04#@#al01#@#DEC#@#1#@#+#@#1110.00#@#1#@#56066_1476#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-09-04','al01','BF','1','+','73366.00','1','56066_1476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-04#@#al01#@#BF#@#1#@#+#@#73366.00#@#1#@#56066_1476#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-09-04','al20','INC','1','+','0.00','1','56066_1476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-09-04','al20','DEC','1','+','0.00','1','56066_1476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2017-09-04','al20','BF','1','+','0.00','1','56066_1476','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-09-03','al01','INC','1','+','0.00','1','33370_1461','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-09-03','al01','DEC','1','+','0.00','1','33370_1461','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-09-03','al01','BF','1','+','0.00','1','33370_1461','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-09-03','al20','INC','1','+','0.00','1','33370_1461','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-09-03','al20','DEC','1','+','0.00','1','33370_1461','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1461','2017-09-03','al20','BF','1','+','0.00','1','33370_1461','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1684','2017-09-04','al01','INC','1','+','0.00','1','56066_1684','p','2017-09-04',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1684' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-04#@now());')

#STOP # Total Record = 500
Select==> SELECT * FROM al_com_close_arrear WHERE log_status in ('e','a') limit 0,500

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '622','2013-09-20','1','1799489.00','0.00','0.00','1','52299','p','2013-09-22',now());

select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','1','38592022.00','441883.90','715561.11','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

#STOP # Total Record = 2
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 ( '1556','2017-07-03','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-03#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-03','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-03#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-03','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-03#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-03','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-03' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-03#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-03','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-03' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-03#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-04','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-04#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-04','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-04#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-04','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-04#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-04','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-04#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-04','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-04' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-04#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-04','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-04' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-04#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-05','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-05#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-05','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-05#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-05','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-05#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-05','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-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 ( #1556#@#2017-07-05#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-05','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-05' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-05#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-05','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-05' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-05#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-06','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-06' 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 ( #1556#@#2017-07-06#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-06','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-06' 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 ( #1556#@#2017-07-06#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-06','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-06' 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 ( #1556#@#2017-07-06#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-06','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-06' 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 ( #1556#@#2017-07-06#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-06','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-06' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-06#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-06','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-06' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-06#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-07','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-07' 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 ( #1556#@#2017-07-07#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-07','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-07' 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 ( #1556#@#2017-07-07#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-07','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-07' 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 ( #1556#@#2017-07-07#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-07','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-07' 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 ( #1556#@#2017-07-07#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-07','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-07' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-07#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-07','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-07' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-07#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-08','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-08' 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 ( #1556#@#2017-07-08#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-08','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-08' 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 ( #1556#@#2017-07-08#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-08','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-08' 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 ( #1556#@#2017-07-08#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-08','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-08' 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 ( #1556#@#2017-07-08#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-08','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-08' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-08#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-08','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-08' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-08#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-09','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-09' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-09#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-09','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-09' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-09#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-09','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-09' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-09#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-09','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-09' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-09#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-09','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-09' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-09#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-09','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-09' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-09#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-10','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-10' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-10#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-10','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-10' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-10#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-10','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-10' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-10#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-10','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-10' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-10#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-10','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-10' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-10#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-10','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-10' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-10#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-11','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-11' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-11#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-11','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-11' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-11#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-11','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-11' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-11#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-11','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-11' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-11#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-11','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-11' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-11#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-11','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-11' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-11#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-12','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-12' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-12#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-12','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-12' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-12#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-12','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-12' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-12#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-12','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-12' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-12#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-12','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-12' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-12#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-12','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-12' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-12#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-13','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-13' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-13#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-13','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-13' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-13#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-13','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-13' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-13#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-13','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-13' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-13#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-13','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-13' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-13#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-13','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-13' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-13#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-14','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-14' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-14#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-14','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-14' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-14#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-14','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-14' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-14#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-14','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-14' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-14#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-14','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-14' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-14#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-14','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-14' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-14#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-15','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-15' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-15#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-15','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-15' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-15#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-15','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-15' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-15#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-15','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-15' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-15#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-15','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-15' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-15#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-15','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-15' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-15#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-16','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-16' 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 ( #1556#@#2017-07-16#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-16','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-16' 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 ( #1556#@#2017-07-16#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-16','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-16' 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 ( #1556#@#2017-07-16#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-16','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-16' 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 ( #1556#@#2017-07-16#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-16','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-16' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-16#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-16','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-16' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-16#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-17','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-17' 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 ( #1556#@#2017-07-17#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-17','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-17' 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 ( #1556#@#2017-07-17#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-17','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-17' 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 ( #1556#@#2017-07-17#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-17','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-17' 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 ( #1556#@#2017-07-17#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-17','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-17' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-17#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-17','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-17' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-17#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-18','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-18' 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 ( #1556#@#2017-07-18#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-18','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-18' 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 ( #1556#@#2017-07-18#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-18','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-18' 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 ( #1556#@#2017-07-18#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-18','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-18' 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 ( #1556#@#2017-07-18#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-18','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-18' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-18#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-18','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-18' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-18#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-19','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-19' 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 ( #1556#@#2017-07-19#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-19','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-19' 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 ( #1556#@#2017-07-19#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-19','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-19' 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 ( #1556#@#2017-07-19#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-19','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-19' 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 ( #1556#@#2017-07-19#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-19','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-19' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-19#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-07-19','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-19' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-07-19#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B1-1','1','12','0','12','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' 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 ( #1461#@#2017-07-19#@#B1-1#@#1#@#12#@#0#@#12#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B2-1','1','5','0','5','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' 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 ( #1461#@#2017-07-19#@#B2-1#@#1#@#5#@#0#@#5#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B3-1','1','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' 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 ( #1461#@#2017-07-19#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B6-1','1','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' 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 ( #1461#@#2017-07-19#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B8-1','1','3','0','3','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1461#@#2017-07-19#@#B8-1#@#1#@#3#@#0#@#3#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B9-1','1','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1461#@#2017-07-19#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B1-1','1','185','0','185','1','p','38781_1187','2017-07-20',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 = '2017-07-19' 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#@#2017-07-19#@#B1-1#@#1#@#185#@#0#@#185#@#1#@#p#@#38781_1187#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B2-1','1','0','0','0','1','p','38781_1187','2017-07-20',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 = '2017-07-19' 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#@#2017-07-19#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1187#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B3-1','1','0','0','0','1','p','38781_1187','2017-07-20',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 = '2017-07-19' 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#@#2017-07-19#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1187#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B6-1','1','45','0','45','1','p','38781_1187','2017-07-20',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 = '2017-07-19' 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#@#2017-07-19#@#B6-1#@#1#@#45#@#0#@#45#@#1#@#p#@#38781_1187#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B8-1','1','31','0','31','1','p','38781_1187','2017-07-20',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 = '2017-07-19' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-19#@#B8-1#@#1#@#31#@#0#@#31#@#1#@#p#@#38781_1187#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B9-1','1','0','0','0','1','p','38781_1187','2017-07-20',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 = '2017-07-19' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-19#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1187#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1439','2017-07-19','B1-1','1','8','0','8','1','p','63887_1439','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-07-19' 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 ( #1439#@#2017-07-19#@#B1-1#@#1#@#8#@#0#@#8#@#1#@#p#@#63887_1439#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1439','2017-07-19','B2-1','1','0','0','0','1','p','63887_1439','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-07-19' 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 ( #1439#@#2017-07-19#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63887_1439#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1439','2017-07-19','B3-1','1','1','0','1','1','p','63887_1439','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-07-19' 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 ( #1439#@#2017-07-19#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63887_1439#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1439','2017-07-19','B6-1','1','66','0','66','1','p','63887_1439','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-07-19' 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 ( #1439#@#2017-07-19#@#B6-1#@#1#@#66#@#0#@#66#@#1#@#p#@#63887_1439#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1439','2017-07-19','B8-1','1','18','0','18','1','p','63887_1439','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-07-19' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1439#@#2017-07-19#@#B8-1#@#1#@#18#@#0#@#18#@#1#@#p#@#63887_1439#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1439','2017-07-19','B9-1','1','0','0','0','1','p','63887_1439','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1439' and close_date = '2017-07-19' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1439#@#2017-07-19#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63887_1439#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B1-1','2','407','0','407','1','p','49692_1115','2017-07-20',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 = '2017-07-19' 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#@#2017-07-19#@#B1-1#@#2#@#407#@#0#@#407#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B2-1','2','27','0','27','1','p','49692_1115','2017-07-20',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 = '2017-07-19' 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#@#2017-07-19#@#B2-1#@#2#@#27#@#0#@#27#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B3-1','2','26','0','26','1','p','49692_1115','2017-07-20',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 = '2017-07-19' 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#@#2017-07-19#@#B3-1#@#2#@#26#@#0#@#26#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B6-1','2','12','0','12','1','p','49692_1115','2017-07-20',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 = '2017-07-19' 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#@#2017-07-19#@#B6-1#@#2#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B8-1','2','76','0','76','1','p','49692_1115','2017-07-20',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 = '2017-07-19' and pl_id = 'B8-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#@#2017-07-19#@#B8-1#@#2#@#76#@#0#@#76#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B9-1','2','0','0','0','1','p','49692_1115','2017-07-20',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 = '2017-07-19' and pl_id = 'B9-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#@#2017-07-19#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','407','0','407','1','p','49692_1115','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#407#@#0#@#407#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','27','0','27','1','p','49692_1115','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#27#@#0#@#27#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','26','0','26','1','p','49692_1115','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#26#@#0#@#26#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','12','0','12','1','p','49692_1115','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','76','0','76','1','p','49692_1115','2017-07-20',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#76#@#0#@#76#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','49692_1115','2017-07-20',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B1-1','3','1298','0','1298','1','p','63916_1162','2017-07-20',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 = '2017-07-19' 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 ( #1162#@#2017-07-19#@#B1-1#@#3#@#1298#@#0#@#1298#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B2-1','3','5','0','5','1','p','63916_1162','2017-07-20',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 = '2017-07-19' 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 ( #1162#@#2017-07-19#@#B2-1#@#3#@#5#@#0#@#5#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B3-1','3','6','0','6','1','p','63916_1162','2017-07-20',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 = '2017-07-19' 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 ( #1162#@#2017-07-19#@#B3-1#@#3#@#6#@#0#@#6#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B6-1','3','0','0','0','1','p','63916_1162','2017-07-20',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 = '2017-07-19' 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 ( #1162#@#2017-07-19#@#B6-1#@#3#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B8-1','3','153','1','154','1','p','63916_1162','2017-07-20',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 = '2017-07-19' and pl_id = 'B8-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 ( #1162#@#2017-07-19#@#B8-1#@#3#@#153#@#1#@#154#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B9-1','3','0','0','0','1','p','63916_1162','2017-07-20',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 = '2017-07-19' and pl_id = 'B9-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 ( #1162#@#2017-07-19#@#B9-1#@#3#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B1-1','1','0','0','0','1','p','','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' 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 ( ##@#2017-07-17#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B2-1','1','0','0','0','1','p','','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' 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 ( ##@#2017-07-17#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B3-1','1','0','0','0','1','p','','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' 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 ( ##@#2017-07-17#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B6-1','1','0','0','0','1','p','','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' 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 ( ##@#2017-07-17#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B8-1','1','0','0','0','1','p','','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( ##@#2017-07-17#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B9-1','1','0','0','0','1','p','','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( ##@#2017-07-17#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','1298','0','1298','1','p','63916_1162','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#1298#@#0#@#1298#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','5','0','5','1','p','63916_1162','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#5#@#0#@#5#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','6','0','6','1','p','63916_1162','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#6#@#0#@#6#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','0','0','0','1','p','63916_1162','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','154','1','155','1','p','63916_1162','2017-07-20',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#154#@#1#@#155#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','63916_1162','2017-07-20',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B1-1','1','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' 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 ( #1652#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B2-1','1','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' 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 ( #1652#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B3-1','1','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' 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 ( #1652#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B6-1','1','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' 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 ( #1652#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B8-1','1','11','0','11','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1652#@#2017-07-20#@#B8-1#@#1#@#11#@#0#@#11#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B9-1','1','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1652#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-19','B1-1','2','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-19' 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 ( #1661#@#2017-07-19#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-19','B2-1','2','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-19' 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 ( #1661#@#2017-07-19#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-19','B3-1','2','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-19' 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 ( #1661#@#2017-07-19#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-19','B6-1','2','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-19' 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 ( #1661#@#2017-07-19#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-19','B8-1','2','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-19' and pl_id = 'B8-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 ( #1661#@#2017-07-19#@#B8-1#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-19','B9-1','2','30','0','30','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-19' and pl_id = 'B9-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 ( #1661#@#2017-07-19#@#B9-1#@#2#@#30#@#0#@#30#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-20','B1-1','1','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-20' 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 ( #1661#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-20','B2-1','1','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-20' 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 ( #1661#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-20','B3-1','1','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-20' 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 ( #1661#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-20','B6-1','1','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-20' 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 ( #1661#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-20','B8-1','1','0','0','0','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1661#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1661','2017-07-20','B9-1','1','30','0','30','1','p','63765_1661','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1661#@#2017-07-20#@#B9-1#@#1#@#30#@#0#@#30#@#1#@#p#@#63765_1661#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1547','2017-07-20','B1-1','1','0','0','0','1','p','63771_1547','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-20' 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 ( #1547#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63771_1547#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1547','2017-07-20','B2-1','1','12','0','12','1','p','63771_1547','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-20' 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 ( #1547#@#2017-07-20#@#B2-1#@#1#@#12#@#0#@#12#@#1#@#p#@#63771_1547#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1547','2017-07-20','B3-1','1','6','0','6','1','p','63771_1547','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-20' 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 ( #1547#@#2017-07-20#@#B3-1#@#1#@#6#@#0#@#6#@#1#@#p#@#63771_1547#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1547','2017-07-20','B6-1','1','1','0','1','1','p','63771_1547','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-20' 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 ( #1547#@#2017-07-20#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63771_1547#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1547','2017-07-20','B8-1','1','19','0','19','1','p','63771_1547','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1547#@#2017-07-20#@#B8-1#@#1#@#19#@#0#@#19#@#1#@#p#@#63771_1547#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1547','2017-07-20','B9-1','1','0','0','0','1','p','63771_1547','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1547#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63771_1547#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B1-1','2','1','0','1','1','p','47875_1351','2017-07-20',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 = '2017-07-19' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2017-07-19#@#B1-1#@#2#@#1#@#0#@#1#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B2-1','2','9','0','9','1','p','47875_1351','2017-07-20',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 = '2017-07-19' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2017-07-19#@#B2-1#@#2#@#9#@#0#@#9#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B3-1','2','8','0','8','1','p','47875_1351','2017-07-20',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 = '2017-07-19' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2017-07-19#@#B3-1#@#2#@#8#@#0#@#8#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B6-1','2','864','0','864','1','p','47875_1351','2017-07-20',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 = '2017-07-19' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2017-07-19#@#B6-1#@#2#@#864#@#0#@#864#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B8-1','2','236','0','236','1','p','47875_1351','2017-07-20',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 = '2017-07-19' and pl_id = 'B8-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2017-07-19#@#B8-1#@#2#@#236#@#0#@#236#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B9-1','2','23','0','23','1','p','47875_1351','2017-07-20',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 = '2017-07-19' and pl_id = 'B9-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2017-07-19#@#B9-1#@#2#@#23#@#0#@#23#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','1','0','1','1','p','47875_1351','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','9','0','9','1','p','47875_1351','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#9#@#0#@#9#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','8','0','8','1','p','47875_1351','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','864','0','864','1','p','47875_1351','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#864#@#0#@#864#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','236','0','236','1','p','47875_1351','2017-07-20',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#236#@#0#@#236#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','23','0','23','1','p','47875_1351','2017-07-20',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#23#@#0#@#23#@#1#@#p#@#47875_1351#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1647','2017-07-20','B1-1','1','0','0','0','1','p','47875_1647','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-20' 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 ( #1647#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47875_1647#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1647','2017-07-20','B2-1','1','0','0','0','1','p','47875_1647','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-20' 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 ( #1647#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47875_1647#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1647','2017-07-20','B3-1','1','0','0','0','1','p','47875_1647','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-20' 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 ( #1647#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47875_1647#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1647','2017-07-20','B6-1','1','0','0','0','1','p','47875_1647','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-20' 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 ( #1647#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47875_1647#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1647','2017-07-20','B8-1','1','0','0','0','1','p','47875_1647','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1647#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47875_1647#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1647','2017-07-20','B9-1','1','38','0','38','1','p','47875_1647','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1647#@#2017-07-20#@#B9-1#@#1#@#38#@#0#@#38#@#1#@#p#@#47875_1647#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1671','2017-07-20','B1-1','1','0','0','0','1','p','64554_1671','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-07-20' 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 ( #1671#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64554_1671#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1671','2017-07-20','B2-1','1','0','0','0','1','p','64554_1671','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-07-20' 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 ( #1671#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64554_1671#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1671','2017-07-20','B3-1','1','0','0','0','1','p','64554_1671','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-07-20' 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 ( #1671#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64554_1671#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1671','2017-07-20','B6-1','1','0','0','0','1','p','64554_1671','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-07-20' 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 ( #1671#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64554_1671#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1671','2017-07-20','B8-1','1','0','0','0','1','p','64554_1671','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1671#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64554_1671#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1671','2017-07-20','B9-1','1','0','0','0','1','p','64554_1671','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1671' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1671#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64554_1671#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1656','2017-07-20','B1-1','1','0','0','0','1','p','64443_1656','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-07-20' 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 ( #1656#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64443_1656#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1656','2017-07-20','B2-1','1','0','0','0','1','p','64443_1656','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-07-20' 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 ( #1656#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64443_1656#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1656','2017-07-20','B3-1','1','0','0','0','1','p','64443_1656','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-07-20' 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 ( #1656#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64443_1656#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1656','2017-07-20','B6-1','1','0','0','0','1','p','64443_1656','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-07-20' 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 ( #1656#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64443_1656#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1656','2017-07-20','B8-1','1','3','0','3','1','p','64443_1656','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1656#@#2017-07-20#@#B8-1#@#1#@#3#@#0#@#3#@#1#@#p#@#64443_1656#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1656','2017-07-20','B9-1','1','0','0','0','1','p','64443_1656','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1656' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1656#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64443_1656#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1523','2017-07-20','B1-1','1','0','0','0','1','p','42960_1523','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-07-20' 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 ( #1523#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1523#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1523','2017-07-20','B2-1','1','2','0','2','1','p','42960_1523','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-07-20' 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 ( #1523#@#2017-07-20#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42960_1523#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1523','2017-07-20','B3-1','1','2','0','2','1','p','42960_1523','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-07-20' 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 ( #1523#@#2017-07-20#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42960_1523#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1523','2017-07-20','B6-1','1','521','0','521','1','p','42960_1523','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-07-20' 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 ( #1523#@#2017-07-20#@#B6-1#@#1#@#521#@#0#@#521#@#1#@#p#@#42960_1523#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1523','2017-07-20','B8-1','1','74','1','75','1','p','42960_1523','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1523#@#2017-07-20#@#B8-1#@#1#@#74#@#1#@#75#@#1#@#p#@#42960_1523#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1523','2017-07-20','B9-1','1','0','0','0','1','p','42960_1523','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1523' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1523#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1523#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1476','2017-07-20','B1-1','1','1','0','1','1','p','56066_1476','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-07-20' 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 ( #1476#@#2017-07-20#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#56066_1476#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1476','2017-07-20','B2-1','1','1','0','1','1','p','56066_1476','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-07-20' 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 ( #1476#@#2017-07-20#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#56066_1476#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1476','2017-07-20','B3-1','1','0','0','0','1','p','56066_1476','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-07-20' 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 ( #1476#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1476#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1476','2017-07-20','B6-1','1','68','0','68','1','p','56066_1476','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-07-20' 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 ( #1476#@#2017-07-20#@#B6-1#@#1#@#68#@#0#@#68#@#1#@#p#@#56066_1476#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1476','2017-07-20','B8-1','1','64','0','64','1','p','56066_1476','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1476#@#2017-07-20#@#B8-1#@#1#@#64#@#0#@#64#@#1#@#p#@#56066_1476#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1476','2017-07-20','B9-1','1','0','0','0','1','p','56066_1476','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1476' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1476#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1476#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B1-1','2','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' 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 ( #1652#@#2017-07-20#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B2-1','2','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' 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 ( #1652#@#2017-07-20#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B3-1','2','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' 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 ( #1652#@#2017-07-20#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B6-1','2','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' 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 ( #1652#@#2017-07-20#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B8-1','2','11','0','11','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' and pl_id = 'B8-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 ( #1652#@#2017-07-20#@#B8-1#@#2#@#11#@#0#@#11#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1652','2017-07-20','B9-1','2','0','0','0','1','p','64058_1652','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1652' and close_date = '2017-07-20' and pl_id = 'B9-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 ( #1652#@#2017-07-20#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#64058_1652#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1605','2017-07-20','B1-1','1','0','0','0','1','p','63484_1605','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-07-20' 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 ( #1605#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1605#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1605','2017-07-20','B2-1','1','0','0','0','1','p','63484_1605','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-07-20' 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 ( #1605#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1605#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1605','2017-07-20','B3-1','1','0','0','0','1','p','63484_1605','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-07-20' 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 ( #1605#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1605#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1605','2017-07-20','B6-1','1','0','0','0','1','p','63484_1605','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-07-20' 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 ( #1605#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1605#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1605','2017-07-20','B8-1','1','0','0','0','1','p','63484_1605','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1605#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1605#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1605','2017-07-20','B9-1','1','15','0','15','1','p','63484_1605','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1605' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1605#@#2017-07-20#@#B9-1#@#1#@#15#@#0#@#15#@#1#@#p#@#63484_1605#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-19','B1-1','3','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-19' 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 ( #1660#@#2017-07-19#@#B1-1#@#3#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-19','B2-1','3','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-19' 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 ( #1660#@#2017-07-19#@#B2-1#@#3#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-19','B3-1','3','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-19' 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 ( #1660#@#2017-07-19#@#B3-1#@#3#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-19','B6-1','3','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-19' 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 ( #1660#@#2017-07-19#@#B6-1#@#3#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-19','B8-1','3','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-19' and pl_id = 'B8-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 ( #1660#@#2017-07-19#@#B8-1#@#3#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-19','B9-1','3','19','0','19','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-19' and pl_id = 'B9-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 ( #1660#@#2017-07-19#@#B9-1#@#3#@#19#@#0#@#19#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-20','B1-1','1','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-20' 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 ( #1660#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-20','B2-1','1','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-20' 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 ( #1660#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-20','B3-1','1','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-20' 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 ( #1660#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-20','B6-1','1','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-20' 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 ( #1660#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-20','B8-1','1','0','0','0','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1660#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1660','2017-07-20','B9-1','1','19','0','19','1','p','63484_1660','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1660' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1660#@#2017-07-20#@#B9-1#@#1#@#19#@#0#@#19#@#1#@#p#@#63484_1660#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B1-1','2','12','0','12','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' 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 ( #1461#@#2017-07-19#@#B1-1#@#2#@#12#@#0#@#12#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B2-1','2','5','0','5','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' 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 ( #1461#@#2017-07-19#@#B2-1#@#2#@#5#@#0#@#5#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B3-1','2','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' 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 ( #1461#@#2017-07-19#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B6-1','2','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' 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 ( #1461#@#2017-07-19#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B8-1','2','3','0','3','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' and pl_id = 'B8-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 ( #1461#@#2017-07-19#@#B8-1#@#2#@#3#@#0#@#3#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-19','B9-1','2','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-19' and pl_id = 'B9-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 ( #1461#@#2017-07-19#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2017-07-19','B1-1','1','1','0','1','1','p','32490_SBL','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2017-07-19' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2017-07-19#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#32490_SBL#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2017-07-19','B2-1','1','0','0','0','1','p','32490_SBL','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2017-07-19' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2017-07-19#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2017-07-19','B3-1','1','0','0','0','1','p','32490_SBL','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2017-07-19' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2017-07-19#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2017-07-19','B6-1','1','435','0','435','1','p','32490_SBL','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2017-07-19' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2017-07-19#@#B6-1#@#1#@#435#@#0#@#435#@#1#@#p#@#32490_SBL#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2017-07-19','B8-1','1','18','0','18','1','p','32490_SBL','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2017-07-19' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2017-07-19#@#B8-1#@#1#@#18#@#0#@#18#@#1#@#p#@#32490_SBL#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1169','2017-07-19','B9-1','1','0','0','0','1','p','32490_SBL','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1169' and close_date = '2017-07-19' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1169#@#2017-07-19#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-20','B1-1','1','12','0','12','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-20' 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 ( #1461#@#2017-07-20#@#B1-1#@#1#@#12#@#0#@#12#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-20','B2-1','1','5','0','5','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-20' 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 ( #1461#@#2017-07-20#@#B2-1#@#1#@#5#@#0#@#5#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-20','B3-1','1','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-20' 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 ( #1461#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-20','B6-1','1','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-20' 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 ( #1461#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-20','B8-1','1','3','0','3','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1461#@#2017-07-20#@#B8-1#@#1#@#3#@#0#@#3#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1461','2017-07-20','B9-1','1','0','0','0','1','p','33370_1461','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1461' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1461#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1461#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','47','0','47','1','p','50582_1256','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#47#@#0#@#47#@#1#@#p#@#50582_1256#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','3','0','3','1','p','50582_1256','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#3#@#0#@#3#@#1#@#p#@#50582_1256#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','8','0','8','1','p','50582_1256','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#50582_1256#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','7','0','7','1','p','50582_1256','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#7#@#0#@#7#@#1#@#p#@#50582_1256#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','4','0','4','1','p','50582_1256','2017-07-20',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#4#@#0#@#4#@#1#@#p#@#50582_1256#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','50582_1256','2017-07-20',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1467','2017-07-20','B1-1','1','4','0','4','1','p','50582_1467','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-07-20' 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 ( #1467#@#2017-07-20#@#B1-1#@#1#@#4#@#0#@#4#@#1#@#p#@#50582_1467#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1467','2017-07-20','B2-1','1','0','0','0','1','p','50582_1467','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-07-20' 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 ( #1467#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1467#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1467','2017-07-20','B3-1','1','0','0','0','1','p','50582_1467','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-07-20' 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 ( #1467#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1467#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1467','2017-07-20','B6-1','1','0','0','0','1','p','50582_1467','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-07-20' 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 ( #1467#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1467#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1467','2017-07-20','B8-1','1','17','0','17','1','p','50582_1467','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1467#@#2017-07-20#@#B8-1#@#1#@#17#@#0#@#17#@#1#@#p#@#50582_1467#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1467','2017-07-20','B9-1','1','0','0','0','1','p','50582_1467','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1467' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1467#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1467#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1477','2017-07-19','B1-1','3','0','0','0','1','p','34016_1477','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-07-19' 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 ( #1477#@#2017-07-19#@#B1-1#@#3#@#0#@#0#@#0#@#1#@#p#@#34016_1477#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1477','2017-07-19','B2-1','3','1','0','1','1','p','34016_1477','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-07-19' 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 ( #1477#@#2017-07-19#@#B2-1#@#3#@#1#@#0#@#1#@#1#@#p#@#34016_1477#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1477','2017-07-19','B3-1','3','0','0','0','1','p','34016_1477','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-07-19' 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 ( #1477#@#2017-07-19#@#B3-1#@#3#@#0#@#0#@#0#@#1#@#p#@#34016_1477#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1477','2017-07-19','B6-1','3','106','0','106','1','p','34016_1477','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-07-19' 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 ( #1477#@#2017-07-19#@#B6-1#@#3#@#106#@#0#@#106#@#1#@#p#@#34016_1477#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1477','2017-07-19','B8-1','3','46','0','46','1','p','34016_1477','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-07-19' and pl_id = 'B8-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 ( #1477#@#2017-07-19#@#B8-1#@#3#@#46#@#0#@#46#@#1#@#p#@#34016_1477#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1477','2017-07-19','B9-1','3','0','0','0','1','p','34016_1477','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1477' and close_date = '2017-07-19' and pl_id = 'B9-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 ( #1477#@#2017-07-19#@#B9-1#@#3#@#0#@#0#@#0#@#1#@#p#@#34016_1477#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-19','B1-1','2','136','0','136','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-19' 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 ( #1450#@#2017-07-19#@#B1-1#@#2#@#136#@#0#@#136#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-19','B2-1','2','0','0','0','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-19' 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 ( #1450#@#2017-07-19#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-19','B3-1','2','0','0','0','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-19' 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 ( #1450#@#2017-07-19#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-19','B6-1','2','0','0','0','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-19' 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 ( #1450#@#2017-07-19#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-19','B8-1','2','67','0','67','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-19' and pl_id = 'B8-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 ( #1450#@#2017-07-19#@#B8-1#@#2#@#67#@#0#@#67#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-19','B9-1','2','0','0','0','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-19' and pl_id = 'B9-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 ( #1450#@#2017-07-19#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-20','B1-1','1','136','0','136','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-20' 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 ( #1450#@#2017-07-20#@#B1-1#@#1#@#136#@#0#@#136#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-20','B2-1','1','0','0','0','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-20' 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 ( #1450#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-20','B3-1','1','0','0','0','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-20' 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 ( #1450#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-20','B6-1','1','0','0','0','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-20' 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 ( #1450#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-20','B8-1','1','67','0','67','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1450#@#2017-07-20#@#B8-1#@#1#@#67#@#0#@#67#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1450','2017-07-20','B9-1','1','0','0','0','1','p','56645_1450','2017-07-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1450' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1450#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B1-1','2','134','0','134','1','p','63919_10','2017-07-20',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 = '2017-07-19' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #10#@#2017-07-19#@#B1-1#@#2#@#134#@#0#@#134#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B2-1','2','184','0','184','1','p','63919_10','2017-07-20',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 = '2017-07-19' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #10#@#2017-07-19#@#B2-1#@#2#@#184#@#0#@#184#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B3-1','2','48','0','48','1','p','63919_10','2017-07-20',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 = '2017-07-19' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #10#@#2017-07-19#@#B3-1#@#2#@#48#@#0#@#48#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B6-1','2','1675','0','1675','1','p','63919_10','2017-07-20',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 = '2017-07-19' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #10#@#2017-07-19#@#B6-1#@#2#@#1675#@#0#@#1675#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B8-1','2','243','0','243','1','p','63919_10','2017-07-20',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 = '2017-07-19' and pl_id = 'B8-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #10#@#2017-07-19#@#B8-1#@#2#@#243#@#0#@#243#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B9-1','2','0','0','0','1','p','63919_10','2017-07-20',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 = '2017-07-19' and pl_id = 'B9-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #10#@#2017-07-19#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','134','0','134','1','p','63919_10','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#134#@#0#@#134#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','184','0','184','1','p','63919_10','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#184#@#0#@#184#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','48','0','48','1','p','63919_10','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#48#@#0#@#48#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','1675','0','1675','1','p','63919_10','2017-07-20',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#1675#@#0#@#1675#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','243','1','244','1','p','63919_10','2017-07-20',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#243#@#1#@#244#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','63919_10','2017-07-20',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63919_10#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-19','B1-1','2','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-19' 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 ( #1659#@#2017-07-19#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-19','B2-1','2','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-19' 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 ( #1659#@#2017-07-19#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-19','B3-1','2','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-19' 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 ( #1659#@#2017-07-19#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-19','B6-1','2','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-19' 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 ( #1659#@#2017-07-19#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-19','B8-1','2','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-19' and pl_id = 'B8-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 ( #1659#@#2017-07-19#@#B8-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-19','B9-1','2','50','0','50','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-19' and pl_id = 'B9-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 ( #1659#@#2017-07-19#@#B9-1#@#2#@#50#@#0#@#50#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B1-1','2','22','0','22','1','p','62364_1363','2017-07-21',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 = '2017-07-19' 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#@#2017-07-19#@#B1-1#@#2#@#22#@#0#@#22#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B2-1','2','1','0','1','1','p','62364_1363','2017-07-21',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 = '2017-07-19' 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#@#2017-07-19#@#B2-1#@#2#@#1#@#0#@#1#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B3-1','2','0','0','0','1','p','62364_1363','2017-07-21',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 = '2017-07-19' 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#@#2017-07-19#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B6-1','2','50','0','50','1','p','62364_1363','2017-07-21',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 = '2017-07-19' 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#@#2017-07-19#@#B6-1#@#2#@#50#@#0#@#50#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B8-1','2','0','0','0','1','p','62364_1363','2017-07-21',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 = '2017-07-19' and pl_id = 'B8-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#@#2017-07-19#@#B8-1#@#2#@#0#@#0#@#0#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-19','B9-1','2','91','0','91','1','p','62364_1363','2017-07-21',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 = '2017-07-19' and pl_id = 'B9-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#@#2017-07-19#@#B9-1#@#2#@#91#@#0#@#91#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','193','0','193','1','p','36097_SBP','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#193#@#0#@#193#@#1#@#p#@#36097_SBP#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','0','0','0','1','p','36097_SBP','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','0','0','0','1','p','36097_SBP','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','241','0','241','1','p','36097_SBP','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#241#@#0#@#241#@#1#@#p#@#36097_SBP#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','79','0','79','1','p','36097_SBP','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#79#@#0#@#79#@#1#@#p#@#36097_SBP#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','36097_SBP','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-20','B1-1','1','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-20' 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 ( #1659#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-20','B2-1','1','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-20' 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 ( #1659#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-20','B3-1','1','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-20' 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 ( #1659#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-20','B6-1','1','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-20' 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 ( #1659#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-20','B8-1','1','0','0','0','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1659#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1659','2017-07-20','B9-1','1','50','0','50','1','p','36211_1659','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1659' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1659#@#2017-07-20#@#B9-1#@#1#@#50#@#0#@#50#@#1#@#p#@#36211_1659#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-19','B1-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-19' 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 ( #1663#@#2017-07-19#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-19','B2-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-19' 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 ( #1663#@#2017-07-19#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-19','B3-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-19' 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 ( #1663#@#2017-07-19#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-19','B6-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-19' 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 ( #1663#@#2017-07-19#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-19','B8-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-19' and pl_id = 'B8-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 ( #1663#@#2017-07-19#@#B8-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-19','B9-1','2','81','2','83','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-19' and pl_id = 'B9-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 ( #1663#@#2017-07-19#@#B9-1#@#2#@#81#@#2#@#83#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B1-1','1','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' 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 ( #1663#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B2-1','1','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' 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 ( #1663#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B3-1','1','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' 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 ( #1663#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B6-1','1','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' 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 ( #1663#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B8-1','1','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1663#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B9-1','1','83','0','83','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1663#@#2017-07-20#@#B9-1#@#1#@#83#@#0#@#83#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','22','0','22','1','p','62364_1363','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#22#@#0#@#22#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','1','0','1','1','p','62364_1363','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','0','0','0','1','p','62364_1363','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','50','0','50','1','p','62364_1363','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#50#@#0#@#50#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','0','0','0','1','p','62364_1363','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','91','0','91','1','p','62364_1363','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#91#@#0#@#91#@#1#@#p#@#62364_1363#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','1344','0','1344','1','p','38781_452','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#1344#@#0#@#1344#@#1#@#p#@#38781_452#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','47','0','47','1','p','38781_452','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#47#@#0#@#47#@#1#@#p#@#38781_452#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','9','0','9','1','p','38781_452','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#9#@#0#@#9#@#1#@#p#@#38781_452#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','270','0','270','1','p','38781_452','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#270#@#0#@#270#@#1#@#p#@#38781_452#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','77','0','77','1','p','38781_452','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#77#@#0#@#77#@#1#@#p#@#38781_452#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','1','0','1','1','p','38781_452','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#1#@#0#@#1#@#1#@#p#@#38781_452#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1229','2017-07-20','B1-1','1','159','0','159','1','p','63663_1229','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-07-20' 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 ( #1229#@#2017-07-20#@#B1-1#@#1#@#159#@#0#@#159#@#1#@#p#@#63663_1229#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1229','2017-07-20','B2-1','1','80','0','80','1','p','63663_1229','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-07-20' 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 ( #1229#@#2017-07-20#@#B2-1#@#1#@#80#@#0#@#80#@#1#@#p#@#63663_1229#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1229','2017-07-20','B3-1','1','1','0','1','1','p','63663_1229','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-07-20' 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 ( #1229#@#2017-07-20#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63663_1229#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1229','2017-07-20','B6-1','1','13','0','13','1','p','63663_1229','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-07-20' 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 ( #1229#@#2017-07-20#@#B6-1#@#1#@#13#@#0#@#13#@#1#@#p#@#63663_1229#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1229','2017-07-20','B8-1','1','125','0','125','1','p','63663_1229','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1229#@#2017-07-20#@#B8-1#@#1#@#125#@#0#@#125#@#1#@#p#@#63663_1229#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1229','2017-07-20','B9-1','1','0','0','0','1','p','63663_1229','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1229' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1229#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63663_1229#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','0','0','0','1','p','60436_ps','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','0','0','0','1','p','60436_ps','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','0','0','0','1','p','60436_ps','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','892','0','892','1','p','60436_ps','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#892#@#0#@#892#@#1#@#p#@#60436_ps#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','215','0','215','1','p','60436_ps','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#215#@#0#@#215#@#1#@#p#@#60436_ps#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','60436_ps','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '304','2017-07-20','B1-1','1','644','0','644','1','p','54110_304','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-07-20' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #304#@#2017-07-20#@#B1-1#@#1#@#644#@#0#@#644#@#1#@#p#@#54110_304#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '304','2017-07-20','B2-1','1','135','0','135','1','p','54110_304','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-07-20' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #304#@#2017-07-20#@#B2-1#@#1#@#135#@#0#@#135#@#1#@#p#@#54110_304#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '304','2017-07-20','B3-1','1','27','0','27','1','p','54110_304','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-07-20' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #304#@#2017-07-20#@#B3-1#@#1#@#27#@#0#@#27#@#1#@#p#@#54110_304#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '304','2017-07-20','B6-1','1','3989','0','3989','1','p','54110_304','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-07-20' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #304#@#2017-07-20#@#B6-1#@#1#@#3989#@#0#@#3989#@#1#@#p#@#54110_304#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '304','2017-07-20','B8-1','1','313','0','313','1','p','54110_304','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #304#@#2017-07-20#@#B8-1#@#1#@#313#@#0#@#313#@#1#@#p#@#54110_304#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '304','2017-07-20','B9-1','1','0','0','0','1','p','54110_304','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '304' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #304#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#54110_304#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B1-1','2','0','0','0','1','p','','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' 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 ( ##@#2017-07-17#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B2-1','2','0','0','0','1','p','','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' 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 ( ##@#2017-07-17#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B3-1','2','0','0','0','1','p','','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' 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 ( ##@#2017-07-17#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B6-1','2','0','0','0','1','p','','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' 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 ( ##@#2017-07-17#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B8-1','2','0','0','0','1','p','','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' and pl_id = 'B8-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 ( ##@#2017-07-17#@#B8-1#@#2#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2017-07-17','B9-1','2','0','0','0','1','p','','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '' and close_date = '2017-07-17' and pl_id = 'B9-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 ( ##@#2017-07-17#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@##@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','6','0','6','1','p','64311_1346','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#6#@#0#@#6#@#1#@#p#@#64311_1346#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','5','0','5','1','p','64311_1346','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#5#@#0#@#5#@#1#@#p#@#64311_1346#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','3','0','3','1','p','64311_1346','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#3#@#0#@#3#@#1#@#p#@#64311_1346#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','941','0','941','1','p','64311_1346','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#941#@#0#@#941#@#1#@#p#@#64311_1346#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','216','0','216','1','p','64311_1346','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#216#@#0#@#216#@#1#@#p#@#64311_1346#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','64311_1346','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1346#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-20','B1-1','1','0','0','0','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-20' 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 ( #1635#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-20','B2-1','1','0','0','0','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-20' 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 ( #1635#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-20','B3-1','1','0','0','0','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-20' 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 ( #1635#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-20','B6-1','1','0','0','0','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-20' 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 ( #1635#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-20','B8-1','1','1','0','1','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1635#@#2017-07-20#@#B8-1#@#1#@#1#@#0#@#1#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-20','B9-1','1','4','0','4','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1635#@#2017-07-20#@#B9-1#@#1#@#4#@#0#@#4#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-21','B1-1','1','0','0','0','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-21' 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 ( #1635#@#2017-07-21#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-21','B2-1','1','0','0','0','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-21' 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 ( #1635#@#2017-07-21#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-21','B3-1','1','0','0','0','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-21' 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 ( #1635#@#2017-07-21#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-21','B6-1','1','0','0','0','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-21' 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 ( #1635#@#2017-07-21#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-21','B8-1','1','1','0','1','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-21' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1635#@#2017-07-21#@#B8-1#@#1#@#1#@#0#@#1#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1635','2017-07-21','B9-1','1','4','0','4','1','p','64311_1635','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1635' and close_date = '2017-07-21' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1635#@#2017-07-21#@#B9-1#@#1#@#4#@#0#@#4#@#1#@#p#@#64311_1635#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1657','2017-07-20','B1-1','1','0','0','0','1','p','44345_1657','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-07-20' 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 ( #1657#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1657#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1657','2017-07-20','B2-1','1','0','0','0','1','p','44345_1657','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-07-20' 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 ( #1657#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1657#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1657','2017-07-20','B3-1','1','0','0','0','1','p','44345_1657','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-07-20' 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 ( #1657#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1657#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1657','2017-07-20','B6-1','1','0','0','0','1','p','44345_1657','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-07-20' 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 ( #1657#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1657#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1657','2017-07-20','B8-1','1','0','0','0','1','p','44345_1657','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1657#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1657#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1657','2017-07-20','B9-1','1','66','0','66','1','p','44345_1657','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1657' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1657#@#2017-07-20#@#B9-1#@#1#@#66#@#0#@#66#@#1#@#p#@#44345_1657#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1465','2017-07-20','B1-1','1','117','0','117','1','p','36097_SBP_CHC','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-07-20' 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 ( #1465#@#2017-07-20#@#B1-1#@#1#@#117#@#0#@#117#@#1#@#p#@#36097_SBP_CHC#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1465','2017-07-20','B2-1','1','0','0','0','1','p','36097_SBP_CHC','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-07-20' 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 ( #1465#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1465','2017-07-20','B3-1','1','0','0','0','1','p','36097_SBP_CHC','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-07-20' 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 ( #1465#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1465','2017-07-20','B6-1','1','8','0','8','1','p','36097_SBP_CHC','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-07-20' 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 ( #1465#@#2017-07-20#@#B6-1#@#1#@#8#@#0#@#8#@#1#@#p#@#36097_SBP_CHC#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1465','2017-07-20','B8-1','1','28','0','28','1','p','36097_SBP_CHC','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1465#@#2017-07-20#@#B8-1#@#1#@#28#@#0#@#28#@#1#@#p#@#36097_SBP_CHC#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1465','2017-07-20','B9-1','1','0','0','0','1','p','36097_SBP_CHC','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1465' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1465#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1667','2017-07-20','B1-1','1','0','0','0','1','p','60992_1667','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-07-20' 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 ( #1667#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60992_1667#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1667','2017-07-20','B2-1','1','0','0','0','1','p','60992_1667','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-07-20' 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 ( #1667#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60992_1667#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1667','2017-07-20','B3-1','1','0','0','0','1','p','60992_1667','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-07-20' 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 ( #1667#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60992_1667#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1667','2017-07-20','B6-1','1','0','0','0','1','p','60992_1667','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-07-20' 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 ( #1667#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60992_1667#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1667','2017-07-20','B8-1','1','8','1','9','1','p','60992_1667','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1667#@#2017-07-20#@#B8-1#@#1#@#8#@#1#@#9#@#1#@#p#@#60992_1667#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1667','2017-07-20','B9-1','1','0','0','0','1','p','60992_1667','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1667' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1667#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60992_1667#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B1-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' 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 ( #1663#@#2017-07-20#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B2-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' 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 ( #1663#@#2017-07-20#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B3-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' 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 ( #1663#@#2017-07-20#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B6-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' 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 ( #1663#@#2017-07-20#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B8-1','2','0','0','0','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' and pl_id = 'B8-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 ( #1663#@#2017-07-20#@#B8-1#@#2#@#0#@#0#@#0#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1663','2017-07-20','B9-1','2','83','0','83','1','p','47937_1663','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1663' and close_date = '2017-07-20' and pl_id = 'B9-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 ( #1663#@#2017-07-20#@#B9-1#@#2#@#83#@#0#@#83#@#1#@#p#@#47937_1663#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','115','0','115','1','p','47937_1438','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#115#@#0#@#115#@#1#@#p#@#47937_1438#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','37','0','37','1','p','47937_1438','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#37#@#0#@#37#@#1#@#p#@#47937_1438#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','2','0','2','1','p','47937_1438','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#47937_1438#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','0','0','0','1','p','47937_1438','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1438#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','0','0','0','1','p','47937_1438','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1438#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','148','0','148','1','p','47937_1438','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#148#@#0#@#148#@#1#@#p#@#47937_1438#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','63','0','63','1','p','63108_1054','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#63#@#0#@#63#@#1#@#p#@#63108_1054#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','19','0','19','1','p','63108_1054','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#19#@#0#@#19#@#1#@#p#@#63108_1054#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','23','0','23','1','p','63108_1054','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#23#@#0#@#23#@#1#@#p#@#63108_1054#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','476','0','476','1','p','63108_1054','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#476#@#0#@#476#@#1#@#p#@#63108_1054#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','39','0','39','1','p','63108_1054','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#39#@#0#@#39#@#1#@#p#@#63108_1054#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','63108_1054','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63108_1054#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1179','2017-07-20','B1-1','1','5','0','5','1','p','60303_1179','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-07-20' 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 ( #1179#@#2017-07-20#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60303_1179#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1179','2017-07-20','B2-1','1','0','0','0','1','p','60303_1179','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-07-20' 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 ( #1179#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60303_1179#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1179','2017-07-20','B3-1','1','0','0','0','1','p','60303_1179','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-07-20' 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 ( #1179#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60303_1179#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1179','2017-07-20','B6-1','1','20','0','20','1','p','60303_1179','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-07-20' 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 ( #1179#@#2017-07-20#@#B6-1#@#1#@#20#@#0#@#20#@#1#@#p#@#60303_1179#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1179','2017-07-20','B8-1','1','2','0','2','1','p','60303_1179','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1179#@#2017-07-20#@#B8-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60303_1179#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1179','2017-07-20','B9-1','1','0','0','0','1','p','60303_1179','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1179' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1179#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60303_1179#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1650','2017-07-20','B1-1','1','0','0','0','1','p','63682_1650','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-07-20' 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 ( #1650#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63682_1650#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1650','2017-07-20','B2-1','1','0','0','0','1','p','63682_1650','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-07-20' 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 ( #1650#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63682_1650#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1650','2017-07-20','B3-1','1','0','0','0','1','p','63682_1650','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-07-20' 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 ( #1650#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63682_1650#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1650','2017-07-20','B6-1','1','0','0','0','1','p','63682_1650','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-07-20' 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 ( #1650#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63682_1650#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1650','2017-07-20','B8-1','1','58','0','58','1','p','63682_1650','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1650#@#2017-07-20#@#B8-1#@#1#@#58#@#0#@#58#@#1#@#p#@#63682_1650#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1650','2017-07-20','B9-1','1','0','0','0','1','p','63682_1650','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1650' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1650#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63682_1650#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-19','B1-1','1','1','0','1','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-19' 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 ( #1473#@#2017-07-19#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-19','B2-1','1','0','0','0','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-19' 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 ( #1473#@#2017-07-19#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-19','B3-1','1','0','0','0','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-19' 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 ( #1473#@#2017-07-19#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-19','B6-1','1','0','0','0','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-19' 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 ( #1473#@#2017-07-19#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-19','B8-1','1','9','0','9','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-19' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1473#@#2017-07-19#@#B8-1#@#1#@#9#@#0#@#9#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-19','B9-1','1','0','0','0','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-19' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1473#@#2017-07-19#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-20','B1-1','1','1','0','1','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-20' 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 ( #1473#@#2017-07-20#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-20','B2-1','1','0','0','0','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-20' 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 ( #1473#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-20','B3-1','1','0','0','0','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-20' 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 ( #1473#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-20','B6-1','1','0','0','0','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-20' 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 ( #1473#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-20','B8-1','1','9','0','9','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1473#@#2017-07-20#@#B8-1#@#1#@#9#@#0#@#9#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1473','2017-07-20','B9-1','1','0','0','0','1','p','57537_1473','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1473' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1473#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57537_1473#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1669','2017-07-20','B1-1','1','0','0','0','1','p','64354_1669','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-07-20' 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 ( #1669#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64354_1669#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1669','2017-07-20','B2-1','1','0','0','0','1','p','64354_1669','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-07-20' 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 ( #1669#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64354_1669#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1669','2017-07-20','B3-1','1','0','0','0','1','p','64354_1669','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-07-20' 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 ( #1669#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64354_1669#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1669','2017-07-20','B6-1','1','0','0','0','1','p','64354_1669','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-07-20' 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 ( #1669#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64354_1669#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1669','2017-07-20','B8-1','1','9','0','9','1','p','64354_1669','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1669#@#2017-07-20#@#B8-1#@#1#@#9#@#0#@#9#@#1#@#p#@#64354_1669#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1669','2017-07-20','B9-1','1','0','0','0','1','p','64354_1669','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1669' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1669#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#64354_1669#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1478','2017-07-20','B1-1','1','0','0','0','1','p','60217_1478','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-07-20' 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 ( #1478#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1478#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1478','2017-07-20','B2-1','1','0','0','0','1','p','60217_1478','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-07-20' 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 ( #1478#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1478#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1478','2017-07-20','B3-1','1','0','0','0','1','p','60217_1478','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-07-20' 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 ( #1478#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1478#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1478','2017-07-20','B6-1','1','186','0','186','1','p','60217_1478','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-07-20' 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 ( #1478#@#2017-07-20#@#B6-1#@#1#@#186#@#0#@#186#@#1#@#p#@#60217_1478#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1478','2017-07-20','B8-1','1','27','0','27','1','p','60217_1478','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1478#@#2017-07-20#@#B8-1#@#1#@#27#@#0#@#27#@#1#@#p#@#60217_1478#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1478','2017-07-20','B9-1','1','0','0','0','1','p','60217_1478','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1478' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1478#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1478#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1493','2017-07-20','B1-1','1','26','0','26','1','p','38781_1493','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1493' and close_date = '2017-07-20' 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 ( #1493#@#2017-07-20#@#B1-1#@#1#@#26#@#0#@#26#@#1#@#p#@#38781_1493#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1493','2017-07-20','B2-1','1','0','0','0','1','p','38781_1493','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1493' and close_date = '2017-07-20' 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 ( #1493#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1493#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1493','2017-07-20','B3-1','1','0','0','0','1','p','38781_1493','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1493' and close_date = '2017-07-20' 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 ( #1493#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1493#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1493','2017-07-20','B6-1','1','53','0','53','1','p','38781_1493','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1493' and close_date = '2017-07-20' 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 ( #1493#@#2017-07-20#@#B6-1#@#1#@#53#@#0#@#53#@#1#@#p#@#38781_1493#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1493','2017-07-20','B8-1','1','5','0','5','1','p','38781_1493','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1493' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1493#@#2017-07-20#@#B8-1#@#1#@#5#@#0#@#5#@#1#@#p#@#38781_1493#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1493','2017-07-20','B9-1','1','0','0','0','1','p','38781_1493','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1493' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1493#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1493#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','185','0','185','1','p','38781_1187','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#185#@#0#@#185#@#1#@#p#@#38781_1187#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','0','0','0','1','p','38781_1187','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1187#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','0','0','0','1','p','38781_1187','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1187#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','45','0','45','1','p','38781_1187','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#45#@#0#@#45#@#1#@#p#@#38781_1187#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','31','0','31','1','p','38781_1187','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#31#@#0#@#31#@#1#@#p#@#38781_1187#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','38781_1187','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#38781_1187#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1668','2017-07-20','B1-1','1','0','0','0','1','p','60118_1668','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-07-20' 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 ( #1668#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1668#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1668','2017-07-20','B2-1','1','0','0','0','1','p','60118_1668','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-07-20' 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 ( #1668#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1668#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1668','2017-07-20','B3-1','1','0','0','0','1','p','60118_1668','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-07-20' 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 ( #1668#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1668#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1668','2017-07-20','B6-1','1','0','0','0','1','p','60118_1668','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-07-20' 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 ( #1668#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1668#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1668','2017-07-20','B8-1','1','4','0','4','1','p','60118_1668','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1668#@#2017-07-20#@#B8-1#@#1#@#4#@#0#@#4#@#1#@#p#@#60118_1668#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1668','2017-07-20','B9-1','1','0','0','0','1','p','60118_1668','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1668' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1668#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1668#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','56','0','56','1','p','60118_476','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#56#@#0#@#56#@#1#@#p#@#60118_476#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','110','0','110','1','p','60118_476','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#110#@#0#@#110#@#1#@#p#@#60118_476#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','25','0','25','1','p','60118_476','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#25#@#0#@#25#@#1#@#p#@#60118_476#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','3312','0','3312','1','p','60118_476','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#3312#@#0#@#3312#@#1#@#p#@#60118_476#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','509','0','509','1','p','60118_476','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#509#@#0#@#509#@#1#@#p#@#60118_476#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','60118_476','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_476#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1666','2017-07-20','B1-1','1','0','0','0','1','p','61273_1666','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-07-20' 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 ( #1666#@#2017-07-20#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61273_1666#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1666','2017-07-20','B2-1','1','0','0','0','1','p','61273_1666','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-07-20' 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 ( #1666#@#2017-07-20#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61273_1666#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1666','2017-07-20','B3-1','1','0','0','0','1','p','61273_1666','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-07-20' 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 ( #1666#@#2017-07-20#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61273_1666#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1666','2017-07-20','B6-1','1','0','0','0','1','p','61273_1666','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-07-20' 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 ( #1666#@#2017-07-20#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61273_1666#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1666','2017-07-20','B8-1','1','1','0','1','1','p','61273_1666','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1666#@#2017-07-20#@#B8-1#@#1#@#1#@#0#@#1#@#1#@#p#@#61273_1666#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1666','2017-07-20','B9-1','1','0','0','0','1','p','61273_1666','2017-07-21',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1666' and close_date = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1666#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61273_1666#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','1','234','0','234','1','p','63663_1227','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B1-1#@#1#@#234#@#0#@#234#@#1#@#p#@#63663_1227#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','1','17','0','17','1','p','63663_1227','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B2-1#@#1#@#17#@#0#@#17#@#1#@#p#@#63663_1227#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','1','5','0','5','1','p','63663_1227','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#63663_1227#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B6-1','1','1194','0','1194','1','p','63663_1227','2017-07-21',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 = '2017-07-20' 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#@#2017-07-20#@#B6-1#@#1#@#1194#@#0#@#1194#@#1#@#p#@#63663_1227#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B8-1','1','261','0','261','1','p','63663_1227','2017-07-21',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 = '2017-07-20' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B8-1#@#1#@#261#@#0#@#261#@#1#@#p#@#63663_1227#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B9-1','1','0','0','0','1','p','63663_1227','2017-07-21',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 = '2017-07-20' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@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#@#2017-07-20#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63663_1227#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B1-1','2','1344','0','1344','1','p','61045_452','2017-07-21',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 = '2017-07-20' 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 ( #452#@#2017-07-20#@#B1-1#@#2#@#1344#@#0#@#1344#@#1#@#p#@#61045_452#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B2-1','2','47','0','47','1','p','61045_452','2017-07-21',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 = '2017-07-20' 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 ( #452#@#2017-07-20#@#B2-1#@#2#@#47#@#0#@#47#@#1#@#p#@#61045_452#@#2017-07-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2017-07-20','B3-1','2','9','0','9','1','p','61045_452','2017-07-21',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 = '2017-07-20' 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 ( #452#@#2017-07-20#@#B3-1#@#2#@#9#@#0#@#9#@#1#@#p#@#61045_452#@#2017-07-21#@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 ( '9999','2017-07-21','agr09','1','0','0','0','1','p','bms_center','2017-07-22',now());

select * from al_com_close_supplier WHERE branch_id = '9999' and close_date = '2017-07-21' and sup_type = 'agr09' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_supplier WHERE branch_id = '9999' and close_date = '2017-07-21' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-07-21' and sup_type = 'agr09' and seq_close = '1'

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 ( '9999','2017-07-21','agr10','1','0','0','0','1','p','bms_center','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2017-07-21' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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 ( #9999#@#2017-07-21#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2017-07-22#@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 ( '9998','2017-07-21','agr01','1','5','0','5','1','p','bms_center','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-07-21' 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 ( #9998#@#2017-07-21#@#agr01#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2017-07-22#@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 ( '9998','2017-07-21','agr05','1','0','0','0','1','p','bms_center','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-07-21' 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 ( #9998#@#2017-07-21#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2017-07-22#@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 ( '9998','2017-07-21','agr09','1','0','0','0','1','p','bms_center','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-07-21' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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 ( #9998#@#2017-07-21#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2017-07-22#@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 ( '9998','2017-07-21','agr10','1','0','0','0','1','p','bms_center','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2017-07-21' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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 ( #9998#@#2017-07-21#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2017-07-22#@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 ( '1665','2017-07-21','agr01','1','21','0','21','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-21' 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 ( #1665#@#2017-07-21#@#agr01#@#1#@#21#@#0#@#21#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-21','agr05','1','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-21' 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 ( #1665#@#2017-07-21#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-21','agr09','1','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-21' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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 ( #1665#@#2017-07-21#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-21','agr10','1','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-21' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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 ( #1665#@#2017-07-21#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1556','2017-07-21','agr01','1','34','0','34','1','p','63420_1556','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-21' 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 ( #1556#@#2017-07-21#@#agr01#@#1#@#34#@#0#@#34#@#1#@#p#@#63420_1556#@#2017-07-22#@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 ( '1556','2017-07-21','agr05','1','0','0','0','1','p','63420_1556','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-21' 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 ( #1556#@#2017-07-21#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-22#@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 ( '1556','2017-07-21','agr09','1','0','0','0','1','p','63420_1556','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-21' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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 ( #1556#@#2017-07-21#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-22#@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 ( '1556','2017-07-21','agr10','1','0','0','0','1','p','63420_1556','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1556' and close_date = '2017-07-21' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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 ( #1556#@#2017-07-21#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-22#@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 ( '1665','2017-07-20','agr01','2','21','0','21','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-20' 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 ( #1665#@#2017-07-20#@#agr01#@#2#@#21#@#0#@#21#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-20','agr05','2','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-20' 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 ( #1665#@#2017-07-20#@#agr05#@#2#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-20','agr09','2','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-20' and sup_type = 'agr09' 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 ( #1665#@#2017-07-20#@#agr09#@#2#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-20','agr10','2','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-20' and sup_type = 'agr10' 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 ( #1665#@#2017-07-20#@#agr10#@#2#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-21','agr01','2','21','0','21','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-21' 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 ( #1665#@#2017-07-21#@#agr01#@#2#@#21#@#0#@#21#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-21','agr05','2','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-21' 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 ( #1665#@#2017-07-21#@#agr05#@#2#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-21','agr09','2','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-21' and sup_type = 'agr09' 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 ( #1665#@#2017-07-21#@#agr09#@#2#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-21','agr10','2','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-21' and sup_type = 'agr10' 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 ( #1665#@#2017-07-21#@#agr10#@#2#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-22','agr01','1','21','2','23','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-22' 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 ( #1665#@#2017-07-22#@#agr01#@#1#@#21#@#2#@#23#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-22','agr05','1','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-22' 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 ( #1665#@#2017-07-22#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-22','agr09','1','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-22' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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 ( #1665#@#2017-07-22#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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 ( '1665','2017-07-22','agr10','1','0','0','0','1','p','64030_1665','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1665' and close_date = '2017-07-22' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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 ( #1665#@#2017-07-22#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#64030_1665#@#2017-07-22#@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','2017-07-21','agr01','3','873','1','874','1','p','63916_1162','2017-07-22',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 = '2017-07-21' and sup_type = 'agr01' 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_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#@#2017-07-21#@#agr01#@#3#@#873#@#1#@#874#@#1#@#p#@#63916_1162#@#2017-07-22#@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','2017-07-21','agr05','3','0','0','0','1','p','63916_1162','2017-07-22',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 = '2017-07-21' and sup_type = 'agr05' 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_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#@#2017-07-21#@#agr05#@#3#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-22#@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','2017-07-21','agr09','3','0','0','0','1','p','63916_1162','2017-07-22',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 = '2017-07-21' and sup_type = 'agr09' 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_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#@#2017-07-21#@#agr09#@#3#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-22#@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','2017-07-21','agr10','3','0','0','0','1','p','63916_1162','2017-07-22',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 = '2017-07-21' and sup_type = 'agr10' 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_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#@#2017-07-21#@#agr10#@#3#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-22#@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','2017-07-22','agr01','1','874','0','874','1','p','63916_1162','2017-07-22',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 = '2017-07-22' 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#@#2017-07-22#@#agr01#@#1#@#874#@#0#@#874#@#1#@#p#@#63916_1162#@#2017-07-22#@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','2017-07-22','agr05','1','0','0','0','1','p','63916_1162','2017-07-22',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 = '2017-07-22' 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#@#2017-07-22#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-22#@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','2017-07-22','agr09','1','0','0','0','1','p','63916_1162','2017-07-22',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 = '2017-07-22' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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#@#2017-07-22#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-22#@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','2017-07-22','agr10','1','0','0','0','1','p','63916_1162','2017-07-22',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 = '2017-07-22' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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#@#2017-07-22#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#63916_1162#@#2017-07-22#@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 ( '1661','2017-07-21','agr01','2','0','0','0','1','p','63765_1661','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-21' 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 ( #1661#@#2017-07-21#@#agr01#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-22#@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 ( '1661','2017-07-21','agr05','2','0','0','0','1','p','63765_1661','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-21' 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 ( #1661#@#2017-07-21#@#agr05#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-22#@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 ( '1661','2017-07-21','agr09','2','0','0','0','1','p','63765_1661','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-21' and sup_type = 'agr09' 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 ( #1661#@#2017-07-21#@#agr09#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-22#@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 ( '1661','2017-07-21','agr10','2','0','0','0','1','p','63765_1661','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-21' and sup_type = 'agr10' 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 ( #1661#@#2017-07-21#@#agr10#@#2#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-22#@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 ( '1661','2017-07-22','agr01','1','0','0','0','1','p','63765_1661','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-22' 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 ( #1661#@#2017-07-22#@#agr01#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-22#@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 ( '1661','2017-07-22','agr05','1','0','0','0','1','p','63765_1661','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-22' 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 ( #1661#@#2017-07-22#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-22#@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 ( '1661','2017-07-22','agr09','1','0','0','0','1','p','63765_1661','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-22' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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 ( #1661#@#2017-07-22#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-22#@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 ( '1661','2017-07-22','agr10','1','0','0','0','1','p','63765_1661','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1661' and close_date = '2017-07-22' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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 ( #1661#@#2017-07-22#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#63765_1661#@#2017-07-22#@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 ( '1115','2017-07-21','agr01','3','694','0','694','1','p','49692_1115','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-07-21' and sup_type = 'agr01' 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_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 ( #1115#@#2017-07-21#@#agr01#@#3#@#694#@#0#@#694#@#1#@#p#@#49692_1115#@#2017-07-22#@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 ( '1115','2017-07-21','agr05','3','0','0','0','1','p','49692_1115','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-07-21' and sup_type = 'agr05' 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_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 ( #1115#@#2017-07-21#@#agr05#@#3#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-07-22#@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 ( '1115','2017-07-21','agr09','3','0','0','0','1','p','49692_1115','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-07-21' and sup_type = 'agr09' 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_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 ( #1115#@#2017-07-21#@#agr09#@#3#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-07-22#@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 ( '1115','2017-07-21','agr10','3','0','0','0','1','p','49692_1115','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-07-21' and sup_type = 'agr10' 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_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 ( #1115#@#2017-07-21#@#agr10#@#3#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-07-22#@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 ( '1547','2017-07-22','agr01','1','14','0','14','1','p','63771_1547','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-22' 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 ( #1547#@#2017-07-22#@#agr01#@#1#@#14#@#0#@#14#@#1#@#p#@#63771_1547#@#2017-07-22#@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 ( '1547','2017-07-22','agr05','1','0','0','0','1','p','63771_1547','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-22' 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 ( #1547#@#2017-07-22#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#63771_1547#@#2017-07-22#@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 ( '1547','2017-07-22','agr09','1','0','0','0','1','p','63771_1547','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-22' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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 ( #1547#@#2017-07-22#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#63771_1547#@#2017-07-22#@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 ( '1547','2017-07-22','agr10','1','0','0','0','1','p','63771_1547','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1547' and close_date = '2017-07-22' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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 ( #1547#@#2017-07-22#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#63771_1547#@#2017-07-22#@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 ( '1115','2017-07-22','agr01','1','694','0','694','1','p','49692_1115','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-07-22' 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 ( #1115#@#2017-07-22#@#agr01#@#1#@#694#@#0#@#694#@#1#@#p#@#49692_1115#@#2017-07-22#@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 ( '1115','2017-07-22','agr05','1','0','0','0','1','p','49692_1115','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-07-22' 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 ( #1115#@#2017-07-22#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-07-22#@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 ( '1115','2017-07-22','agr09','1','0','0','0','1','p','49692_1115','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-07-22' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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 ( #1115#@#2017-07-22#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-07-22#@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 ( '1115','2017-07-22','agr10','1','0','0','0','1','p','49692_1115','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2017-07-22' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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 ( #1115#@#2017-07-22#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-07-22#@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','2017-07-21','agr01','1','59','0','59','1','p','32490_SBL','2017-07-22',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 = '2017-07-21' 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#@#2017-07-21#@#agr01#@#1#@#59#@#0#@#59#@#1#@#p#@#32490_SBL#@#2017-07-22#@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','2017-07-21','agr05','1','0','0','0','1','p','32490_SBL','2017-07-22',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 = '2017-07-21' 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#@#2017-07-21#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2017-07-22#@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','2017-07-21','agr09','1','0','0','0','1','p','32490_SBL','2017-07-22',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 = '2017-07-21' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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#@#2017-07-21#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2017-07-22#@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','2017-07-21','agr10','1','0','0','0','1','p','32490_SBL','2017-07-22',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 = '2017-07-21' and sup_type = 'agr10' and seq_close = '1'

Query k82.chaiyo-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#@#2017-07-21#@#agr10#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_SBL#@#2017-07-22#@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 ( '1647','2017-07-22','agr01','1','38','1','39','1','p','47875_1647','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-22' 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 ( #1647#@#2017-07-22#@#agr01#@#1#@#38#@#1#@#39#@#1#@#p#@#47875_1647#@#2017-07-22#@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 ( '1647','2017-07-22','agr05','1','0','0','0','1','p','47875_1647','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-22' 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 ( #1647#@#2017-07-22#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#47875_1647#@#2017-07-22#@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 ( '1647','2017-07-22','agr09','1','0','0','0','1','p','47875_1647','2017-07-22',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1647' and close_date = '2017-07-22' and sup_type = 'agr09' and seq_close = '1'

Query k82.chaiyo-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 ( #1647#@#2017-07-22#@#agr09#@#1#@#0#@#0#@#0#@#1#@#p#@#47875_1647#@#2017-07-22#@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,l