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','r') limit 0,500

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

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

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

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' 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 = '1679' and close_date = '2017-09-02' 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' WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1679#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' 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 = '1679' and close_date = '2017-09-02' 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' WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1679#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' 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 = '1679' and close_date = '2017-09-02' 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' WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1679#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1679#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1679#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1679#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' 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 = '1666' and close_date = '2017-09-02' 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' WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1666#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' 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 = '1666' and close_date = '2017-09-02' 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' WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1666#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' 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 = '1666' and close_date = '2017-09-02' 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' WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#91289.00#@#1#@#60000_1666#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1666#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1666#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1666#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' 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 = '1638' and close_date = '2017-09-02' 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' WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' 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 = '1638' and close_date = '2017-09-02' 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' WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' 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 = '1638' and close_date = '2017-09-02' 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' WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al01#@#INC#@#2#@#+#@#280000.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al01#@#INC#@#2#@#+#@#280000.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al01#@#DEC#@#2#@#+#@#281419.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al01#@#DEC#@#2#@#+#@#281419.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al01#@#BF#@#2#@#+#@#5024.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al01#@#BF#@#2#@#+#@#5024.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al20#@#DEC#@#2#@#+#@#280000.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al20#@#DEC#@#2#@#+#@#280000.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-01#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' 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 = '1346' and close_date = '2017-09-02' 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' WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' 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 = '1346' and close_date = '2017-09-02' 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' WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' 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 = '1346' and close_date = '2017-09-02' 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' WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#5024.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64311_1346#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' 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 = '1187' and close_date = '2017-08-28' 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' WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-28# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' 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 = '1187' and close_date = '2017-08-28' 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' WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-28# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' 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 = '1187' and close_date = '2017-08-28' 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' WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-28# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-28# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-28# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-28#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-28# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' 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 = '1187' and close_date = '2017-08-29' 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' WHERE branch_id = '1187' and close_date = '2017-08-29' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-29# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' 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 = '1187' and close_date = '2017-08-29' 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' WHERE branch_id = '1187' and close_date = '2017-08-29' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-29# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' 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 = '1187' and close_date = '2017-08-29' 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' WHERE branch_id = '1187' and close_date = '2017-08-29' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-29# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-29# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-29# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-29' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-29#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-29# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' 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 = '1187' and close_date = '2017-08-30' 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' WHERE branch_id = '1187' and close_date = '2017-08-30' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-30# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' 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 = '1187' and close_date = '2017-08-30' 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' WHERE branch_id = '1187' and close_date = '2017-08-30' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-30# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' 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 = '1187' and close_date = '2017-08-30' 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' WHERE branch_id = '1187' and close_date = '2017-08-30' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-30# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-30# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-30# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-30' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-30#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-30# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' 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 = '1187' and close_date = '2017-08-31' 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' WHERE branch_id = '1187' and close_date = '2017-08-31' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-31# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' 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 = '1187' and close_date = '2017-08-31' 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' WHERE branch_id = '1187' and close_date = '2017-08-31' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-31# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' 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 = '1187' and close_date = '2017-08-31' 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' WHERE branch_id = '1187' and close_date = '2017-08-31' 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', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-31# 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 ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-31# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-31# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-08-31#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-08-31# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' 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 = '1187' and close_date = '2017-09-01' 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' WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' 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 = '1187' and close_date = '2017-09-01' 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' WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' 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 = '1187' and close_date = '2017-09-01' 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' WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-01#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' 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 = '1187' and close_date = '2017-09-02' 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' WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' 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 = '1187' and close_date = '2017-09-02' 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' WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' 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 = '1187' and close_date = '2017-09-02' 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' WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' 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 = '1635' and close_date = '2017-09-02' 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' WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64311_1635#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' 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 = '1635' and close_date = '2017-09-02' 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' WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64311_1635#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' 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 = '1635' and close_date = '2017-09-02' 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' WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#79002.00#@#1#@#64311_1635#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64311_1635#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64311_1635#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64311_1635#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' 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 = '1675' and close_date = '2017-09-02' 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' WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1675# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' 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 = '1675' and close_date = '2017-09-02' 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' WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1675# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' 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 = '1675' and close_date = '2017-09-02' 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' WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1675# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1675# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1675# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1675' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1675#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1675#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1675# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' 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 = '1229' and close_date = '2017-09-01' 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' WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' 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 = '1229' and close_date = '2017-09-01' 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' WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' 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 = '1229' and close_date = '2017-09-01' 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' WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-01#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' 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 = '1229' and close_date = '2017-09-02' 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' WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' 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 = '1229' and close_date = '2017-09-02' 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' WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' 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 = '1229' and close_date = '2017-09-02' 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' WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' 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 = '1634' and close_date = '2017-09-02' 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' WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' 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 = '1634' and close_date = '2017-09-02' 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' WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' 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 = '1634' and close_date = '2017-09-02' 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' WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' 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 = '1465' and close_date = '2017-09-02' 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' WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1465# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' 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 = '1465' and close_date = '2017-09-02' 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' WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1465# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' 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 = '1465' and close_date = '2017-09-02' 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' WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1465# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1465# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1465# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1465' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1465#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1465# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#173172.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-02','al01','DEC','2','+','173172.00','1','47875_1351','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#173172.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#30770.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2017-09-02','al01','BF','2','+','30770.00','1','47875_1351','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#30770.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' 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 = '1523' and close_date = '2017-09-03' 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' WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#1860.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' 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 = '1523' and close_date = '2017-09-03' 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' WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#1860.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#13037.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' 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 = '1523' and close_date = '2017-09-03' 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' WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#13037.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' 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 = '1351' and close_date = '2017-09-03' 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' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' 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 = '1351' and close_date = '2017-09-03' 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' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#30770.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' 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 = '1351' and close_date = '2017-09-03' 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' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#30770.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#6374.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-02','al01','DEC','2','+','6374.00','1','47875_1415','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#6374.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#33938.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1415','2017-09-02','al01','BF','2','+','33938.00','1','47875_1415','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#33938.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#17851.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2017-09-02','al01','BF','2','+','17851.00','1','51111_1058','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#17851.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' 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 = '1058' and close_date = '2017-09-03' 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' WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' 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 = '1058' and close_date = '2017-09-03' 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' WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#17851.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' 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 = '1058' and close_date = '2017-09-03' 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' WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#17851.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#50000.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#50000.00#@#1#@#51111_1058#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' 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 = '1415' and close_date = '2017-09-03' 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' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' 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 = '1415' and close_date = '2017-09-03' 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' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#33938.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' 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 = '1415' and close_date = '2017-09-03' 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' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#33938.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1415' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1415#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1415#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#9779.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2017-09-02','al01','BF','2','+','9779.00','1','47875_1647','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#9779.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' 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 = '1647' and close_date = '2017-09-03' 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' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' 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 = '1647' and close_date = '2017-09-03' 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' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#9779.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' 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 = '1647' and close_date = '2017-09-03' 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' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#9779.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' 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 = '1476' and close_date = '2017-09-03' 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' WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' 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 = '1476' and close_date = '2017-09-03' 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' WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#74476.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' 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 = '1476' and close_date = '2017-09-03' 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' WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#74476.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1476' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1476#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' 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 = '1684' and close_date = '2017-09-03' 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' WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1684# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' 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 = '1684' and close_date = '2017-09-03' 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' WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1684# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#100000.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' 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 = '1684' and close_date = '2017-09-03' 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' WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#100000.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1684# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1684# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1684# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1684' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1684#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1684#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1684# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' 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 = '1243' and close_date = '2017-09-02' 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' WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' 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 = '1243' and close_date = '2017-09-02' 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' WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' 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 = '1243' and close_date = '2017-09-02' 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' WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al01#@#INC#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'INC' and seq_category = '5'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al01#@#INC#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-08-24# and close_acc_book = #al01# and category = #INC# and seq_category = #5#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al01#@#DEC#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '5'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al01#@#DEC#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-08-24# and close_acc_book = #al01# and category = #DEC# and seq_category = #5#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al01#@#BF#@#5#@#+#@#31935.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-24','al01','BF','5','+','31935.00','1','63484_1660','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'BF' and seq_category = '5'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al01' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al01#@#BF#@#5#@#+#@#31935.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-08-24# and close_acc_book = #al01# and category = #BF# and seq_category = #5#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al20#@#INC#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'INC' and seq_category = '5'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'INC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al20#@#INC#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-08-24# and close_acc_book = #al20# and category = #INC# and seq_category = #5#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al20#@#DEC#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '5'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al20#@#DEC#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-08-24# and close_acc_book = #al20# and category = #DEC# and seq_category = #5#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al20#@#BF#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-08-24','al20','BF','5','+','0.00','1','63484_1660','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'BF' and seq_category = '5'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-08-24' and close_acc_book = 'al20' and category = 'BF' and seq_category = '5'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-08-24#@#al20#@#BF#@#5#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-08-24# and close_acc_book = #al20# and category = #BF# and seq_category = #5#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al01#@#DEC#@#3#@#+#@#11892.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-09-02','al01','DEC','3','+','11892.00','1','63484_1660','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al01#@#DEC#@#3#@#+#@#11892.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al01#@#BF#@#3#@#+#@#1405.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-09-02','al01','BF','3','+','1405.00','1','63484_1660','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al01#@#BF#@#3#@#+#@#1405.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-02#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' 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 = '1660' and close_date = '2017-09-03' 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' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' 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 = '1660' and close_date = '2017-09-03' 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' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#1405.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' 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 = '1660' and close_date = '2017-09-03' 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' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#1405.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#BF#@#2#@#+#@#1405.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al01#@#BF#@#2#@#+#@#1405.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1660#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' 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 = '1605' and close_date = '2017-09-03' 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' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' 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 = '1605' and close_date = '2017-09-03' 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' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' 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 = '1605' and close_date = '2017-09-03' 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' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#BF#@#2#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al01#@#BF#@#2#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#INC#@#2#@#+#@#30000.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#INC#@#2#@#+#@#30000.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#DEC#@#2#@#+#@#34821.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#DEC#@#2#@#+#@#34821.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#BF#@#2#@#+#@#28366.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#BF#@#2#@#+#@#28366.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' 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 = '1656' and close_date = '2017-09-03' 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' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64443_1656#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1656# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#17467.00#@#1#@#64443_1656#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' 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 = '1656' and close_date = '2017-09-03' 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' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#17467.00#@#1#@#64443_1656#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1656# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#21790.00#@#1#@#64443_1656#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' 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 = '1656' and close_date = '2017-09-03' 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' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#21790.00#@#1#@#64443_1656#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1656# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64443_1656#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1656# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64443_1656#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1656# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1656' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64443_1656#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1656# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#33623.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-09-02','al01','DEC','2','+','33623.00','1','52898_10','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#33623.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#24341.28#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-09-02','al01','BF','2','+','24341.28','1','52898_10','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#24341.28#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' 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 = '10' and close_date = '2017-09-03' 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' WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#7965.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' 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 = '10' and close_date = '2017-09-03' 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' WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#7965.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#16376.28#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' 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 = '10' and close_date = '2017-09-03' 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' WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#16376.28#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '10' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#52898_10#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' 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 = '1384' and close_date = '2017-09-01' 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' WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' 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 = '1384' and close_date = '2017-09-01' 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' WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' 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 = '1384' and close_date = '2017-09-01' 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' WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-01#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' 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 = '1384' and close_date = '2017-09-02' 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' WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' 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 = '1384' and close_date = '2017-09-02' 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' WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' 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 = '1384' and close_date = '2017-09-02' 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' WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' 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 = '1384' and close_date = '2017-09-03' 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' WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' 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 = '1384' and close_date = '2017-09-03' 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' WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' 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 = '1384' and close_date = '2017-09-03' 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' WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1384' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1384#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' 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 = '1677' and close_date = '2017-09-01' 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' WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' 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 = '1677' and close_date = '2017-09-01' 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' WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' 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 = '1677' and close_date = '2017-09-01' 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' WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-01#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' 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 = '1677' and close_date = '2017-09-02' 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' WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' 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 = '1677' and close_date = '2017-09-02' 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' WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' 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 = '1677' and close_date = '2017-09-02' 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' WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' 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 = '1099' and close_date = '2017-09-03' 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' WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' 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 = '1099' and close_date = '2017-09-03' 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' WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#124029.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' 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 = '1099' and close_date = '2017-09-03' 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' WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#124029.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1099' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1099#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' 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 = '1677' and close_date = '2017-09-03' 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' WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' 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 = '1677' and close_date = '2017-09-03' 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' WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' 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 = '1677' and close_date = '2017-09-03' 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' WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1677' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1677#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_1677#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1677# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' 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 = '1461' and close_date = '2017-09-02' 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' WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' 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 = '1461' and close_date = '2017-09-02' 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' WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' 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 = '1461' and close_date = '2017-09-02' 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' WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1461' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1461#@#2017-09-02#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#4161.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-02','al01','DEC','2','+','4161.00','1','60000_1639','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#4161.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#55839.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-02','al01','BF','2','+','55839.00','1','60000_1639','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#55839.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' 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 = '1639' and close_date = '2017-09-03' 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' WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' 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 = '1639' and close_date = '2017-09-03' 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' WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#55839.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' 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 = '1639' and close_date = '2017-09-03' 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' WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#55839.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1639' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1639#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al01','INC','2','+','100000.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#92513.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al01','DEC','2','+','92513.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#92513.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#58524.35#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al01','BF','2','+','58524.35','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#58524.35#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#100000.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al20','INC','2','+','100000.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#100000.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#100000.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al20','DEC','2','+','100000.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#100000.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-02','al20','BF','2','+','0.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','INC','1','+','0.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' 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 = '1162' and close_date = '2017-09-03' 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' WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','DEC','1','+','0.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' 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 = '1162' and close_date = '2017-09-03' 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' WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#58524.35#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','BF','1','+','58524.35','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' 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 = '1162' and close_date = '2017-09-03' 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' WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#58524.35#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','INC','1','+','0.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','DEC','1','+','0.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','BF','1','+','0.00','1','63916_1162','p','2017-09-03',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63916_1162#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' 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 = '1450' and close_date = '2017-09-03' 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' WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#64203.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' 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 = '1450' and close_date = '2017-09-03' 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' WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#64203.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#43048.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' 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 = '1450' and close_date = '2017-09-03' 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' WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#43048.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-09-03#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#25272.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#25272.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' 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 = '1363' and close_date = '2017-09-03' 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' WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' 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 = '1363' and close_date = '2017-09-03' 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' WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#25272.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' 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 = '1363' and close_date = '2017-09-03' 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' WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#25272.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' 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 = '1216' and close_date = '2017-09-03' 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' WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62829_1216#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' 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 = '1216' and close_date = '2017-09-03' 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' WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62829_1216#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#82058.00#@#1#@#62829_1216#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' 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 = '1216' and close_date = '2017-09-03' 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' WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#82058.00#@#1#@#62829_1216#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62829_1216#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62829_1216#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62829_1216#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' 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 = '1218' and close_date = '2017-09-03' 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' WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' 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 = '1218' and close_date = '2017-09-03' 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' WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' 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 = '1218' and close_date = '2017-09-03' 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' WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1218' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1218#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#1900.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#1900.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#84420.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#84420.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' 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 = '1663' and close_date = '2017-09-03' 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' WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' 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 = '1663' and close_date = '2017-09-03' 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' WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#84420.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' 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 = '1663' and close_date = '2017-09-03' 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' WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#84420.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' 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 = '1243' and close_date = '2017-09-03' 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' WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' 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 = '1243' and close_date = '2017-09-03' 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' WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' 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 = '1243' and close_date = '2017-09-03' 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' WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' 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 = '1425' and close_date = '2017-09-03' 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' WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' 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 = '1425' and close_date = '2017-09-03' 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' WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' 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 = '1425' and close_date = '2017-09-03' 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' WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#363750.09#@#1#@#56033_1232#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#363750.09#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#100000.99#@#1#@#56033_1232#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#100000.99#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' 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 = '1232' and close_date = '2017-09-03' 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' WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' 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 = '1232' and close_date = '2017-09-03' 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' WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#463750.09#@#1#@#56033_1232#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' 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 = '1232' and close_date = '2017-09-03' 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' WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#463750.09#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.99#@#1#@#56033_1232#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.99#@#1#@#56033_1232#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' 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 = '1662' and close_date = '2017-09-03' 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' WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56038_1662#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' 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 = '1662' and close_date = '2017-09-03' 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' WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56038_1662#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#70836.00#@#1#@#56038_1662#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' 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 = '1662' and close_date = '2017-09-03' 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' WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#70836.00#@#1#@#56038_1662#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56038_1662#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56038_1662#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56038_1662#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' 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 = '1667' and close_date = '2017-09-03' 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' WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#9826.00#@#1#@#60992_1667#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' 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 = '1667' and close_date = '2017-09-03' 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' WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#9826.00#@#1#@#60992_1667#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#37534.00#@#1#@#60992_1667#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' 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 = '1667' and close_date = '2017-09-03' 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' WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#37534.00#@#1#@#60992_1667#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' 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 = '1179' and close_date = '2017-09-03' 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' WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' 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 = '1179' and close_date = '2017-09-03' 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' WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' 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 = '1179' and close_date = '2017-09-03' 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' WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','INC','1','+','0.00','1','11491122_452','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' 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 = '452' and close_date = '2017-09-03' 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' WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#20040.00#@#1#@#11491122_452#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','DEC','1','+','20040.00','1','11491122_452','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' 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 = '452' and close_date = '2017-09-03' 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' WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#20040.00#@#1#@#11491122_452#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#1075.00#@#1#@#11491122_452#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','BF','1','+','1075.00','1','11491122_452','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' 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 = '452' and close_date = '2017-09-03' 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' WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#1075.00#@#1#@#11491122_452#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','INC','1','+','0.00','1','11491122_452','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','DEC','1','+','0.00','1','11491122_452','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#176.36#@#1#@#11491122_452#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','BF','1','+','176.36','1','11491122_452','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#176.36#@#1#@#11491122_452#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','INC','1','+','0.00','1','63108_1054','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' 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 = '1054' and close_date = '2017-09-03' 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' WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','DEC','1','+','0.00','1','63108_1054','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' 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 = '1054' and close_date = '2017-09-03' 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' WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#81814.62#@#1#@#63108_1054#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','BF','1','+','81814.62','1','63108_1054','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' 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 = '1054' and close_date = '2017-09-03' 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' WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#81814.62#@#1#@#63108_1054#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','INC','1','+','0.00','1','63108_1054','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','DEC','1','+','0.00','1','63108_1054','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','BF','1','+','0.00','1','63108_1054','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','INC','1','+','0.00','1','36097_SBP','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' 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 = '1171' and close_date = '2017-09-03' 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' WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','DEC','1','+','0.00','1','36097_SBP','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' 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 = '1171' and close_date = '2017-09-03' 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' WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al01','BF','1','+','0.00','1','36097_SBP','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' 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 = '1171' and close_date = '2017-09-03' 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' WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','INC','1','+','0.00','1','36097_SBP','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','DEC','1','+','0.00','1','36097_SBP','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','BF','1','+','0.00','1','36097_SBP','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' 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 = '1556' and close_date = '2017-09-03' 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' WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' 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 = '1556' and close_date = '2017-09-03' 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' WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' 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 = '1556' and close_date = '2017-09-03' 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' WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' 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 = '1634' and close_date = '2017-09-03' 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' WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' 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 = '1634' and close_date = '2017-09-03' 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' WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' 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 = '1634' and close_date = '2017-09-03' 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' WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' 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 = '1155' and close_date = '2017-09-03' 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' WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' 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 = '1155' and close_date = '2017-09-03' 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' WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' 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 = '1155' and close_date = '2017-09-03' 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' WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' 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 = '1659' and close_date = '2017-09-03' 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' WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' 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 = '1659' and close_date = '2017-09-03' 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' WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#1433.00#@#1#@#36211_1659#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' 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 = '1659' and close_date = '2017-09-03' 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' WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#1433.00#@#1#@#36211_1659#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' 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 = '1657' and close_date = '2017-09-03' 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' WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' 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 = '1657' and close_date = '2017-09-03' 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' WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' 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 = '1657' and close_date = '2017-09-03' 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' WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#INC#@#3#@#+#@#30000.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#INC#@#3#@#+#@#30000.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#DEC#@#3#@#+#@#34821.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#DEC#@#3#@#+#@#34821.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#BF#@#3#@#+#@#28366.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al01#@#BF#@#3#@#+#@#28366.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #3#')

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

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #3#')

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

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-03#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-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 = '1652' and close_date = '2017-09-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' WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-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 = '1652' and close_date = '2017-09-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' WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al01#@#BF#@#1#@#+#@#28366.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-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 = '1652' and close_date = '2017-09-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' WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al01#@#BF#@#1#@#+#@#28366.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' 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 = '1650' and close_date = '2017-09-03' 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' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#6571.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' 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 = '1650' and close_date = '2017-09-03' 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' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#6571.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#1321.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' 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 = '1650' and close_date = '2017-09-03' 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' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#1321.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#2048.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-02#@#al01#@#BF#@#2#@#+#@#2048.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-02# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' 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 = '1467' and close_date = '2017-09-03' 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' WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' 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 = '1467' and close_date = '2017-09-03' 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' WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#2048.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' 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 = '1467' and close_date = '2017-09-03' 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' WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#2048.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#DEC#@#2#@#+#@#6571.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#DEC#@#2#@#+#@#6571.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#BF#@#2#@#+#@#1321.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al01#@#BF#@#2#@#+#@#1321.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' 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 = '1256' and close_date = '2017-09-03' 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' WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' 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 = '1256' and close_date = '2017-09-03' 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' WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' 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 = '1256' and close_date = '2017-09-03' 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' WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2017-09-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2017-09-03','al20','BF','1','+','0.00','1','50582_1256','p','2017-09-04',now());

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2017-09-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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#@#2017-09-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2017-09-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' 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 = '1439' and close_date = '2017-09-01' 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' WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-09-01#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63887_1439#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' 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 = '1439' and close_date = '2017-09-01' 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' WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-09-01#@#al01#@#DEC#@#1#@#+#@#8215.00#@#1#@#63887_1439#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' 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 = '1439' and close_date = '2017-09-01' 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' WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-09-01#@#al01#@#BF#@#1#@#+#@#80888.00#@#1#@#63887_1439#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1439' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' 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 = '1439' and close_date = '2017-09-02' 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' WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-09-02#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63887_1439#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' 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 = '1439' and close_date = '2017-09-02' 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' WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1439#@#2017-09-02#@#al01#@#DEC#@#1#@#+#@#200.00#@#1#@#63887_1439#@#p#@#2017-09-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-09-02# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' 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 = '1439' and close_date = '2017-09-02' 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' WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1439' and close_date = '2017-09-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-03' 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 = '1439' and close_date = '2017-09-03' 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' WHERE branch_id = '1439' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-09-03' 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 = '1439' and close_date = '2017-09-03' 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' WHERE branch_id = '1439' and close_date = '2017-09-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (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());')

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' WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('UPDATESEARCH', 'BK81-BK62',now(), 'insert into al_com_close_arrear (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()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #622# and close_date = #2013-09-20# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (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());')

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' WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('UPDATESEARCH', 'BK81-BK62',now(), 'insert into al_com_close_arrear (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()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1247# and close_date = #2013-10-04# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1749#@#2018-10-13#@#2#@#79312.00#@#0.00#@#0.00#@#1#@#65535_1749#@#p#@#2018-10-15#@now());')

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 ( '1749','2018-10-13','2','79312.00','0.00','0.00','1','65535_1749','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1749' and close_date = '2018-10-13' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1749' and close_date = '2018-10-13' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1749' and close_date = '2018-10-13' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('UPDATESEARCH', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1749#@#2018-10-13#@#2#@#79312.00#@#0.00#@#0.00#@#1#@#65535_1749#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1749# and close_date = #2018-10-13# and seq_arrear = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1749#@#2018-10-14#@#1#@#79312.00#@#0.00#@#0.00#@#1#@#65535_1749#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1749','2018-10-14','1','79312.00','0.00','0.00','1','65535_1749','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1749' and close_date = '2018-10-14' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1749' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1749' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1749#@#2018-10-14#@#1#@#79312.00#@#0.00#@#0.00#@#1#@#65535_1749#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1749# and close_date = #2018-10-14# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1764#@#2018-10-14#@#1#@#3608863.00#@#0.00#@#0.00#@#1#@#36211_1764#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1764','2018-10-14','1','3608863.00','0.00','0.00','1','36211_1764','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1764' and close_date = '2018-10-14' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1764' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1764' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1764#@#2018-10-14#@#1#@#3608863.00#@#0.00#@#0.00#@#1#@#36211_1764#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1764# and close_date = #2018-10-14# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1760#@#2018-10-14#@#1#@#4154400.00#@#0.00#@#0.00#@#1#@#36717_1760#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1760','2018-10-14','1','4154400.00','0.00','0.00','1','36717_1760','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-10-14' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1760' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1760#@#2018-10-14#@#1#@#4154400.00#@#0.00#@#0.00#@#1#@#36717_1760#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1760# and close_date = #2018-10-14# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2018-10-14#@#1#@#136098448.00#@#290203.40#@#-885.60#@#1#@#34598_1115#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2018-10-14','1','136098448.00','290203.40','-885.60','1','34598_1115','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1115' and close_date = '2018-10-14' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1115' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2018-10-14#@#1#@#136098448.00#@#290203.40#@#-885.60#@#1#@#34598_1115#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1115# and close_date = #2018-10-14# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1761#@#2018-10-13#@#1#@#1229208.00#@#0.00#@#0.00#@#1#@#56038_1761#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1761','2018-10-13','1','1229208.00','0.00','0.00','1','56038_1761','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1761' and close_date = '2018-10-13' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1761' and close_date = '2018-10-13' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1761' and close_date = '2018-10-13' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1761#@#2018-10-13#@#1#@#1229208.00#@#0.00#@#0.00#@#1#@#56038_1761#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1761# and close_date = #2018-10-13# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1761#@#2018-10-14#@#1#@#1229208.00#@#0.00#@#0.00#@#1#@#56038_1761#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1761','2018-10-14','1','1229208.00','0.00','0.00','1','56038_1761','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1761' and close_date = '2018-10-14' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1761' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1761' and close_date = '2018-10-14' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1761#@#2018-10-14#@#1#@#1229208.00#@#0.00#@#0.00#@#1#@#56038_1761#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1761# and close_date = #2018-10-14# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1690#@#2018-10-15#@#1#@#365654.00#@#0.00#@#-2713.91#@#1#@#63957_1690#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2018-10-15','1','365654.00','0.00','-2713.91','1','63957_1690','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1690' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1690' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1690' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1690#@#2018-10-15#@#1#@#365654.00#@#0.00#@#-2713.91#@#1#@#63957_1690#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1690# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2018-10-15#@#1#@#31332389.00#@#135174.90#@#-307851.14#@#1#@#63957_1523#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2018-10-15','1','31332389.00','135174.90','-307851.14','1','63957_1523','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1523' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1523' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2018-10-15#@#1#@#31332389.00#@#135174.90#@#-307851.14#@#1#@#63957_1523#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1523# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-10-15#@#1#@#232084853.00#@#147501.10#@#-8965.10#@#1#@#56913_215#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2018-10-15','1','232084853.00','147501.10','-8965.10','1','56913_215','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '215' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '215' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-10-15#@#1#@#232084853.00#@#147501.10#@#-8965.10#@#1#@#56913_215#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2018-10-14#@#2#@#69056872.88#@#0.00#@#0.00#@#1#@#63919_1647#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2018-10-14','2','69056872.88','0.00','0.00','1','63919_1647','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1647' and close_date = '2018-10-14' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1647' and close_date = '2018-10-14' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2018-10-14' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2018-10-14#@#2#@#69056872.88#@#0.00#@#0.00#@#1#@#63919_1647#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1647# and close_date = #2018-10-14# and seq_arrear = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2018-10-15#@#1#@#69298022.88#@#0.00#@#0.00#@#1#@#63919_1647#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2018-10-15','1','69298022.88','0.00','0.00','1','63919_1647','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1647' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1647' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2018-10-15#@#1#@#69298022.88#@#0.00#@#0.00#@#1#@#63919_1647#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1647# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1749#@#2018-10-15#@#1#@#82399.00#@#0.00#@#0.00#@#1#@#65535_1749#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1749','2018-10-15','1','82399.00','0.00','0.00','1','65535_1749','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1749' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1749' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1749' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1749#@#2018-10-15#@#1#@#82399.00#@#0.00#@#0.00#@#1#@#65535_1749#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1749# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-10-15#@#1#@#7784619.00#@#0.00#@#-55658.90#@#1#@#49692_1473#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2018-10-15','1','7784619.00','0.00','-55658.90','1','49692_1473','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1473' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1473' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1473' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-10-15#@#1#@#7784619.00#@#0.00#@#-55658.90#@#1#@#49692_1473#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1757#@#2018-10-15#@#1#@#628651.00#@#0.00#@#0.00#@#1#@#61045_1757#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1757','2018-10-15','1','628651.00','0.00','0.00','1','61045_1757','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1757' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1757' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1757' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1757#@#2018-10-15#@#1#@#628651.00#@#0.00#@#0.00#@#1#@#61045_1757#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1757# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1619#@#2018-10-15#@#1#@#4160148.00#@#0.00#@#0.00#@#1#@#65535_1619#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1619','2018-10-15','1','4160148.00','0.00','0.00','1','65535_1619','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1619' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1619' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1619' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1619#@#2018-10-15#@#1#@#4160148.00#@#0.00#@#0.00#@#1#@#65535_1619#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1619# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1720#@#2018-10-15#@#1#@#463460.00#@#0.00#@#-19994.35#@#1#@#65187_1720#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1720','2018-10-15','1','463460.00','0.00','-19994.35','1','65187_1720','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1720' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1720' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1720' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1720#@#2018-10-15#@#1#@#463460.00#@#0.00#@#-19994.35#@#1#@#65187_1720#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1720# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-10-15#@#1#@#10826841.00#@#348906.60#@#-597350.87#@#1#@#50232_1450#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-10-15','1','10826841.00','348906.60','-597350.87','1','50232_1450','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1450' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1450' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-10-15#@#1#@#10826841.00#@#348906.60#@#-597350.87#@#1#@#50232_1450#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-10-15# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2018-10-15#@#1#@#126624.00#@#0.00#@#0.00#@#1#@#65010_1669#@#p#@#2018-10-15#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2018-10-15','1','126624.00','0.00','0.00','1','65010_1669','p','2018-10-15',now());

select * from al_com_close_arrear WHERE branch_id = '1669' and close_date = '2018-10-15' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1669' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1669' and close_date = '2018-10-15' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2018-10-15#@#1#@#126624.00#@#0.00#@#0.00#@#1#@#65010_1669#@#p#@#2018-10-15#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1669# and close_date = #2018-10-15# and seq_arrear = #1#')

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Can't Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-06-24','B1-1','1','2','0','2','1','p','63420_1556','2017-07-20',now());

select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B1-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('UPDATESEARCH', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556#@#2017-07-20#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-06-24# and pl_id = #B1-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-06-24','B2-1','1','31','0','31','1','p','63420_1556','2017-07-20',now());

select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B2-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B2-1#@#1#@#31#@#0#@#31#@#1#@#p#@#63420_1556#@#2017-07-20#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-06-24# and pl_id = #B2-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-06-24','B3-1','1','1','0','1','1','p','63420_1556','2017-07-20',now());

select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B3-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B3-1#@#1#@#1#@#0#@#1#@#1#@#p#@#63420_1556#@#2017-07-20#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-06-24# and pl_id = #B3-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-06-24','B6-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B6-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-06-24# and pl_id = #B6-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-06-24','B8-1','1','36','0','36','1','p','63420_1556','2017-07-20',now());

select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B8-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B8-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B8-1#@#1#@#36#@#0#@#36#@#1#@#p#@#63420_1556#@#2017-07-20#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-06-24# and pl_id = #B8-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1556','2017-06-24','B9-1','1','0','0','0','1','p','63420_1556','2017-07-20',now());

select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B9-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-06-24' and pl_id = 'B9-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-24#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#63420_1556#@#2017-07-20#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-06-24# and pl_id = #B9-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1556#@#2017-06-25#@#B1-1#@#1#@#2#@#0#@#2#@#1#@#p#@#63420_1556