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

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

Can't Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','al01','INC','1','+','0.00','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Can't Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','al01','DEC','1','+','0.00','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Can't Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','al01','BF','1','+','0.00','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Can't Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','al02','INC','1','+','0.00','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

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

Can't Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','al02','DEC','1','+','0.00','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

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

Can't Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','al02','BF','1','+','0.00','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1247' and close_date = '2013-10-04' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1364','2013-10-18','al01','DEC','1','+','0.00','1','31990_1364','p','2013-10-19',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1364','2013-10-18','al01','BF','1','+','0.00','1','31990_1364','p','2013-10-19',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1389','2013-10-18','al01','BF','2','+','16012.00','1','60325_1389','p','2013-10-19',now());

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1389','2013-10-18','al02','BF','2','+','0.00','1','60325_1389','p','2013-10-19',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-10-18','al01','BF','2','+','18653.00','1','47293_1082','p','2013-10-19',now());

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1082','2013-10-18','al02','BF','2','+','0.00','1','47293_1082','p','2013-10-19',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2013-10-19','al01','DEC','1','+','0.00','1','56645_1162','p','2013-10-20',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2013-10-19','al01','BF','1','+','0.00','1','56645_1162','p','2013-10-20',now());

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2013-10-19','al02','BF','1','+','0.00','1','56645_1162','p','2013-10-20',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2013-10-19','al01','DEC','1','+','0.00','1','36097_SBP','p','2013-10-20',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2013-10-19','al01','BF','1','+','0.00','1','36097_SBP','p','2013-10-20',now());

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1171','2013-10-19','al02','BF','1','+','0.00','1','36097_SBP','p','2013-10-20',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1173','2013-10-19','al02','BF','1','+','0.00','1','36097_BB','p','2013-10-20',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1173','2013-10-19','al14','INC','1','+','0.00','1','36097_BB','p','2013-10-20',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1173','2013-10-19','al14','DEC','1','+','0.00','1','36097_BB','p','2013-10-20',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1173','2013-10-19','al14','BF','1','+','0.00','1','36097_BB','p','2013-10-20',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al01','DEC','1','+','44099.00','1','55900','p','2013-10-20',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 = '2013-10-19' 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#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#44099.00#@#1#@#55900#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al01','BF','1','+','33631.31','1','55900','p','2013-10-20',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 = '2013-10-19' 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#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#33631.31#@#1#@#55900#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al02','INC','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al02','DEC','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al02','BF','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al03','INC','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al03' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2013-10-19#@#al03#@#INC#@#1#@#+#@#0.00#@#1#@#55900#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al03','DEC','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al03' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2013-10-19#@#al03#@#DEC#@#1#@#+#@#0.00#@#1#@#55900#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al03','BF','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al03' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (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#@#2013-10-19#@#al03#@#BF#@#1#@#+#@#0.00#@#1#@#55900#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al06','INC','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al06','DEC','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al06','BF','1','+','0.00','1','55900','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1386','2013-10-19','al01','BF','2','+','0.00','1','44046_1386','p','2013-10-20',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-10-19','al01','INC','1','+','15000.00','1','50582_1256','p','2013-10-20',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#15000.00#@#1#@#50582_1256#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-10-19','al01','DEC','1','+','0.00','1','50582_1256','p','2013-10-20',now());

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-10-19','al01','BF','1','+','35608.85','1','50582_1256','p','2013-10-20',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#35608.85#@#1#@#50582_1256#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-10-19','al02','INC','1','+','15000.00','1','50582_1256','p','2013-10-20',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#15000.00#@#1#@#50582_1256#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-10-19','al02','DEC','1','+','15000.00','1','50582_1256','p','2013-10-20',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#15000.00#@#1#@#50582_1256#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2013-10-19','al02','BF','1','+','0.00','1','50582_1256','p','2013-10-20',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al01','DEC','1','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al01','BF','1','+','97043.66','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#97043.66#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al02','INC','1','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al02','DEC','1','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al02','BF','1','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al01','INC','2','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' 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 ( #1319#@#2013-10-19#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al01','DEC','2','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' 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 ( #1319#@#2013-10-19#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al01','BF','2','+','97043.66','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' 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 ( #1319#@#2013-10-19#@#al01#@#BF#@#2#@#+#@#97043.66#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al02','INC','2','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al02','DEC','2','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1319','2013-10-19','al02','BF','2','+','0.00','1','50180_1319','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1319' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1319#@#2013-10-19#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#50180_1319#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al01','INC','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' 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 ( #1420#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al01','DEC','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' 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 ( #1420#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al01','BF','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' 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 ( #1420#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al02','INC','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1420#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al02','DEC','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1420#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al02','BF','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1420#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al05','INC','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' 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 ( #1420#@#2013-10-19#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al05','DEC','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' 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 ( #1420#@#2013-10-19#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al05','BF','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' 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 ( #1420#@#2013-10-19#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al06','INC','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1420#@#2013-10-19#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al06','DEC','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1420#@#2013-10-19#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1420','2013-10-19','al06','BF','1','+','0.00','1','55496_1420','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1420' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1420#@#2013-10-19#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#55496_1420#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al01','INC','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al01','DEC','1','+','6561.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#6561.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al01','BF','1','+','4353.05','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#4353.05#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al02','INC','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al02','DEC','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al02','BF','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al05','INC','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al05','DEC','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al05','BF','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al06','INC','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al06','DEC','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1250','2013-10-19','al06','BF','1','+','0.00','1','55732_1250','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1250' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1250#@#2013-10-19#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#55732_1250#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al01','INC','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al01','DEC','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al01','BF','2','+','6707.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al01#@#BF#@#2#@#+#@#6707.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al02','INC','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al02','DEC','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al02','BF','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al05','INC','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al05' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al05','DEC','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al05','BF','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al05' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al05#@#BF#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al06','INC','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al06#@#INC#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al06','DEC','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al06#@#DEC#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-18','al06','BF','2','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-18#@#al06#@#BF#@#2#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al01','INC','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' 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 ( #1377#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al01','DEC','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' 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 ( #1377#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al01','BF','1','+','6707.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' 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 ( #1377#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#6707.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al02','INC','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al02','DEC','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al02','BF','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al05','INC','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' 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 ( #1377#@#2013-10-19#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al05','DEC','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' 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 ( #1377#@#2013-10-19#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al05','BF','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' 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 ( #1377#@#2013-10-19#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al06','INC','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-19#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al06','DEC','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-19#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1377','2013-10-19','al06','BF','1','+','0.00','1','59853','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1377' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1377#@#2013-10-19#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#59853#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al01','INC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' 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 ( #1414#@#2013-10-18#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al01','DEC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' 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 ( #1414#@#2013-10-18#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al01','BF','1','+','11706.95','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' 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 ( #1414#@#2013-10-18#@#al01#@#BF#@#1#@#+#@#11706.95#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al02','INC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-18#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al02','DEC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-18#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al02','BF','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-18#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al05','INC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' 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 ( #1414#@#2013-10-18#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al05','DEC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' 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 ( #1414#@#2013-10-18#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al05','BF','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' 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 ( #1414#@#2013-10-18#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al06','INC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-18#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al06','DEC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-18#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-18','al06','BF','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-18#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al01','INC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' 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#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al01','DEC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' 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#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al01','BF','1','+','167158.00','1','57064','p','2013-10-20',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 = '2013-10-19' 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#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#167158.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al02','INC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al02','DEC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al02','BF','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al05','INC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' 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 ( #476#@#2013-10-19#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al05','DEC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' 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 ( #476#@#2013-10-19#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al05','BF','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' 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 ( #476#@#2013-10-19#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al06','INC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al06','DEC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al06','BF','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al14','INC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al14','DEC','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2013-10-19','al14','BF','1','+','0.00','1','57064','p','2013-10-20',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 = '2013-10-19' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2013-10-19#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#57064#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al01','INC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al01','DEC','1','+','11905.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#11905.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al01','BF','1','+','290303.41','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#290303.41#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al02','INC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al02','DEC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al02','BF','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al09','INC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al09','DEC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al09','BF','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al09#@#BF#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al12','INC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al12' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al12#@#INC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al12','DEC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al12' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al12#@#DEC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al12','BF','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al12' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al12#@#BF#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al14','INC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al14','DEC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al14','BF','1','+','0.74','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al14#@#BF#@#1#@#+#@#0.74#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al05','INC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al05','DEC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al05','BF','1','+','0.05','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al05#@#BF#@#1#@#+#@#0.05#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al06','INC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al06','DEC','1','+','0.00','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2013-10-19','al06','BF','1','+','178.57','1','60188_1054','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1054' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2013-10-19#@#al06#@#BF#@#1#@#+#@#178.57#@#1#@#60188_1054#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1221','2013-10-19','al01','INC','1','+','0.00','1','42003_1221','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-10-19' 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 ( #1221#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1221#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1221','2013-10-19','al01','DEC','1','+','0.00','1','42003_1221','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-10-19' 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 ( #1221#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1221#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1221','2013-10-19','al01','BF','1','+','0.00','1','42003_1221','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-10-19' 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 ( #1221#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1221#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1221','2013-10-19','al05','INC','1','+','0.00','1','42003_1221','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-10-19' 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 ( #1221#@#2013-10-19#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1221#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1221','2013-10-19','al05','DEC','1','+','0.00','1','42003_1221','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-10-19' 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 ( #1221#@#2013-10-19#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1221#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1221','2013-10-19','al05','BF','1','+','0.00','1','42003_1221','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1221' and close_date = '2013-10-19' 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 ( #1221#@#2013-10-19#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1221#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al01','INC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' 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 ( #1414#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al01','DEC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' 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 ( #1414#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al01','BF','1','+','11706.95','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' 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 ( #1414#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#11706.95#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al02','INC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al02','DEC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al02','BF','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al05','INC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' 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 ( #1414#@#2013-10-19#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al05','DEC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' 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 ( #1414#@#2013-10-19#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al05','BF','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' 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 ( #1414#@#2013-10-19#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al06','INC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-19#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al06','DEC','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-19#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1414','2013-10-19','al06','BF','1','+','0.00','1','40195_1414','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1414#@#2013-10-19#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#40195_1414#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-19','al01','INC','1','+','0.00','1','55870_1247','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55870_1247#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-19','al01','DEC','1','+','0.00','1','55870_1247','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#55870_1247#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-19','al01','BF','1','+','0.00','1','55870_1247','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#55870_1247#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-19','al02','INC','1','+','0.00','1','55870_1247','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#55870_1247#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-19','al02','DEC','1','+','0.00','1','55870_1247','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#55870_1247#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-19','al02','BF','1','+','0.00','1','55870_1247','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#55870_1247#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-10-19','al01','INC','1','+','0.00','1','56066_1261','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1261#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-10-19','al01','DEC','1','+','18801.00','1','56066_1261','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#18801.00#@#1#@#56066_1261#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-10-19','al01','BF','1','+','138340.00','1','56066_1261','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#138340.00#@#1#@#56066_1261#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-10-19','al02','INC','1','+','0.00','1','56066_1261','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1261#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-10-19','al02','DEC','1','+','0.00','1','56066_1261','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1261#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1261','2013-10-19','al02','BF','1','+','0.00','1','56066_1261','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1261#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1261#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al01','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al01','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al01','BF','1','+','24761.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al01#@#BF#@#1#@#+#@#24761.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al02','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al02','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al02','BF','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al05','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al05','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al05','BF','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al06','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al06','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al06','BF','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al09','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al09','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al09','BF','1','+','31.24','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al09#@#BF#@#1#@#+#@#31.24#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al14','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al14','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-18','al14','BF','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-18' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-18#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al01','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al01','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al01','BF','1','+','24761.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#24761.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al02','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al02','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al02','BF','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al05','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al05','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al05','BF','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al06','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al06','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al06','BF','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al09','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al09' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al09#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al09','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al09' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al09#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al09','BF','1','+','31.24','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al09' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al09#@#BF#@#1#@#+#@#31.24#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al14','INC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al14' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al14#@#INC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al14','DEC','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al14' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al14#@#DEC#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '607','2013-10-19','al14','BF','1','+','0.00','1','47960','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '607' and close_date = '2013-10-19' and close_acc_book = 'al14' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #607#@#2013-10-19#@#al14#@#BF#@#1#@#+#@#0.00#@#1#@#47960#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al01','INC','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' 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 ( #1217#@#2013-10-11#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al01','DEC','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' 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 ( #1217#@#2013-10-11#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al01','BF','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' 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 ( #1217#@#2013-10-11#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al02','INC','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al02' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al02#@#INC#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al02','DEC','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al02#@#DEC#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al02','BF','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al02' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al02#@#BF#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al05','INC','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al05' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al05#@#INC#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al05','DEC','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al05#@#DEC#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al05','BF','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al05' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al05#@#BF#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al06','INC','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al06' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al06#@#INC#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al06','DEC','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al06#@#DEC#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-11','al06','BF','2','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-11' and close_acc_book = 'al06' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-11#@#al06#@#BF#@#2#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al01','INC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' 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 ( #1217#@#2013-10-18#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al01','DEC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' 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 ( #1217#@#2013-10-18#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al01','BF','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' 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 ( #1217#@#2013-10-18#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al02','INC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-18#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al02','DEC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-18#@#al02#@#DEC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al02','BF','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' and close_acc_book = 'al02' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-18#@#al02#@#BF#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al05','INC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' 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 ( #1217#@#2013-10-18#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al05','DEC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' 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 ( #1217#@#2013-10-18#@#al05#@#DEC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al05','BF','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' 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 ( #1217#@#2013-10-18#@#al05#@#BF#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al06','INC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-18#@#al06#@#INC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al06','DEC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-18#@#al06#@#DEC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-18','al06','BF','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-18' and close_acc_book = 'al06' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-18#@#al06#@#BF#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-19','al01','INC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-19' 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 ( #1217#@#2013-10-19#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-19','al01','DEC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-19' 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 ( #1217#@#2013-10-19#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-19','al01','BF','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-19' 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 ( #1217#@#2013-10-19#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1217','2013-10-19','al02','INC','1','+','0.00','1','60308_1217','p','2013-10-20',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1217' and close_date = '2013-10-19' and close_acc_book = 'al02' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1217#@#2013-10-19#@#al02#@#INC#@#1#@#+#@#0.00#@#1#@#60308_1217#@#p#@#2013-10-20#@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 ( '1260','2014-11-30','B1-1','1','18','0','18','1','p','44742_1260','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-11-30' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1260#@#2014-11-30#@#B1-1#@#1#@#18#@#0#@#18#@#1#@#p#@#44742_1260#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-11-30','B2-1','1','9','0','9','1','p','44742_1260','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-11-30' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1260#@#2014-11-30#@#B2-1#@#1#@#9#@#0#@#9#@#1#@#p#@#44742_1260#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-11-30','B3-1','1','13','0','13','1','p','44742_1260','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-11-30' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1260#@#2014-11-30#@#B3-1#@#1#@#13#@#0#@#13#@#1#@#p#@#44742_1260#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-11-30','B6-1','1','66','0','66','1','p','44742_1260','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-11-30' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1260#@#2014-11-30#@#B6-1#@#1#@#66#@#0#@#66#@#1#@#p#@#44742_1260#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1260','2014-11-30','B7-1','1','0','0','0','1','p','44742_1260','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1260' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1260#@#2014-11-30#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44742_1260#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-29','B1-1','1','89','0','89','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-29' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-29#@#B1-1#@#1#@#89#@#0#@#89#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-29','B2-1','1','56','0','56','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-29' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-29#@#B2-1#@#1#@#56#@#0#@#56#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-29','B3-1','1','54','0','54','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-29' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-29#@#B3-1#@#1#@#54#@#0#@#54#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-29','B6-1','1','32','0','32','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-29' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-29#@#B6-1#@#1#@#32#@#0#@#32#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-29','B7-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-29#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-30','B1-1','1','89','0','89','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-30' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-30#@#B1-1#@#1#@#89#@#0#@#89#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-30','B2-1','1','56','0','56','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-30' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-30#@#B2-1#@#1#@#56#@#0#@#56#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-30','B3-1','1','54','0','54','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-30' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-30#@#B3-1#@#1#@#54#@#0#@#54#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-30','B6-1','1','32','0','32','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-30' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-30#@#B6-1#@#1#@#32#@#0#@#32#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9999','2014-11-30','B7-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9999' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9999#@#2014-11-30#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-26','B1-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-26' 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 ( #9998#@#2014-11-26#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-26','B2-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-26' 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 ( #9998#@#2014-11-26#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-26','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-26' 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 ( #9998#@#2014-11-26#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-26','B6-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-26' 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 ( #9998#@#2014-11-26#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-26','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-26' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9998#@#2014-11-26#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-27','B1-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-27' 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 ( #9998#@#2014-11-27#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-27','B2-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-27' 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 ( #9998#@#2014-11-27#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-27','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-27' 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 ( #9998#@#2014-11-27#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-27','B6-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-27' 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 ( #9998#@#2014-11-27#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-27','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-27' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9998#@#2014-11-27#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-28','B1-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-28' 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 ( #9998#@#2014-11-28#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-28','B2-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-28' 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 ( #9998#@#2014-11-28#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-28','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-28' 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 ( #9998#@#2014-11-28#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-28','B6-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-28' 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 ( #9998#@#2014-11-28#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-28','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-28' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9998#@#2014-11-28#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-29','B1-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-29' 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 ( #9998#@#2014-11-29#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-29','B2-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-29' 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 ( #9998#@#2014-11-29#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-29','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-29' 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 ( #9998#@#2014-11-29#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-29','B6-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-29' 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 ( #9998#@#2014-11-29#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-29','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9998#@#2014-11-29#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-30','B1-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-30' 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 ( #9998#@#2014-11-30#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-30','B2-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-30' 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 ( #9998#@#2014-11-30#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-30','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-30' 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 ( #9998#@#2014-11-30#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-30','B6-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-30' 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 ( #9998#@#2014-11-30#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9998','2014-11-30','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9998' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9998#@#2014-11-30#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-26','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-26' 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 ( #9996#@#2014-11-26#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-26','B2-1','1','8','0','8','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-26' 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 ( #9996#@#2014-11-26#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-26','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-26' 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 ( #9996#@#2014-11-26#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-26','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-26' 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 ( #9996#@#2014-11-26#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-26','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-26' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9996#@#2014-11-26#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-27','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-27' 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 ( #9996#@#2014-11-27#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-27','B2-1','1','8','0','8','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-27' 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 ( #9996#@#2014-11-27#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-27','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-27' 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 ( #9996#@#2014-11-27#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-27','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-27' 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 ( #9996#@#2014-11-27#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-27','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-27' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9996#@#2014-11-27#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-28','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-28' 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 ( #9996#@#2014-11-28#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-28','B2-1','1','8','0','8','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-28' 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 ( #9996#@#2014-11-28#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-28','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-28' 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 ( #9996#@#2014-11-28#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-28','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-28' 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 ( #9996#@#2014-11-28#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-28','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-28' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9996#@#2014-11-28#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-29','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-29' 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 ( #9996#@#2014-11-29#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-29','B2-1','1','8','0','8','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-29' 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 ( #9996#@#2014-11-29#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-29','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-29' 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 ( #9996#@#2014-11-29#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-29','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-29' 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 ( #9996#@#2014-11-29#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-29','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9996#@#2014-11-29#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-30','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-30' 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 ( #9996#@#2014-11-30#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-30','B2-1','1','8','0','8','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-30' 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 ( #9996#@#2014-11-30#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-30','B3-1','1','1','0','1','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-30' 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 ( #9996#@#2014-11-30#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-30','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-30' 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 ( #9996#@#2014-11-30#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9996','2014-11-30','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9996' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9996#@#2014-11-30#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-26','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-26' 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 ( #9994#@#2014-11-26#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-26','B2-1','1','6','0','6','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-26' 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 ( #9994#@#2014-11-26#@#B2-1#@#1#@#6#@#0#@#6#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-26','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-26' 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 ( #9994#@#2014-11-26#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-26','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-26' 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 ( #9994#@#2014-11-26#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-26','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-26' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9994#@#2014-11-26#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-27','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-27' 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 ( #9994#@#2014-11-27#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-27','B2-1','1','6','0','6','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-27' 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 ( #9994#@#2014-11-27#@#B2-1#@#1#@#6#@#0#@#6#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-27','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-27' 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 ( #9994#@#2014-11-27#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-27','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-27' 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 ( #9994#@#2014-11-27#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-27','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-27' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9994#@#2014-11-27#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-28','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-28' 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 ( #9994#@#2014-11-28#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-28','B2-1','1','6','0','6','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-28' 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 ( #9994#@#2014-11-28#@#B2-1#@#1#@#6#@#0#@#6#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-28','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-28' 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 ( #9994#@#2014-11-28#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-28','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-28' 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 ( #9994#@#2014-11-28#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-28','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-28' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9994#@#2014-11-28#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-29','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-29' 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 ( #9994#@#2014-11-29#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-29','B2-1','1','6','0','6','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-29' 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 ( #9994#@#2014-11-29#@#B2-1#@#1#@#6#@#0#@#6#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-29','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-29' 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 ( #9994#@#2014-11-29#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-29','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-29' 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 ( #9994#@#2014-11-29#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-29','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9994#@#2014-11-29#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-30','B1-1','1','5','0','5','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-30' 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 ( #9994#@#2014-11-30#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-30','B2-1','1','6','0','6','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-30' 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 ( #9994#@#2014-11-30#@#B2-1#@#1#@#6#@#0#@#6#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-30','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-30' 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 ( #9994#@#2014-11-30#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-30','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-30' 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 ( #9994#@#2014-11-30#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9994','2014-11-30','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9994' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9994#@#2014-11-30#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-26','B1-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-26' 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 ( #9997#@#2014-11-26#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-26','B2-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-26' 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 ( #9997#@#2014-11-26#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-26','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-26' 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 ( #9997#@#2014-11-26#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-26','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-26' 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 ( #9997#@#2014-11-26#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-26','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-26' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9997#@#2014-11-26#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-27','B1-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-27' 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 ( #9997#@#2014-11-27#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-27','B2-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-27' 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 ( #9997#@#2014-11-27#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-27','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-27' 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 ( #9997#@#2014-11-27#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-27','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-27' 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 ( #9997#@#2014-11-27#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-27','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-27' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9997#@#2014-11-27#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-28','B1-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-28' 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 ( #9997#@#2014-11-28#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-28','B2-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-28' 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 ( #9997#@#2014-11-28#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-28','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-28' 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 ( #9997#@#2014-11-28#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-28','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-28' 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 ( #9997#@#2014-11-28#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-28','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-28' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9997#@#2014-11-28#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-29','B1-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-29' 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 ( #9997#@#2014-11-29#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-29','B2-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-29' 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 ( #9997#@#2014-11-29#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-29','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-29' 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 ( #9997#@#2014-11-29#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-29','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-29' 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 ( #9997#@#2014-11-29#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-29','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9997#@#2014-11-29#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-30','B1-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-30' 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 ( #9997#@#2014-11-30#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-30','B2-1','1','7','0','7','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-30' 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 ( #9997#@#2014-11-30#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-30','B3-1','1','2','0','2','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-30' 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 ( #9997#@#2014-11-30#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-30','B6-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-30' 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 ( #9997#@#2014-11-30#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '9997','2014-11-30','B7-1','1','0','0','0','1','p','bms_center','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '9997' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #9997#@#2014-11-30#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#bms_center#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-11-29','B1-1','1','0','0','0','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-11-29' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-11-29#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-11-29','B2-1','1','0','0','0','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-11-29' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-11-29#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-11-29','B3-1','1','0','0','0','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-11-29' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-11-29#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-11-29','B6-1','1','5','0','5','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-11-29' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-11-29#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-11-29','B7-1','1','0','0','0','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-11-29#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-11-30','B1-1','1','384','0','384','1','p','52299_1058','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-11-30' 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 ( #1058#@#2014-11-30#@#B1-1#@#1#@#384#@#0#@#384#@#1#@#p#@#52299_1058#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-11-30','B2-1','1','24','0','24','1','p','52299_1058','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-11-30' 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 ( #1058#@#2014-11-30#@#B2-1#@#1#@#24#@#0#@#24#@#1#@#p#@#52299_1058#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-11-30','B3-1','1','7','0','7','1','p','52299_1058','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-11-30' 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 ( #1058#@#2014-11-30#@#B3-1#@#1#@#7#@#0#@#7#@#1#@#p#@#52299_1058#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-11-30','B6-1','1','14','0','14','1','p','52299_1058','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-11-30' 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 ( #1058#@#2014-11-30#@#B6-1#@#1#@#14#@#0#@#14#@#1#@#p#@#52299_1058#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-11-30','B7-1','1','0','0','0','1','p','52299_1058','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1058#@#2014-11-30#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52299_1058#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-11-30','B1-1','1','38','0','38','1','p','60308_1414','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-11-30' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-11-30#@#B1-1#@#1#@#38#@#0#@#38#@#1#@#p#@#60308_1414#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-11-30','B2-1','1','2','0','2','1','p','60308_1414','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-11-30' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-11-30#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60308_1414#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-11-30','B3-1','1','5','0','5','1','p','60308_1414','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-11-30' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-11-30#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60308_1414#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-11-30','B6-1','1','0','0','0','1','p','60308_1414','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-11-30' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-11-30#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1414#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-11-30','B7-1','1','0','0','0','1','p','60308_1414','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-11-30#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1414#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-11-30','B1-1','3','9','0','9','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-11-30' 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 ( #1466#@#2014-11-30#@#B1-1#@#3#@#9#@#0#@#9#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-11-30','B2-1','3','2','0','2','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-11-30' 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 ( #1466#@#2014-11-30#@#B2-1#@#3#@#2#@#0#@#2#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-11-30','B3-1','3','0','0','0','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-11-30' 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 ( #1466#@#2014-11-30#@#B3-1#@#3#@#0#@#0#@#0#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-11-30','B6-1','3','0','0','0','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-11-30' 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 ( #1466#@#2014-11-30#@#B6-1#@#3#@#0#@#0#@#0#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-11-30','B7-1','3','0','0','0','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1466#@#2014-11-30#@#B7-1#@#3#@#0#@#0#@#0#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-12-01','B1-1','1','9','0','9','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-12-01' 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 ( #1466#@#2014-12-01#@#B1-1#@#1#@#9#@#0#@#9#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-12-01','B2-1','1','2','0','2','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-12-01' 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 ( #1466#@#2014-12-01#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-12-01','B3-1','1','0','0','0','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-12-01' 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 ( #1466#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-12-01','B6-1','1','0','0','0','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-12-01' 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 ( #1466#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1466','2014-12-01','B7-1','1','0','0','0','1','p','49692_1466','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1466' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1466#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1466#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-11-30','B1-1','2','359','0','359','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-11-30' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-11-30#@#B1-1#@#2#@#359#@#0#@#359#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-11-30','B2-1','2','26','0','26','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-11-30' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-11-30#@#B2-1#@#2#@#26#@#0#@#26#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-11-30','B3-1','2','25','0','25','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-11-30' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-11-30#@#B3-1#@#2#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-11-30','B6-1','2','12','0','12','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-11-30' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-11-30#@#B6-1#@#2#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-11-30','B7-1','2','0','0','0','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-11-30#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-12-01','B1-1','1','359','0','359','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-12-01#@#B1-1#@#1#@#359#@#0#@#359#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-12-01','B2-1','1','26','0','26','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-12-01#@#B2-1#@#1#@#26#@#0#@#26#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-12-01','B3-1','1','25','0','25','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-12-01#@#B3-1#@#1#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-12-01','B6-1','1','12','0','12','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-12-01#@#B6-1#@#1#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2014-12-01','B7-1','1','0','0','0','1','p','49692_1115','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1115' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1115#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-11-30','B1-1','2','870','1','871','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-11-30' 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 ( #1162#@#2014-11-30#@#B1-1#@#2#@#870#@#1#@#871#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-11-30','B2-1','2','3','0','3','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-11-30' 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 ( #1162#@#2014-11-30#@#B2-1#@#2#@#3#@#0#@#3#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-11-30','B3-1','2','4','0','4','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-11-30' 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 ( #1162#@#2014-11-30#@#B3-1#@#2#@#4#@#0#@#4#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-11-30','B6-1','2','0','0','0','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-11-30' 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 ( #1162#@#2014-11-30#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-11-30','B7-1','2','0','0','0','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2014-11-30#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-12-01','B1-1','1','871','0','871','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2014-12-01#@#B1-1#@#1#@#871#@#0#@#871#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-12-01','B2-1','1','3','0','3','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2014-12-01#@#B2-1#@#1#@#3#@#0#@#3#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-12-01','B3-1','1','4','0','4','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2014-12-01#@#B3-1#@#1#@#4#@#0#@#4#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-12-01','B6-1','1','0','0','0','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1162','2014-12-01','B7-1','1','0','0','0','1','p','40192_1162','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1162' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1162#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40192_1162#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2014-11-30','B1-1','2','397','4','401','1','p','40192_NP','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2014-11-30' 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 ( #1191#@#2014-11-30#@#B1-1#@#2#@#397#@#4#@#401#@#1#@#p#@#40192_NP#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2014-11-30','B2-1','2','0','0','0','1','p','40192_NP','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2014-11-30' 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 ( #1191#@#2014-11-30#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#40192_NP#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2014-11-30','B3-1','2','0','0','0','1','p','40192_NP','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2014-11-30' 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 ( #1191#@#2014-11-30#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#40192_NP#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2014-11-30','B6-1','2','16','0','16','1','p','40192_NP','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2014-11-30' 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 ( #1191#@#2014-11-30#@#B6-1#@#2#@#16#@#0#@#16#@#1#@#p#@#40192_NP#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1191','2014-11-30','B7-1','2','0','0','0','1','p','40192_NP','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1191' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1191#@#2014-11-30#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#40192_NP#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1351','2014-12-01','B1-1','1','1','0','1','1','p','47875_1351','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2014-12-01#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#47875_1351#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1351','2014-12-01','B2-1','1','8','0','8','1','p','47875_1351','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2014-12-01#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#47875_1351#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1351','2014-12-01','B3-1','1','7','0','7','1','p','47875_1351','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2014-12-01#@#B3-1#@#1#@#7#@#0#@#7#@#1#@#p#@#47875_1351#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1351','2014-12-01','B6-1','1','377','1','378','1','p','47875_1351','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2014-12-01#@#B6-1#@#1#@#377#@#1#@#378#@#1#@#p#@#47875_1351#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1351','2014-12-01','B7-1','1','1','0','1','1','p','47875_1351','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1351' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1351#@#2014-12-01#@#B7-1#@#1#@#1#@#0#@#1#@#1#@#p#@#47875_1351#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1506','2014-12-01','B1-1','1','0','0','0','1','p','59801_1506','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1506' and close_date = '2014-12-01' 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 ( #1506#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59801_1506#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1506','2014-12-01','B2-1','1','0','0','0','1','p','59801_1506','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1506' and close_date = '2014-12-01' 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 ( #1506#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59801_1506#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1506','2014-12-01','B3-1','1','0','0','0','1','p','59801_1506','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1506' and close_date = '2014-12-01' 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 ( #1506#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59801_1506#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1506','2014-12-01','B6-1','1','22','10','32','1','p','59801_1506','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1506' and close_date = '2014-12-01' 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 ( #1506#@#2014-12-01#@#B6-1#@#1#@#22#@#10#@#32#@#1#@#p#@#59801_1506#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1506','2014-12-01','B7-1','1','0','0','0','1','p','59801_1506','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1506' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1506#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59801_1506#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1507','2014-12-01','B1-1','1','13','0','13','1','p','61422_1507','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1507' and close_date = '2014-12-01' 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 ( #1507#@#2014-12-01#@#B1-1#@#1#@#13#@#0#@#13#@#1#@#p#@#61422_1507#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1507','2014-12-01','B2-1','1','2','0','2','1','p','61422_1507','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1507' and close_date = '2014-12-01' 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 ( #1507#@#2014-12-01#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#61422_1507#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1507','2014-12-01','B3-1','1','0','0','0','1','p','61422_1507','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1507' and close_date = '2014-12-01' 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 ( #1507#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61422_1507#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1507','2014-12-01','B6-1','1','0','0','0','1','p','61422_1507','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1507' and close_date = '2014-12-01' 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 ( #1507#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61422_1507#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1507','2014-12-01','B7-1','1','0','0','0','1','p','61422_1507','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1507' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1507#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61422_1507#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-12-01','B1-1','1','61','0','61','1','p','47937_1438','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1438#@#2014-12-01#@#B1-1#@#1#@#61#@#0#@#61#@#1#@#p#@#47937_1438#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-12-01','B2-1','1','13','0','13','1','p','47937_1438','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1438#@#2014-12-01#@#B2-1#@#1#@#13#@#0#@#13#@#1#@#p#@#47937_1438#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-12-01','B3-1','1','0','0','0','1','p','47937_1438','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1438#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1438#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-12-01','B6-1','1','0','0','0','1','p','47937_1438','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1438#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1438#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1438','2014-12-01','B7-1','1','0','0','0','1','p','47937_1438','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1438' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1438#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#47937_1438#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B1-1','1','6','0','6','1','p','56066_1373','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B1-1#@#1#@#6#@#0#@#6#@#1#@#p#@#56066_1373#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B2-1','1','4','0','4','1','p','56066_1373','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B2-1#@#1#@#4#@#0#@#4#@#1#@#p#@#56066_1373#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B3-1','1','2','0','2','1','p','56066_1373','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#56066_1373#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B6-1','1','66','0','66','1','p','56066_1373','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B6-1#@#1#@#66#@#0#@#66#@#1#@#p#@#56066_1373#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B7-1','1','0','0','0','1','p','56066_1373','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56066_1373#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-11-30','B1-1','2','7','0','7','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-11-30' 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 ( #1459#@#2014-11-30#@#B1-1#@#2#@#7#@#0#@#7#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-11-30','B2-1','2','7','0','7','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-11-30' 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 ( #1459#@#2014-11-30#@#B2-1#@#2#@#7#@#0#@#7#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-11-30','B3-1','2','0','0','0','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-11-30' 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 ( #1459#@#2014-11-30#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-11-30','B6-1','2','0','0','0','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-11-30' 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 ( #1459#@#2014-11-30#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-11-30','B7-1','2','0','0','0','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1459#@#2014-11-30#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-12-01','B1-1','1','7','0','7','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-12-01' 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 ( #1459#@#2014-12-01#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-12-01','B2-1','1','7','0','7','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-12-01' 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 ( #1459#@#2014-12-01#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-12-01','B3-1','1','0','0','0','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-12-01' 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 ( #1459#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-12-01','B6-1','1','0','0','0','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-12-01' 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 ( #1459#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1459','2014-12-01','B7-1','1','0','0','0','1','p','34579_PEN_CHC','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1459' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1459#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_CHC#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1514','2014-12-01','B1-1','1','4','0','4','1','p','34579_PEN_PT','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1514' and close_date = '2014-12-01' 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 ( #1514#@#2014-12-01#@#B1-1#@#1#@#4#@#0#@#4#@#1#@#p#@#34579_PEN_PT#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1514','2014-12-01','B2-1','1','7','0','7','1','p','34579_PEN_PT','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1514' and close_date = '2014-12-01' 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 ( #1514#@#2014-12-01#@#B2-1#@#1#@#7#@#0#@#7#@#1#@#p#@#34579_PEN_PT#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1514','2014-12-01','B3-1','1','0','0','0','1','p','34579_PEN_PT','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1514' and close_date = '2014-12-01' 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 ( #1514#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_PT#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1514','2014-12-01','B6-1','1','0','0','0','1','p','34579_PEN_PT','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1514' and close_date = '2014-12-01' 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 ( #1514#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_PT#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1514','2014-12-01','B7-1','1','0','0','0','1','p','34579_PEN_PT','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1514' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1514#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34579_PEN_PT#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1243','2014-12-01','B1-1','1','0','0','0','1','p','60436_ps','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1243#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1243','2014-12-01','B2-1','1','0','0','0','1','p','60436_ps','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1243#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1243','2014-12-01','B3-1','1','0','0','0','1','p','60436_ps','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1243#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1243','2014-12-01','B6-1','1','487','33','520','1','p','60436_ps','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1243#@#2014-12-01#@#B6-1#@#1#@#487#@#33#@#520#@#1#@#p#@#60436_ps#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1243','2014-12-01','B7-1','1','0','0','0','1','p','60436_ps','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1243' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1243#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60436_ps#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-12-01','B1-1','1','0','0','0','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-12-01','B2-1','1','0','0','0','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-12-01','B3-1','1','0','0','0','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-12-01','B6-1','1','5','0','5','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-12-01#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1376','2014-12-01','B7-1','1','0','0','0','1','p','45247_1376','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1376' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1376#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#45247_1376#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-30','B1-1','2','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-11-30' 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 ( #1478#@#2014-11-30#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-30','B2-1','2','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-11-30' 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 ( #1478#@#2014-11-30#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-30','B3-1','2','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-11-30' 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 ( #1478#@#2014-11-30#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-30','B6-1','2','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-11-30' 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 ( #1478#@#2014-11-30#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-30','B7-1','2','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-11-30' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1478#@#2014-11-30#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B1-1','1','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-12-01' 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#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B2-1','1','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-12-01' 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#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B3-1','1','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-12-01' 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#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B6-1','1','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-12-01' 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#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B7-1','1','0','0','0','1','p','61037_1478','2014-12-01',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 = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1478#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61037_1478#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2014-11-28','B1-1','1','0','0','0','1','p','','2014-12-01',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 = '2014-11-28' 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 ( ##@#2014-11-28#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2014-11-28','B2-1','1','0','0','0','1','p','','2014-12-01',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 = '2014-11-28' 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 ( ##@#2014-11-28#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2014-11-28','B3-1','1','0','0','0','1','p','','2014-12-01',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 = '2014-11-28' 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 ( ##@#2014-11-28#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2014-11-28','B6-1','1','0','0','0','1','p','','2014-12-01',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 = '2014-11-28' 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 ( ##@#2014-11-28#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '','2014-11-28','B7-1','1','0','0','0','1','p','','2014-12-01',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 = '2014-11-28' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( ##@#2014-11-28#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@##@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-11-29','B1-1','2','464','0','464','1','p','60885_1216','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-11-29' 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 ( #1216#@#2014-11-29#@#B1-1#@#2#@#464#@#0#@#464#@#1#@#p#@#60885_1216#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-11-29','B2-1','2','14','0','14','1','p','60885_1216','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-11-29' 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 ( #1216#@#2014-11-29#@#B2-1#@#2#@#14#@#0#@#14#@#1#@#p#@#60885_1216#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-11-29','B3-1','2','6','0','6','1','p','60885_1216','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-11-29' 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 ( #1216#@#2014-11-29#@#B3-1#@#2#@#6#@#0#@#6#@#1#@#p#@#60885_1216#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-11-29','B6-1','2','52','0','52','1','p','60885_1216','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-11-29' 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 ( #1216#@#2014-11-29#@#B6-1#@#2#@#52#@#0#@#52#@#1#@#p#@#60885_1216#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-11-29','B7-1','2','0','0','0','1','p','60885_1216','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1216#@#2014-11-29#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#60885_1216#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1426','2014-12-01','B1-1','1','0','0','0','1','p','59648_1426','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1426' and close_date = '2014-12-01' 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 ( #1426#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59648_1426#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1426','2014-12-01','B2-1','1','0','0','0','1','p','59648_1426','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1426' and close_date = '2014-12-01' 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 ( #1426#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59648_1426#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1426','2014-12-01','B3-1','1','0','0','0','1','p','59648_1426','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1426' and close_date = '2014-12-01' 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 ( #1426#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59648_1426#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1426','2014-12-01','B6-1','1','217','11','228','1','p','59648_1426','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1426' and close_date = '2014-12-01' 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 ( #1426#@#2014-12-01#@#B6-1#@#1#@#217#@#11#@#228#@#1#@#p#@#59648_1426#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1426','2014-12-01','B7-1','1','0','0','0','1','p','59648_1426','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1426' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1426#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59648_1426#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B1-1','1','0','0','0','1','p','34016_1477','2014-12-01',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 = '2014-12-01' 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 ( #1477#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34016_1477#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B2-1','1','0','0','0','1','p','34016_1477','2014-12-01',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 = '2014-12-01' 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 ( #1477#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34016_1477#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B3-1','1','0','0','0','1','p','34016_1477','2014-12-01',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 = '2014-12-01' 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 ( #1477#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34016_1477#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B6-1','1','16','0','16','1','p','34016_1477','2014-12-01',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 = '2014-12-01' 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 ( #1477#@#2014-12-01#@#B6-1#@#1#@#16#@#0#@#16#@#1#@#p#@#34016_1477#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B7-1','1','0','0','0','1','p','34016_1477','2014-12-01',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 = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1477#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34016_1477#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-28','B1-1','2','57','0','57','1','p','56645_1450','2014-12-01',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 = '2014-11-28' 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#@#2014-11-28#@#B1-1#@#2#@#57#@#0#@#57#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-28','B2-1','2','0','0','0','1','p','56645_1450','2014-12-01',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 = '2014-11-28' 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#@#2014-11-28#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-28','B3-1','2','0','0','0','1','p','56645_1450','2014-12-01',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 = '2014-11-28' 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#@#2014-11-28#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-28','B6-1','2','0','0','0','1','p','56645_1450','2014-12-01',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 = '2014-11-28' 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#@#2014-11-28#@#B6-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-28','B7-1','2','0','0','0','1','p','56645_1450','2014-12-01',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 = '2014-11-28' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1450#@#2014-11-28#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-12-01','B1-1','1','42','0','42','1','p','50582_1256','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2014-12-01#@#B1-1#@#1#@#42#@#0#@#42#@#1#@#p#@#50582_1256#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-12-01','B2-1','1','3','0','3','1','p','50582_1256','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2014-12-01#@#B2-1#@#1#@#3#@#0#@#3#@#1#@#p#@#50582_1256#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-12-01','B3-1','1','8','0','8','1','p','50582_1256','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2014-12-01#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#50582_1256#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-12-01','B6-1','1','7','0','7','1','p','50582_1256','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2014-12-01#@#B6-1#@#1#@#7#@#0#@#7#@#1#@#p#@#50582_1256#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1256','2014-12-01','B7-1','1','0','0','0','1','p','50582_1256','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B1-1','1','57','0','57','1','p','56645_1450','2014-12-01',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 = '2014-12-01' 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#@#2014-12-01#@#B1-1#@#1#@#57#@#0#@#57#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B2-1','1','0','0','0','1','p','56645_1450','2014-12-01',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 = '2014-12-01' 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#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B3-1','1','0','0','0','1','p','56645_1450','2014-12-01',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 = '2014-12-01' 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#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B6-1','1','0','0','0','1','p','56645_1450','2014-12-01',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 = '2014-12-01' 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#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B7-1','1','0','0','0','1','p','56645_1450','2014-12-01',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 = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1450#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56645_1450#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-11-30','B1-1','2','0','0','0','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-11-30' 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 ( #1524#@#2014-11-30#@#B1-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-11-30','B2-1','2','0','0','0','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-11-30' 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 ( #1524#@#2014-11-30#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-11-30','B3-1','2','0','0','0','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-11-30' 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 ( #1524#@#2014-11-30#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-11-30','B6-1','2','18','0','18','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-11-30' 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 ( #1524#@#2014-11-30#@#B6-1#@#2#@#18#@#0#@#18#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-11-30','B7-1','2','0','0','0','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1524#@#2014-11-30#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-12-01','B1-1','1','0','0','0','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-12-01' 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 ( #1524#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-12-01','B2-1','1','0','0','0','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-12-01' 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 ( #1524#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-12-01','B3-1','1','0','0','0','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-12-01' 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 ( #1524#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-12-01','B6-1','1','18','17','35','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-12-01' 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 ( #1524#@#2014-12-01#@#B6-1#@#1#@#18#@#17#@#35#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1524','2014-12-01','B7-1','1','0','0','0','1','p','56792_1524','2014-12-01',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1524' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1524#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#56792_1524#@#2014-12-01#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1363','2014-12-01','B1-1','1','22','0','22','1','p','58031_1363','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1363#@#2014-12-01#@#B1-1#@#1#@#22#@#0#@#22#@#1#@#p#@#58031_1363#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1363','2014-12-01','B2-1','1','1','0','1','1','p','58031_1363','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1363#@#2014-12-01#@#B2-1#@#1#@#1#@#0#@#1#@#1#@#p#@#58031_1363#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1363','2014-12-01','B3-1','1','0','0','0','1','p','58031_1363','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1363#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1363#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1363','2014-12-01','B6-1','1','38','1','39','1','p','58031_1363','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1363#@#2014-12-01#@#B6-1#@#1#@#38#@#1#@#39#@#1#@#p#@#58031_1363#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1363','2014-12-01','B7-1','1','0','0','0','1','p','58031_1363','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1363' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1363#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#58031_1363#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-12-01','B1-1','1','79','2','81','1','p','33264_SKP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1187#@#2014-12-01#@#B1-1#@#1#@#79#@#2#@#81#@#1#@#p#@#33264_SKP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-12-01','B2-1','1','0','0','0','1','p','33264_SKP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1187#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-12-01','B3-1','1','0','0','0','1','p','33264_SKP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1187#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-12-01','B6-1','1','39','1','40','1','p','33264_SKP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1187#@#2014-12-01#@#B6-1#@#1#@#39#@#1#@#40#@#1#@#p#@#33264_SKP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1187','2014-12-01','B7-1','1','0','0','0','1','p','33264_SKP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1187' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1187#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-12-01','B1-1','1','0','0','0','1','p','60476_1395','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1395#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60476_1395#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-12-01','B2-1','1','2','0','2','1','p','60476_1395','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1395#@#2014-12-01#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60476_1395#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-12-01','B3-1','1','0','0','0','1','p','60476_1395','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1395#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60476_1395#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-12-01','B6-1','1','107','0','107','1','p','60476_1395','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1395#@#2014-12-01#@#B6-1#@#1#@#107#@#0#@#107#@#1#@#p#@#60476_1395#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1395','2014-12-01','B7-1','1','0','0','0','1','p','60476_1395','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1395' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1395#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60476_1395#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-12-01','B1-1','1','882','0','882','1','p','61045_452','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #452#@#2014-12-01#@#B1-1#@#1#@#882#@#0#@#882#@#1#@#p#@#61045_452#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-12-01','B2-1','1','44','0','44','1','p','61045_452','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #452#@#2014-12-01#@#B2-1#@#1#@#44#@#0#@#44#@#1#@#p#@#61045_452#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-12-01','B3-1','1','5','0','5','1','p','61045_452','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #452#@#2014-12-01#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#61045_452#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-12-01','B6-1','1','237','0','237','1','p','61045_452','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #452#@#2014-12-01#@#B6-1#@#1#@#237#@#0#@#237#@#1#@#p#@#61045_452#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '452','2014-12-01','B7-1','1','0','0','0','1','p','61045_452','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '452' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #452#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61045_452#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-11-27','B1-1','3','13','0','13','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-11-27' 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 ( #1227#@#2014-11-27#@#B1-1#@#3#@#13#@#0#@#13#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-11-27','B2-1','3','8','0','8','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-11-27' 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 ( #1227#@#2014-11-27#@#B2-1#@#3#@#8#@#0#@#8#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-11-27','B3-1','3','5','0','5','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-11-27' 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 ( #1227#@#2014-11-27#@#B3-1#@#3#@#5#@#0#@#5#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-11-27','B6-1','3','933','0','933','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-11-27' 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 ( #1227#@#2014-11-27#@#B6-1#@#3#@#933#@#0#@#933#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-11-27','B7-1','3','0','0','0','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-11-27' and pl_id = 'B7-1' and seq_close = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1227#@#2014-11-27#@#B7-1#@#3#@#0#@#0#@#0#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-12-01','B1-1','1','13','0','13','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1227#@#2014-12-01#@#B1-1#@#1#@#13#@#0#@#13#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-12-01','B2-1','1','8','0','8','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1227#@#2014-12-01#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-12-01','B3-1','1','5','0','5','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1227#@#2014-12-01#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-12-01','B6-1','1','933','0','933','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1227#@#2014-12-01#@#B6-1#@#1#@#933#@#0#@#933#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1227','2014-12-01','B7-1','1','0','0','0','1','p','33128_1227','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1227' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1227#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33128_1227#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1261','2014-12-01','B1-1','1','0','0','0','1','p','55900_1261','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1261#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55900_1261#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1261','2014-12-01','B2-1','1','0','0','0','1','p','55900_1261','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1261#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55900_1261#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1261','2014-12-01','B3-1','1','0','0','0','1','p','55900_1261','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1261#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55900_1261#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1261','2014-12-01','B6-1','1','353','0','353','1','p','55900_1261','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1261#@#2014-12-01#@#B6-1#@#1#@#353#@#0#@#353#@#1#@#p#@#55900_1261#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1261','2014-12-01','B7-1','1','0','0','0','1','p','55900_1261','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1261' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1261#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#55900_1261#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-29','B1-1','2','9','0','9','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-11-29' 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 ( #1465#@#2014-11-29#@#B1-1#@#2#@#9#@#0#@#9#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-29','B2-1','2','0','0','0','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-11-29' 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 ( #1465#@#2014-11-29#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-29','B3-1','2','0','0','0','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-11-29' 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 ( #1465#@#2014-11-29#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-29','B6-1','2','5','0','5','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-11-29' 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 ( #1465#@#2014-11-29#@#B6-1#@#2#@#5#@#0#@#5#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-11-29','B7-1','2','0','0','0','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-11-29' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1465#@#2014-11-29#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B1-1','1','9','1','10','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B1-1#@#1#@#9#@#1#@#10#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B2-1','1','0','0','0','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B3-1','1','0','0','0','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B6-1','1','5','0','5','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B6-1#@#1#@#5#@#0#@#5#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B7-1','1','0','0','0','1','p','36097_SBP_CHC','2014-12-02',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 = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1465#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_CHC#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-12-01','B1-1','1','45','9','54','1','p','61433_1436','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1436#@#2014-12-01#@#B1-1#@#1#@#45#@#9#@#54#@#1#@#p#@#61433_1436#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-12-01','B2-1','1','0','0','0','1','p','61433_1436','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1436#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61433_1436#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-12-01','B3-1','1','0','0','0','1','p','61433_1436','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1436#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61433_1436#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-12-01','B6-1','1','2','0','2','1','p','61433_1436','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1436#@#2014-12-01#@#B6-1#@#1#@#2#@#0#@#2#@#1#@#p#@#61433_1436#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1436','2014-12-01','B7-1','1','0','0','0','1','p','61433_1436','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1436' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1436#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#61433_1436#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '215','2014-12-01','B1-1','1','117','0','117','1','p','59346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #215#@#2014-12-01#@#B1-1#@#1#@#117#@#0#@#117#@#1#@#p#@#59346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '215','2014-12-01','B2-1','1','192','0','192','1','p','59346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #215#@#2014-12-01#@#B2-1#@#1#@#192#@#0#@#192#@#1#@#p#@#59346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '215','2014-12-01','B3-1','1','13','0','13','1','p','59346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #215#@#2014-12-01#@#B3-1#@#1#@#13#@#0#@#13#@#1#@#p#@#59346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '215','2014-12-01','B6-1','1','3620','8','3628','1','p','59346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #215#@#2014-12-01#@#B6-1#@#1#@#3620#@#8#@#3628#@#1#@#p#@#59346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '215','2014-12-01','B7-1','1','0','0','0','1','p','59346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '215' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #215#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#59346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-11-29','B1-1','2','28','0','28','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-11-29' 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 ( #1464#@#2014-11-29#@#B1-1#@#2#@#28#@#0#@#28#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-11-29','B2-1','2','0','0','0','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-11-29' 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 ( #1464#@#2014-11-29#@#B2-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-11-29','B3-1','2','0','0','0','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-11-29' 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 ( #1464#@#2014-11-29#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-11-29','B6-1','2','1','0','1','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-11-29' 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 ( #1464#@#2014-11-29#@#B6-1#@#2#@#1#@#0#@#1#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-11-29','B7-1','2','0','0','0','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1464#@#2014-11-29#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-12-01','B1-1','1','28','0','28','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-12-01' 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 ( #1464#@#2014-12-01#@#B1-1#@#1#@#28#@#0#@#28#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-12-01','B2-1','1','0','0','0','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-12-01' 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 ( #1464#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-12-01','B3-1','1','0','0','0','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-12-01' 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 ( #1464#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-12-01','B6-1','1','1','0','1','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-12-01' 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 ( #1464#@#2014-12-01#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1464','2014-12-01','B7-1','1','0','0','0','1','p','36097_SBP_BB','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1464' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1464#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_BB#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1498','2014-12-01','B1-1','1','9','0','9','1','p','36097_SBP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1498' and close_date = '2014-12-01' 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 ( #1498#@#2014-12-01#@#B1-1#@#1#@#9#@#0#@#9#@#1#@#p#@#36097_SBP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1498','2014-12-01','B2-1','1','0','0','0','1','p','36097_SBP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1498' and close_date = '2014-12-01' 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 ( #1498#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1498','2014-12-01','B3-1','1','0','0','0','1','p','36097_SBP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1498' and close_date = '2014-12-01' 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 ( #1498#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1498','2014-12-01','B6-1','1','2','0','2','1','p','36097_SBP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1498' and close_date = '2014-12-01' 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 ( #1498#@#2014-12-01#@#B6-1#@#1#@#2#@#0#@#2#@#1#@#p#@#36097_SBP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1498','2014-12-01','B7-1','1','0','0','0','1','p','36097_SBP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1498' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1498#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1492','2014-12-01','B1-1','1','9','2','11','1','p','33264_SKP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2014-12-01' 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 ( #1492#@#2014-12-01#@#B1-1#@#1#@#9#@#2#@#11#@#1#@#p#@#33264_SKP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1492','2014-12-01','B2-1','1','0','0','0','1','p','33264_SKP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2014-12-01' 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 ( #1492#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1492','2014-12-01','B3-1','1','0','0','0','1','p','33264_SKP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2014-12-01' 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 ( #1492#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1492','2014-12-01','B6-1','1','1','0','1','1','p','33264_SKP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2014-12-01' 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 ( #1492#@#2014-12-01#@#B6-1#@#1#@#1#@#0#@#1#@#1#@#p#@#33264_SKP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1492','2014-12-01','B7-1','1','0','0','0','1','p','33264_SKP_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1492' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1492#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#33264_SKP_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1518','2014-12-01','B1-1','1','3','0','3','1','p','36097_SBP_PT','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1518' and close_date = '2014-12-01' 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 ( #1518#@#2014-12-01#@#B1-1#@#1#@#3#@#0#@#3#@#1#@#p#@#36097_SBP_PT#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1518','2014-12-01','B2-1','1','0','0','0','1','p','36097_SBP_PT','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1518' and close_date = '2014-12-01' 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 ( #1518#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_PT#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1518','2014-12-01','B3-1','1','0','0','0','1','p','36097_SBP_PT','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1518' and close_date = '2014-12-01' 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 ( #1518#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_PT#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1518','2014-12-01','B6-1','1','0','0','0','1','p','36097_SBP_PT','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1518' and close_date = '2014-12-01' 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 ( #1518#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_PT#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1518','2014-12-01','B7-1','1','0','0','0','1','p','36097_SBP_PT','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1518' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1518#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP_PT#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-12-01','B1-1','1','93','0','93','1','p','36097_SBP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2014-12-01#@#B1-1#@#1#@#93#@#0#@#93#@#1#@#p#@#36097_SBP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-12-01','B2-1','1','0','0','0','1','p','36097_SBP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-12-01','B3-1','1','0','0','0','1','p','36097_SBP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-12-01','B6-1','1','143','0','143','1','p','36097_SBP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2014-12-01#@#B6-1#@#1#@#143#@#0#@#143#@#1#@#p#@#36097_SBP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1171','2014-12-01','B7-1','1','0','0','0','1','p','36097_SBP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1171' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1171#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36097_SBP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2014-12-01','B1-1','1','46','0','46','1','p','54110_1232','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1232#@#2014-12-01#@#B1-1#@#1#@#46#@#0#@#46#@#1#@#p#@#54110_1232#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2014-12-01','B2-1','1','9','0','9','1','p','54110_1232','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1232#@#2014-12-01#@#B2-1#@#1#@#9#@#0#@#9#@#1#@#p#@#54110_1232#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2014-12-01','B3-1','1','5','0','5','1','p','54110_1232','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1232#@#2014-12-01#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#54110_1232#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2014-12-01','B6-1','1','1830','10','1840','1','p','54110_1232','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1232#@#2014-12-01#@#B6-1#@#1#@#1830#@#10#@#1840#@#1#@#p#@#54110_1232#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2014-12-01','B7-1','1','0','0','0','1','p','54110_1232','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1232' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1232#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#54110_1232#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1504','2014-12-01','B1-1','1','25','3','28','1','p','44345_1504','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1504' and close_date = '2014-12-01' 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 ( #1504#@#2014-12-01#@#B1-1#@#1#@#25#@#3#@#28#@#1#@#p#@#44345_1504#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1504','2014-12-01','B2-1','1','0','0','0','1','p','44345_1504','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1504' and close_date = '2014-12-01' 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 ( #1504#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1504#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1504','2014-12-01','B3-1','1','0','0','0','1','p','44345_1504','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1504' and close_date = '2014-12-01' 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 ( #1504#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1504#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1504','2014-12-01','B6-1','1','0','0','0','1','p','44345_1504','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1504' and close_date = '2014-12-01' 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 ( #1504#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1504#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1504','2014-12-01','B7-1','1','0','0','0','1','p','44345_1504','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1504' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1504#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_1504#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1401','2014-12-01','B1-1','1','64','1','65','1','p','31997_1401','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2014-12-01' 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 ( #1401#@#2014-12-01#@#B1-1#@#1#@#64#@#1#@#65#@#1#@#p#@#31997_1401#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1401','2014-12-01','B2-1','1','0','0','0','1','p','31997_1401','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2014-12-01' 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 ( #1401#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1401#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1401','2014-12-01','B3-1','1','2','0','2','1','p','31997_1401','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2014-12-01' 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 ( #1401#@#2014-12-01#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#31997_1401#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1401','2014-12-01','B6-1','1','0','0','0','1','p','31997_1401','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2014-12-01' 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 ( #1401#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1401#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1401','2014-12-01','B7-1','1','0','0','0','1','p','31997_1401','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1401' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1401#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1401#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1521','2014-12-01','B1-1','1','1','0','1','1','p','42960_1521','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1521' and close_date = '2014-12-01' 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 ( #1521#@#2014-12-01#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#42960_1521#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1521','2014-12-01','B2-1','1','0','0','0','1','p','42960_1521','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1521' and close_date = '2014-12-01' 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 ( #1521#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1521#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1521','2014-12-01','B3-1','1','0','0','0','1','p','42960_1521','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1521' and close_date = '2014-12-01' 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 ( #1521#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1521#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1521','2014-12-01','B6-1','1','0','0','0','1','p','42960_1521','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1521' and close_date = '2014-12-01' 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 ( #1521#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1521#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1521','2014-12-01','B7-1','1','0','0','0','1','p','42960_1521','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1521' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1521#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1521#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-28','B1-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-28' 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 ( #1511#@#2014-11-28#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-28','B2-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-28' 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 ( #1511#@#2014-11-28#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-28','B3-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-28' 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 ( #1511#@#2014-11-28#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-28','B6-1','1','2','0','2','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-28' 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 ( #1511#@#2014-11-28#@#B6-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-28','B7-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-28' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1511#@#2014-11-28#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-29','B1-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-29' 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 ( #1511#@#2014-11-29#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-29','B2-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-29' 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 ( #1511#@#2014-11-29#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-29','B3-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-29' 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 ( #1511#@#2014-11-29#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-29','B6-1','1','2','0','2','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-29' 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 ( #1511#@#2014-11-29#@#B6-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-29','B7-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-29' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1511#@#2014-11-29#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-30','B1-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-30' 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 ( #1511#@#2014-11-30#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-30','B2-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-30' 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 ( #1511#@#2014-11-30#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-30','B3-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-30' 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 ( #1511#@#2014-11-30#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-30','B6-1','1','2','0','2','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-30' 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 ( #1511#@#2014-11-30#@#B6-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-11-30','B7-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-11-30' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1511#@#2014-11-30#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-12-01','B1-1','1','22','0','22','1','p','60325_1447','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1447#@#2014-12-01#@#B1-1#@#1#@#22#@#0#@#22#@#1#@#p#@#60325_1447#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-12-01','B2-1','1','0','0','0','1','p','60325_1447','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1447#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-12-01','B3-1','1','0','0','0','1','p','60325_1447','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1447#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-12-01','B6-1','1','0','0','0','1','p','60325_1447','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1447#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1447','2014-12-01','B7-1','1','0','0','0','1','p','60325_1447','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1447' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1447#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60325_1447#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B1-1','2','6','0','6','1','p','56066_1373','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B1-1#@#2#@#6#@#0#@#6#@#1#@#p#@#56066_1373#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B2-1','2','4','0','4','1','p','56066_1373','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B2-1#@#2#@#4#@#0#@#4#@#1#@#p#@#56066_1373#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B3-1','2','2','0','2','1','p','56066_1373','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B3-1#@#2#@#2#@#0#@#2#@#1#@#p#@#56066_1373#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B6-1','2','66','0','66','1','p','56066_1373','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B6-1#@#2#@#66#@#0#@#66#@#1#@#p#@#56066_1373#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1373','2014-12-01','B7-1','2','0','0','0','1','p','56066_1373','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1373' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1373#@#2014-12-01#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#56066_1373#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-12-01','B1-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-12-01' 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 ( #1511#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-12-01','B2-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-12-01' 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 ( #1511#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-12-01','B3-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-12-01' 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 ( #1511#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-12-01','B6-1','1','2','0','2','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-12-01' 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 ( #1511#@#2014-12-01#@#B6-1#@#1#@#2#@#0#@#2#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1511','2014-12-01','B7-1','1','0','0','0','1','p','42960_1511','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1511' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1511#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#42960_1511#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B1-1','1','7','0','7','1','p','57395_1439','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#57395_1439#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B2-1','1','0','0','0','1','p','57395_1439','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1439#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B3-1','1','1','0','1','1','p','57395_1439','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#57395_1439#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B6-1','1','34','0','34','1','p','57395_1439','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B6-1#@#1#@#34#@#0#@#34#@#1#@#p#@#57395_1439#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B7-1','1','0','0','0','1','p','57395_1439','2014-12-02',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 = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1439#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57395_1439#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1423','2014-12-01','B1-1','1','98','0','98','1','p','57097_1423','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1423#@#2014-12-01#@#B1-1#@#1#@#98#@#0#@#98#@#1#@#p#@#57097_1423#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1423','2014-12-01','B2-1','1','0','0','0','1','p','57097_1423','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1423#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57097_1423#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1423','2014-12-01','B3-1','1','0','0','0','1','p','57097_1423','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1423#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57097_1423#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1423','2014-12-01','B6-1','1','0','0','0','1','p','57097_1423','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1423#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57097_1423#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1423','2014-12-01','B7-1','1','0','0','0','1','p','57097_1423','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1423#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#57097_1423#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B1-1','1','0','0','0','1','p','60217_1476','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1476#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B2-1','1','0','0','0','1','p','60217_1476','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1476#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B3-1','1','0','0','0','1','p','60217_1476','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1476#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B6-1','1','2','0','2','1','p','60217_1476','2014-12-02',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 = '2014-12-01' 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#@#2014-12-01#@#B6-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60217_1476#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,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','2014-12-01','B7-1','1','0','0','0','1','p','60217_1476','2014-12-02',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 = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1476#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60217_1476#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1483','2014-12-02','B1-1','1','7','0','7','1','p','44345_SCM_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1483' and close_date = '2014-12-02' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1483#@#2014-12-02#@#B1-1#@#1#@#7#@#0#@#7#@#1#@#p#@#44345_SCM_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1483','2014-12-02','B2-1','1','0','0','0','1','p','44345_SCM_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1483' and close_date = '2014-12-02' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1483#@#2014-12-02#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_SCM_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1483','2014-12-02','B3-1','1','0','0','0','1','p','44345_SCM_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1483' and close_date = '2014-12-02' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1483#@#2014-12-02#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_SCM_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1483','2014-12-02','B6-1','1','0','0','0','1','p','44345_SCM_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1483' and close_date = '2014-12-02' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1483#@#2014-12-02#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_SCM_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1483','2014-12-02','B7-1','1','0','0','0','1','p','44345_SCM_NP','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1483' and close_date = '2014-12-02' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1483#@#2014-12-02#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_SCM_NP#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-01','B1-1','2','1','0','1','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-01#@#B1-1#@#2#@#1#@#0#@#1#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-01','B2-1','2','8','0','8','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-01#@#B2-1#@#2#@#8#@#0#@#8#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-01','B3-1','2','0','0','0','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-01#@#B3-1#@#2#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-01','B6-1','2','202','0','202','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-01#@#B6-1#@#2#@#202#@#0#@#202#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-01','B7-1','2','0','0','0','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-01#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1508','2014-12-01','B1-1','1','0','0','0','1','p','40791_1508','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1508' and close_date = '2014-12-01' 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 ( #1508#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40791_1508#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1508','2014-12-01','B2-1','1','0','0','0','1','p','40791_1508','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1508' and close_date = '2014-12-01' 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 ( #1508#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40791_1508#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1508','2014-12-01','B3-1','1','0','0','0','1','p','40791_1508','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1508' and close_date = '2014-12-01' 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 ( #1508#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40791_1508#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1508','2014-12-01','B6-1','1','45','0','45','1','p','40791_1508','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1508' and close_date = '2014-12-01' 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 ( #1508#@#2014-12-01#@#B6-1#@#1#@#45#@#0#@#45#@#1#@#p#@#40791_1508#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1508','2014-12-01','B7-1','1','0','0','0','1','p','40791_1508','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1508' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1508#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40791_1508#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-02','B1-1','1','1','0','1','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-02' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-02#@#B1-1#@#1#@#1#@#0#@#1#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-02','B2-1','1','8','0','8','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-02' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-02#@#B2-1#@#1#@#8#@#0#@#8#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-02','B3-1','1','0','0','0','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-02' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-02#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-02','B6-1','1','202','1','203','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-02' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-02#@#B6-1#@#1#@#202#@#1#@#203#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1055','2014-12-02','B7-1','1','0','0','0','1','p','46986_1055','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1055' and close_date = '2014-12-02' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1055#@#2014-12-02#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#46986_1055#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-12-01','B1-1','1','2299','8','2307','1','p','50232_177','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2014-12-01#@#B1-1#@#1#@#2299#@#8#@#2307#@#1#@#p#@#50232_177#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-12-01','B2-1','1','69','0','69','1','p','50232_177','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2014-12-01#@#B2-1#@#1#@#69#@#0#@#69#@#1#@#p#@#50232_177#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-12-01','B3-1','1','8','0','8','1','p','50232_177','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2014-12-01#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#50232_177#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-12-01','B6-1','1','30','0','30','1','p','50232_177','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2014-12-01#@#B6-1#@#1#@#30#@#0#@#30#@#1#@#p#@#50232_177#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '177','2014-12-01','B7-1','1','0','0','0','1','p','50232_177','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '177' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #177#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#50232_177#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1480','2014-12-01','B1-1','1','3','0','3','1','p','44345_SCM_SCM','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1480' and close_date = '2014-12-01' 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 ( #1480#@#2014-12-01#@#B1-1#@#1#@#3#@#0#@#3#@#1#@#p#@#44345_SCM_SCM#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1480','2014-12-01','B2-1','1','0','0','0','1','p','44345_SCM_SCM','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1480' and close_date = '2014-12-01' 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 ( #1480#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_SCM_SCM#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1480','2014-12-01','B3-1','1','0','0','0','1','p','44345_SCM_SCM','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1480' and close_date = '2014-12-01' 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 ( #1480#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_SCM_SCM#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1480','2014-12-01','B6-1','1','0','0','0','1','p','44345_SCM_SCM','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1480' and close_date = '2014-12-01' 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 ( #1480#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_SCM_SCM#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1480','2014-12-01','B7-1','1','0','0','0','1','p','44345_SCM_SCM','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1480' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1480#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#44345_SCM_SCM#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1346','2014-12-01','B1-1','1','5','0','5','1','p','60382_1346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1346#@#2014-12-01#@#B1-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60382_1346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1346','2014-12-01','B2-1','1','2','0','2','1','p','60382_1346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1346#@#2014-12-01#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60382_1346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1346','2014-12-01','B3-1','1','2','0','2','1','p','60382_1346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1346#@#2014-12-01#@#B3-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60382_1346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1346','2014-12-01','B6-1','1','642','0','642','1','p','60382_1346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1346#@#2014-12-01#@#B6-1#@#1#@#642#@#0#@#642#@#1#@#p#@#60382_1346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1346','2014-12-01','B7-1','1','0','0','0','1','p','60382_1346','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1346' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1346#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60382_1346#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-12-01','B1-1','1','0','0','0','1','p','36211_1424','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1424#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-12-01','B2-1','1','0','0','0','1','p','36211_1424','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1424#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-12-01','B3-1','1','0','0','0','1','p','36211_1424','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1424#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-12-01','B6-1','1','76','0','76','1','p','36211_1424','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1424#@#2014-12-01#@#B6-1#@#1#@#76#@#0#@#76#@#1#@#p#@#36211_1424#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1424','2014-12-01','B7-1','1','0','0','0','1','p','36211_1424','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1424' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1424#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#36211_1424#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1082','2014-12-01','B1-1','2','2','0','2','1','p','46986_1082','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1082#@#2014-12-01#@#B1-1#@#2#@#2#@#0#@#2#@#1#@#p#@#46986_1082#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1082','2014-12-01','B2-1','2','12','0','12','1','p','46986_1082','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1082#@#2014-12-01#@#B2-1#@#2#@#12#@#0#@#12#@#1#@#p#@#46986_1082#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1082','2014-12-01','B3-1','2','1','0','1','1','p','46986_1082','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1082#@#2014-12-01#@#B3-1#@#2#@#1#@#0#@#1#@#1#@#p#@#46986_1082#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1082','2014-12-01','B6-1','2','859','0','859','1','p','46986_1082','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1082#@#2014-12-01#@#B6-1#@#2#@#859#@#0#@#859#@#1#@#p#@#46986_1082#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1082','2014-12-01','B7-1','2','0','0','0','1','p','46986_1082','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1082' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1082#@#2014-12-01#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#46986_1082#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-12-01','B1-1','2','31','0','31','1','p','61273_1099','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1099#@#2014-12-01#@#B1-1#@#2#@#31#@#0#@#31#@#1#@#p#@#61273_1099#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-12-01','B2-1','2','76','0','76','1','p','61273_1099','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1099#@#2014-12-01#@#B2-1#@#2#@#76#@#0#@#76#@#1#@#p#@#61273_1099#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-12-01','B3-1','2','8','0','8','1','p','61273_1099','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1099#@#2014-12-01#@#B3-1#@#2#@#8#@#0#@#8#@#1#@#p#@#61273_1099#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-12-01','B6-1','2','342','0','342','1','p','61273_1099','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1099#@#2014-12-01#@#B6-1#@#2#@#342#@#0#@#342#@#1#@#p#@#61273_1099#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1099','2014-12-01','B7-1','2','0','0','0','1','p','61273_1099','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1099' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1099#@#2014-12-01#@#B7-1#@#2#@#0#@#0#@#0#@#1#@#p#@#61273_1099#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-12-01','B1-1','1','466','0','466','1','p','60885_1216','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1216#@#2014-12-01#@#B1-1#@#1#@#466#@#0#@#466#@#1#@#p#@#60885_1216#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-12-01','B2-1','1','14','0','14','1','p','60885_1216','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1216#@#2014-12-01#@#B2-1#@#1#@#14#@#0#@#14#@#1#@#p#@#60885_1216#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-12-01','B3-1','1','6','0','6','1','p','60885_1216','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1216#@#2014-12-01#@#B3-1#@#1#@#6#@#0#@#6#@#1#@#p#@#60885_1216#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-12-01','B6-1','1','58','0','58','1','p','60885_1216','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1216#@#2014-12-01#@#B6-1#@#1#@#58#@#0#@#58#@#1#@#p#@#60885_1216#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1216','2014-12-01','B7-1','1','0','0','0','1','p','60885_1216','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1216' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1216#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60885_1216#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1520','2014-12-01','B1-1','1','0','0','0','1','p','60118_1520','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1520' and close_date = '2014-12-01' 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 ( #1520#@#2014-12-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1520#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1520','2014-12-01','B2-1','1','0','0','0','1','p','60118_1520','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1520' and close_date = '2014-12-01' 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 ( #1520#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1520#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1520','2014-12-01','B3-1','1','0','0','0','1','p','60118_1520','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1520' and close_date = '2014-12-01' 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 ( #1520#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1520#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1520','2014-12-01','B6-1','1','37','0','37','1','p','60118_1520','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1520' and close_date = '2014-12-01' 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 ( #1520#@#2014-12-01#@#B6-1#@#1#@#37#@#0#@#37#@#1#@#p#@#60118_1520#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1520','2014-12-01','B7-1','1','0','0','0','1','p','60118_1520','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1520' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1520#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60118_1520#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-01','B1-1','1','38','0','38','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-01#@#B1-1#@#1#@#38#@#0#@#38#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-01','B2-1','1','2','0','2','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-01#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-01','B3-1','1','5','0','5','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-01#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-01','B6-1','1','0','0','0','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-01','B7-1','1','0','0','0','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-12-01','B1-1','1','384','0','384','1','p','52299_1058','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-12-01' 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 ( #1058#@#2014-12-01#@#B1-1#@#1#@#384#@#0#@#384#@#1#@#p#@#52299_1058#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-12-01','B2-1','1','24','0','24','1','p','52299_1058','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-12-01' 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 ( #1058#@#2014-12-01#@#B2-1#@#1#@#24#@#0#@#24#@#1#@#p#@#52299_1058#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-12-01','B3-1','1','7','0','7','1','p','52299_1058','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-12-01' 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 ( #1058#@#2014-12-01#@#B3-1#@#1#@#7#@#0#@#7#@#1#@#p#@#52299_1058#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-12-01','B6-1','1','14','0','14','1','p','52299_1058','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-12-01' 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 ( #1058#@#2014-12-01#@#B6-1#@#1#@#14#@#0#@#14#@#1#@#p#@#52299_1058#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1058','2014-12-01','B7-1','1','0','0','0','1','p','52299_1058','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1058' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1058#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#52299_1058#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-02','B1-1','1','38','0','38','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-02' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-02#@#B1-1#@#1#@#38#@#0#@#38#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-02','B2-1','1','2','0','2','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-02' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-02#@#B2-1#@#1#@#2#@#0#@#2#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-02','B3-1','1','5','0','5','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-02' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-02#@#B3-1#@#1#@#5#@#0#@#5#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-02','B6-1','1','0','0','0','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-02' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-02#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1414','2014-12-02','B7-1','1','0','0','0','1','p','60308_1414','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1414' and close_date = '2014-12-02' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1414#@#2014-12-02#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#60308_1414#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1398','2014-12-01','B1-1','1','29','0','29','1','p','40245_1398','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2014-12-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1398#@#2014-12-01#@#B1-1#@#1#@#29#@#0#@#29#@#1#@#p#@#40245_1398#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1398','2014-12-01','B2-1','1','0','0','0','1','p','40245_1398','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2014-12-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1398#@#2014-12-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40245_1398#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1398','2014-12-01','B3-1','1','0','0','0','1','p','40245_1398','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2014-12-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1398#@#2014-12-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40245_1398#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1398','2014-12-01','B6-1','1','0','0','0','1','p','40245_1398','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2014-12-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1398#@#2014-12-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40245_1398#@#2014-12-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1398','2014-12-01','B7-1','1','0','0','0','1','p','40245_1398','2014-12-02',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1398' and close_date = '2014-12-01' and pl_id = 'B7-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1398#@#2014-12-01#@#B7-1#@#1#@#0#@#0#@#0#@#1#@#p#@#40245_1398#@#2014-12-02#@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 ( '1173','2013-09-27','agr03','1','0','0','0','1','p','32490_BB','2013-09-28',now());

select * from al_com_close_supplier WHERE branch_id = '1173' and close_date = '2013-09-27' and sup_type = 'agr03' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_supplier WHERE branch_id = '1173' and close_date = '2013-09-27' and sup_type = 'agr03' 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 = '1173' and close_date = '2013-09-27' and sup_type = 'agr03' 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 ( '1173','2013-09-27','agr04','1','0','0','0','1','p','32490_BB','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2013-09-27' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1173#@#2013-09-27#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_BB#@#2013-09-28#@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 ( '1173','2013-09-27','agr05','1','0','0','0','1','p','32490_BB','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2013-09-27' 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 ( #1173#@#2013-09-27#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_BB#@#2013-09-28#@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 ( '1173','2013-09-27','agr06','1','0','0','0','1','p','32490_BB','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2013-09-27' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1173#@#2013-09-27#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_BB#@#2013-09-28#@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 ( '1173','2013-09-27','agr07','1','0','0','0','1','p','32490_BB','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1173' and close_date = '2013-09-27' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1173#@#2013-09-27#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_BB#@#2013-09-28#@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 ( '1222','2013-09-27','agr01','1','39','0','39','1','p','58235_1222','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-09-27' 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 ( #1222#@#2013-09-27#@#agr01#@#1#@#39#@#0#@#39#@#1#@#p#@#58235_1222#@#2013-09-28#@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 ( '1222','2013-09-27','agr02','1','0','0','0','1','p','58235_1222','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-09-27' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1222#@#2013-09-27#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1222#@#2013-09-28#@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 ( '1222','2013-09-27','agr03','1','0','0','0','1','p','58235_1222','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-09-27' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1222#@#2013-09-27#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1222#@#2013-09-28#@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 ( '1222','2013-09-27','agr04','1','0','0','0','1','p','58235_1222','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-09-27' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1222#@#2013-09-27#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1222#@#2013-09-28#@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 ( '1222','2013-09-27','agr05','1','0','0','0','1','p','58235_1222','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-09-27' 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 ( #1222#@#2013-09-27#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1222#@#2013-09-28#@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 ( '1222','2013-09-27','agr06','1','0','0','0','1','p','58235_1222','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-09-27' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1222#@#2013-09-27#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1222#@#2013-09-28#@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 ( '1222','2013-09-27','agr07','1','0','0','0','1','p','58235_1222','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1222' and close_date = '2013-09-27' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1222#@#2013-09-27#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#58235_1222#@#2013-09-28#@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 ( '1256','2013-09-27','agr01','1','52','0','52','1','p','50582_1256','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-09-27' 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 ( #1256#@#2013-09-27#@#agr01#@#1#@#52#@#0#@#52#@#1#@#p#@#50582_1256#@#2013-09-28#@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 ( '1256','2013-09-27','agr02','1','0','0','0','1','p','50582_1256','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-09-27' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2013-09-27#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2013-09-28#@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 ( '1256','2013-09-27','agr03','1','0','0','0','1','p','50582_1256','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-09-27' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2013-09-27#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2013-09-28#@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 ( '1256','2013-09-27','agr04','1','0','0','0','1','p','50582_1256','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-09-27' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2013-09-27#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2013-09-28#@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 ( '1256','2013-09-27','agr05','1','0','0','0','1','p','50582_1256','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-09-27' 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 ( #1256#@#2013-09-27#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2013-09-28#@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 ( '1256','2013-09-27','agr06','1','0','0','0','1','p','50582_1256','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-09-27' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2013-09-27#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2013-09-28#@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 ( '1256','2013-09-27','agr07','1','0','0','0','1','p','50582_1256','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1256' and close_date = '2013-09-27' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1256#@#2013-09-27#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#50582_1256#@#2013-09-28#@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 ( '1428','2013-09-27','agr01','1','7','0','7','1','p','60285_1428','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-09-27' 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 ( #1428#@#2013-09-27#@#agr01#@#1#@#7#@#0#@#7#@#1#@#p#@#60285_1428#@#2013-09-28#@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 ( '1428','2013-09-27','agr02','1','0','0','0','1','p','60285_1428','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-09-27' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1428#@#2013-09-27#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-09-28#@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 ( '1428','2013-09-27','agr03','1','0','0','0','1','p','60285_1428','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-09-27' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1428#@#2013-09-27#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-09-28#@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 ( '1428','2013-09-27','agr04','1','0','0','0','1','p','60285_1428','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-09-27' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1428#@#2013-09-27#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-09-28#@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 ( '1428','2013-09-27','agr05','1','0','0','0','1','p','60285_1428','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-09-27' 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 ( #1428#@#2013-09-27#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-09-28#@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 ( '1428','2013-09-27','agr06','1','0','0','0','1','p','60285_1428','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-09-27' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1428#@#2013-09-27#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-09-28#@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 ( '1428','2013-09-27','agr07','1','0','0','0','1','p','60285_1428','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1428' and close_date = '2013-09-27' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1428#@#2013-09-27#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#60285_1428#@#2013-09-28#@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 ( '1247','2013-09-27','agr01','1','50','0','50','1','p','55870_1247','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-09-27' 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 ( #1247#@#2013-09-27#@#agr01#@#1#@#50#@#0#@#50#@#1#@#p#@#55870_1247#@#2013-09-28#@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 ( '1247','2013-09-27','agr02','1','0','0','0','1','p','55870_1247','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-09-27' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-09-27#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#55870_1247#@#2013-09-28#@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 ( '1247','2013-09-27','agr03','1','0','0','0','1','p','55870_1247','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-09-27' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-09-27#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#55870_1247#@#2013-09-28#@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 ( '1247','2013-09-27','agr04','1','0','0','0','1','p','55870_1247','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-09-27' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-09-27#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#55870_1247#@#2013-09-28#@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 ( '1247','2013-09-27','agr05','1','0','0','0','1','p','55870_1247','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-09-27' 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 ( #1247#@#2013-09-27#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#55870_1247#@#2013-09-28#@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 ( '1247','2013-09-27','agr06','1','0','0','0','1','p','55870_1247','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-09-27' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-09-27#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#55870_1247#@#2013-09-28#@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 ( '1247','2013-09-27','agr07','1','0','0','0','1','p','55870_1247','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1247' and close_date = '2013-09-27' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1247#@#2013-09-27#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#55870_1247#@#2013-09-28#@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 ( '328','2013-09-27','agr01','1','2273','0','2273','1','p','37105','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-09-27' 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 ( #328#@#2013-09-27#@#agr01#@#1#@#2273#@#0#@#2273#@#1#@#p#@#37105#@#2013-09-28#@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 ( '328','2013-09-27','agr02','1','58','0','58','1','p','37105','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-09-27' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #328#@#2013-09-27#@#agr02#@#1#@#58#@#0#@#58#@#1#@#p#@#37105#@#2013-09-28#@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 ( '328','2013-09-27','agr03','1','0','0','0','1','p','37105','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-09-27' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #328#@#2013-09-27#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#37105#@#2013-09-28#@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 ( '328','2013-09-27','agr04','1','0','0','0','1','p','37105','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-09-27' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #328#@#2013-09-27#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#37105#@#2013-09-28#@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 ( '328','2013-09-27','agr05','1','0','0','0','1','p','37105','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-09-27' 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 ( #328#@#2013-09-27#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#37105#@#2013-09-28#@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 ( '328','2013-09-27','agr06','1','42','0','42','1','p','37105','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-09-27' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #328#@#2013-09-27#@#agr06#@#1#@#42#@#0#@#42#@#1#@#p#@#37105#@#2013-09-28#@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 ( '328','2013-09-27','agr07','1','0','0','0','1','p','37105','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '328' and close_date = '2013-09-27' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #328#@#2013-09-27#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#37105#@#2013-09-28#@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 ( '1358','2013-09-27','agr01','1','15','0','15','1','p','32490_CHC','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-09-27' 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 ( #1358#@#2013-09-27#@#agr01#@#1#@#15#@#0#@#15#@#1#@#p#@#32490_CHC#@#2013-09-28#@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 ( '1358','2013-09-27','agr02','1','0','0','0','1','p','32490_CHC','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-09-27' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1358#@#2013-09-27#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-09-28#@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 ( '1358','2013-09-27','agr03','1','0','0','0','1','p','32490_CHC','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-09-27' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1358#@#2013-09-27#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-09-28#@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 ( '1358','2013-09-27','agr04','1','0','0','0','1','p','32490_CHC','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-09-27' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1358#@#2013-09-27#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-09-28#@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 ( '1358','2013-09-27','agr05','1','0','0','0','1','p','32490_CHC','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-09-27' 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 ( #1358#@#2013-09-27#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-09-28#@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 ( '1358','2013-09-27','agr06','1','0','0','0','1','p','32490_CHC','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-09-27' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1358#@#2013-09-27#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-09-28#@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 ( '1358','2013-09-27','agr07','1','0','0','0','1','p','32490_CHC','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1358' and close_date = '2013-09-27' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1358#@#2013-09-27#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#32490_CHC#@#2013-09-28#@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 ( '1273','2013-09-26','agr01','1','18','0','18','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-26' 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 ( #1273#@#2013-09-26#@#agr01#@#1#@#18#@#0#@#18#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-26','agr02','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-26' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-26#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-26','agr03','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-26' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-26#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-26','agr04','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-26' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-26#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-26','agr05','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-26' 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 ( #1273#@#2013-09-26#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-26','agr06','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-26' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-26#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-26','agr07','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-26' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-26#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-27','agr01','1','18','0','18','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-27' 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 ( #1273#@#2013-09-27#@#agr01#@#1#@#18#@#0#@#18#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-27','agr02','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-27' and sup_type = 'agr02' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-27#@#agr02#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-27','agr03','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-27' and sup_type = 'agr03' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-27#@#agr03#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-27','agr04','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-27' and sup_type = 'agr04' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-27#@#agr04#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-27','agr05','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-27' 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 ( #1273#@#2013-09-27#@#agr05#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-27','agr06','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-27' and sup_type = 'agr06' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-27#@#agr06#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1273','2013-09-27','agr07','1','0','0','0','1','p','33370_1273','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1273' and close_date = '2013-09-27' and sup_type = 'agr07' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1273#@#2013-09-27#@#agr07#@#1#@#0#@#0#@#0#@#1#@#p#@#33370_1273#@#2013-09-28#@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 ( '1423','2013-09-26','agr01','2','4','1','5','1','p','55742_1423','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2013-09-26' 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 ( #1423#@#2013-09-26#@#agr01#@#2#@#4#@#1#@#5#@#1#@#p#@#55742_1423#@#2013-09-28#@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 ( '1423','2013-09-26','agr02','2','0','0','0','1','p','55742_1423','2013-09-28',now());

Query k82.chaiyo-aa.com UPDATE al_com_close_supplier SET log_status= 'p' , log_date = curdate() , log_user = '' WHERE branch_id = '1423' and close_date = '2013-09-26' and sup_type = 'agr02' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'K81-K62',now(), 'insert into al_com_close_supplier (branch_id@close_date@sup_type@seq_close@bf_amt@day_amt@sum_amt@sup_close_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1423#@#2013-09-26#@#agr02#@#2#@#0#@#0#@#0#@#1#@#p#@#55742_1423#@#2013-09-28#@now());')