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 ( #1187#@#2017-02-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','DEC','1','+','0.00','1','61045_1187','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','BF','1','+','0.00','1','61045_1187','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','INC','1','+','0.00','1','61045_1187','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-02-07# 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-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','DEC','1','+','0.00','1','61045_1187','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-02-07# 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-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','BF','1','+','0.00','1','61045_1187','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61045_1187#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-02-07# 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 ( #215#@#2017-02-02#@#al01#@#INC#@#3#@#+#@#400000.00#@#1#@#59346#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-02-02','al01','INC','3','+','400000.00','1','59346','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-02#@#al01#@#INC#@#3#@#+#@#400000.00#@#1#@#59346#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-02#@#al01#@#DEC#@#3#@#+#@#203627.00#@#1#@#59346#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-02-02','al01','DEC','3','+','203627.00','1','59346','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-02#@#al01#@#DEC#@#3#@#+#@#203627.00#@#1#@#59346#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-02#@#al01#@#BF#@#3#@#+#@#241076.00#@#1#@#59346#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-02-02','al01','BF','3','+','241076.00','1','59346','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-02#@#al01#@#BF#@#3#@#+#@#241076.00#@#1#@#59346#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-02#@#al20#@#INC#@#3#@#+#@#253685.00#@#1#@#59346#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-02-02','al20','INC','3','+','253685.00','1','59346','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-02#@#al20#@#INC#@#3#@#+#@#253685.00#@#1#@#59346#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-02#@#al20#@#DEC#@#3#@#+#@#400000.00#@#1#@#59346#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-02-02','al20','DEC','3','+','400000.00','1','59346','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-02#@#al20#@#DEC#@#3#@#+#@#400000.00#@#1#@#59346#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-02#@#al20#@#BF#@#3#@#+#@#253685.00#@#1#@#59346#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-02-02','al20','BF','3','+','253685.00','1','59346','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-02#@#al20#@#BF#@#3#@#+#@#253685.00#@#1#@#59346#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #1634#@#2017-02-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-02','al01','INC','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-02#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-02','al01','DEC','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-02#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-02#@#al01#@#BF#@#2#@#+#@#53155.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-02','al01','BF','2','+','53155.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-02#@#al01#@#BF#@#2#@#+#@#53155.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-02','al20','INC','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-02#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-02','al20','DEC','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-02#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-02','al20','BF','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-02#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-03','al01','INC','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-03','al01','DEC','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-03#@#al01#@#BF#@#2#@#+#@#53155.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-03','al01','BF','2','+','53155.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-03#@#al01#@#BF#@#2#@#+#@#53155.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-03','al20','INC','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-03','al20','DEC','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-03','al20','BF','2','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 = '1634' and close_date = '2017-02-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 ( #1634#@#2017-02-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-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 ( #1634#@#2017-02-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','INC','1','+','0.00','1','42003_1634','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','DEC','1','+','0.00','1','42003_1634','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#1#@#+#@#38168.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','BF','1','+','38168.00','1','42003_1634','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#1#@#+#@#38168.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','INC','1','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-07# 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-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','DEC','1','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-07# 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-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','BF','1','+','0.00','1','42003_1634','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1634#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-02-07# 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 ( #1640#@#2017-02-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-02-07','al01','BF','1','+','24562.54','1','63958_1640','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-02-07' 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 = '1640' and close_date = '2017-02-07' 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 = '1640' and close_date = '2017-02-07' 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 ( #1640#@#2017-02-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-02-07# 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 ( #1640#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-02-07' 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 = '1640' and close_date = '2017-02-07' 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 = '1640' and close_date = '2017-02-07' 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 ( #1640#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-02-07# 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 ( #1640#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-02-07','al20','BF','1','+','0.00','1','63958_1640','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-02-07' 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 = '1640' and close_date = '2017-02-07' 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 = '1640' and close_date = '2017-02-07' 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 ( #1640#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-02-07# 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 ( #215#@#2017-02-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56912_215#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-07' 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 = '215' and close_date = '2017-02-07' 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 = '215' and close_date = '2017-02-07' 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 ( #215#@#2017-02-07#@#al20#@#INC#@#1#@#+#@#800000.00#@#1#@#56912_215#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-07# 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 ( #215#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56912_215#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-07' 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 = '215' and close_date = '2017-02-07' 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 = '215' and close_date = '2017-02-07' 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 ( #215#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56912_215#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-07# 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 ( #215#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#800000.00#@#1#@#56912_215#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-07' 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 = '215' and close_date = '2017-02-07' 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 = '215' and close_date = '2017-02-07' 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 ( #215#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#800000.00#@#1#@#56912_215#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-07# 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 ( #1624#@#2017-01-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#44345_1624#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1624','2017-01-08','al01','BF','1','+','12846.00','1','44345_1624','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1624' and close_date = '2017-01-08' 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 = '1624' and close_date = '2017-01-08' 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 = '1624' and close_date = '2017-01-08' 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 ( #1624#@#2017-01-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#44345_1624#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1624# and close_date = #2017-01-08# 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 ( #1624#@#2017-01-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#44345_1624#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1624' and close_date = '2017-01-08' 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 = '1624' and close_date = '2017-01-08' 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 = '1624' and close_date = '2017-01-08' 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 ( #1624#@#2017-01-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#44345_1624#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1624# and close_date = #2017-01-08# 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 ( #1624#@#2017-01-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1624#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1624','2017-01-08','al20','BF','1','+','0.00','1','44345_1624','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1624' and close_date = '2017-01-08' 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 = '1624' and close_date = '2017-01-08' 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 = '1624' and close_date = '2017-01-08' 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 ( #1624#@#2017-01-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1624#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1624# and close_date = #2017-01-08# 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 ( #1629#@#2017-01-30#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-30','al01','INC','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-30#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-30#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-30','al01','DEC','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-30#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-30#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-30','al01','BF','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-30#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-30#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-30','al20','INC','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-30#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-30#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-30','al20','DEC','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-30#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-30#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-30','al20','BF','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-30#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-31#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-31','al01','INC','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-31#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-31#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-31','al01','DEC','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-31#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-31#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-31','al01','BF','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-31#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-31#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-31','al20','INC','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-31#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-31#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-31','al20','DEC','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-31#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1629#@#2017-01-31#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1629','2017-01-31','al20','BF','1','+','0.00','1','62364_1629','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 = '1629' and close_date = '2017-01-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 ( #1629#@#2017-01-31#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1629#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1629# and close_date = #2017-01-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 ( #1633#@#2017-02-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63830_1633#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1633','2017-02-07','al01','BF','1','+','85049.00','1','63830_1633','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1633' and close_date = '2017-02-07' 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 = '1633' and close_date = '2017-02-07' 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 = '1633' and close_date = '2017-02-07' 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 ( #1633#@#2017-02-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63830_1633#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1633# and close_date = #2017-02-07# 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 ( #1633#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63830_1633#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1633' and close_date = '2017-02-07' 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 = '1633' and close_date = '2017-02-07' 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 = '1633' and close_date = '2017-02-07' 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 ( #1633#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63830_1633#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1633# and close_date = #2017-02-07# 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 ( #1633#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63830_1633#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1633','2017-02-07','al20','BF','1','+','0.00','1','63830_1633','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1633' and close_date = '2017-02-07' 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 = '1633' and close_date = '2017-02-07' 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 = '1633' and close_date = '2017-02-07' 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 ( #1633#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63830_1633#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1633# and close_date = #2017-02-07# 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 ( #1492#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1492' and close_date = '2017-02-07' 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 = '1492' and close_date = '2017-02-07' 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 = '1492' and close_date = '2017-02-07' 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 ( #1492#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1492# and close_date = #2017-02-07# 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 ( #1492#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1492' and close_date = '2017-02-07' 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 = '1492' and close_date = '2017-02-07' 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 = '1492' and close_date = '2017-02-07' 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 ( #1492#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1492# and close_date = #2017-02-07# 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 ( #1492#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1492' and close_date = '2017-02-07' 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 = '1492' and close_date = '2017-02-07' 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 = '1492' and close_date = '2017-02-07' 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 ( #1492#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1492# and close_date = #2017-02-07# 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 ( #1492#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1492' and close_date = '2017-02-08' 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 = '1492' and close_date = '2017-02-08' 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 = '1492' and close_date = '2017-02-08' 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 ( #1492#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1492# and close_date = #2017-02-08# 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 ( #1492#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1492' and close_date = '2017-02-08' 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 = '1492' and close_date = '2017-02-08' 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 = '1492' and close_date = '2017-02-08' 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 ( #1492#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1492# and close_date = #2017-02-08# 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 ( #1492#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1492' and close_date = '2017-02-08' 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 = '1492' and close_date = '2017-02-08' 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 = '1492' and close_date = '2017-02-08' 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 ( #1492#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1492# and close_date = #2017-02-08# 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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','INC','2','+','0.00','1','62935_1162','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#47331.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','DEC','2','+','47331.00','1','62935_1162','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#47331.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#30476.35#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','BF','2','+','30476.35','1','62935_1162','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#30476.35#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#50000.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','INC','2','+','50000.00','1','62935_1162','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#INC#@#2#@#+#@#50000.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-07# 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','DEC','2','+','0.00','1','62935_1162','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-07# 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-02-07#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','BF','2','+','50000.00','1','62935_1162','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-07# 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 ( #1351#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','INC','2','+','0.00','1','47875_1351','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#6188.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','DEC','2','+','6188.00','1','47875_1351','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#6188.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#7343.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','BF','2','+','7343.00','1','47875_1351','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#7343.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#820000.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','INC','2','+','820000.00','1','47875_1351','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#INC#@#2#@#+#@#820000.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-07# 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','DEC','2','+','0.00','1','47875_1351','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-07# 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-02-07#@#al20#@#BF#@#2#@#+#@#820000.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','BF','2','+','820000.00','1','47875_1351','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#BF#@#2#@#+#@#820000.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-07# 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-02-08#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','INC','1','+','50000.00','1','62935_1162','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#9211.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','DEC','1','+','9211.00','1','62935_1162','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#9211.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#71265.35#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','BF','1','+','71265.35','1','62935_1162','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#71265.35#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','INC','1','+','0.00','1','62935_1162','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','DEC','1','+','50000.00','1','62935_1162','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','BF','1','+','0.00','1','62935_1162','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1162' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62935_1162#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1162# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#820000.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','INC','1','+','820000.00','1','47875_1351','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#820000.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#530138.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','DEC','1','+','530138.00','1','47875_1351','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#530138.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#297205.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','BF','1','+','297205.00','1','47875_1351','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#297205.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','INC','1','+','0.00','1','47875_1351','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#820000.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','DEC','1','+','820000.00','1','47875_1351','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#820000.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','BF','1','+','0.00','1','47875_1351','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-02-08# 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 ( #1115#@#2017-01-07#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-01-07','al01','INC','3','+','0.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 ( #1115#@#2017-01-07#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-01-07# 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 ( #1115#@#2017-01-07#@#al01#@#DEC#@#3#@#+#@#86912.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-01-07','al01','DEC','3','+','86912.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 ( #1115#@#2017-01-07#@#al01#@#DEC#@#3#@#+#@#86912.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-01-07# 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 ( #1115#@#2017-01-07#@#al01#@#BF#@#3#@#+#@#2280.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-01-07','al01','BF','3','+','2280.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 ( #1115#@#2017-01-07#@#al01#@#BF#@#3#@#+#@#2280.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-01-07# 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 ( #1115#@#2017-01-07#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-01-07','al20','INC','3','+','0.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 ( #1115#@#2017-01-07#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-01-07# 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 ( #1115#@#2017-01-07#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-01-07','al20','DEC','3','+','0.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 ( #1115#@#2017-01-07#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-01-07# 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 ( #1115#@#2017-01-07#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-01-07','al20','BF','3','+','0.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 = '1115' and close_date = '2017-01-07' 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 ( #1115#@#2017-01-07#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-01-07# 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 ( #1115#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-07','al01','INC','2','+','0.00','1','49692_1115','p','2017-02-08',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-07','al01','DEC','2','+','0.00','1','49692_1115','p','2017-02-08',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-07','al01','BF','2','+','12.00','1','49692_1115','p','2017-02-08',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-07','al20','INC','2','+','300000.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-02-07' 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 = '1115' and close_date = '2017-02-07' 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 = '1115' and close_date = '2017-02-07' 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 ( #1115#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#300000.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-07# 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 ( #1115#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-07','al20','DEC','2','+','0.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-02-07' 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 = '1115' and close_date = '2017-02-07' 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 = '1115' and close_date = '2017-02-07' 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 ( #1115#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-07# 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 ( #1115#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#300000.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-07','al20','BF','2','+','300000.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-02-07' 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 = '1115' and close_date = '2017-02-07' 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 = '1115' and close_date = '2017-02-07' 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 ( #1115#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#300000.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-07# 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 ( #1115#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#300000.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-08','al01','INC','1','+','300000.00','1','49692_1115','p','2017-02-08',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-08','al01','DEC','1','+','274344.00','1','49692_1115','p','2017-02-08',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-08','al01','BF','1','+','25668.00','1','49692_1115','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-02-08' 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 = '1115' and close_date = '2017-02-08' 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 = '1115' and close_date = '2017-02-08' 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 ( #1115#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-08# 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 ( #1115#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#300000.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1115','2017-02-08','al20','DEC','1','+','300000.00','1','49692_1115','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-02-08' 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 = '1115' and close_date = '2017-02-08' 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 = '1115' and close_date = '2017-02-08' 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 ( #1115#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#300000.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-08# 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 ( #1115#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-02-08' 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 = '1115' and close_date = '2017-02-08' 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 = '1115' and close_date = '2017-02-08' 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 ( #1115#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-08# 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 ( #1640#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now());')

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-02-08','al01','DEC','1','+','23127.54','1','63958_1640','p','2017-02-08',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1640','2017-02-08','al01','BF','1','+','1435.00','1','63958_1640','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-02-08' 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 = '1640' and close_date = '2017-02-08' 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 = '1640' and close_date = '2017-02-08' 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 ( #1640#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-02-08# 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 ( #1640#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-02-08' 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 = '1640' and close_date = '2017-02-08' 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 = '1640' and close_date = '2017-02-08' 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 ( #1640#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-02-08# 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 ( #1640#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-02-08' 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 = '1640' and close_date = '2017-02-08' 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 = '1640' and close_date = '2017-02-08' 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 ( #1640#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63958_1640#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-02-08# 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-02-07#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','INC','3','+','0.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 ( #1099#@#2017-02-07#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-07# 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 ( #1099#@#2017-02-07#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','DEC','3','+','0.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 ( #1099#@#2017-02-07#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-07# 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 ( #1099#@#2017-02-07#@#al01#@#BF#@#3#@#+#@#318.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','BF','3','+','318.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 ( #1099#@#2017-02-07#@#al01#@#BF#@#3#@#+#@#318.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-07# 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 ( #1099#@#2017-02-07#@#al20#@#INC#@#3#@#+#@#200000.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','INC','3','+','200000.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 ( #1099#@#2017-02-07#@#al20#@#INC#@#3#@#+#@#200000.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-07# 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 ( #1099#@#2017-02-07#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','DEC','3','+','0.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 ( #1099#@#2017-02-07#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-07# 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 ( #1099#@#2017-02-07#@#al20#@#BF#@#3#@#+#@#200000.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','BF','3','+','200000.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 = '1099' and close_date = '2017-02-07' 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 ( #1099#@#2017-02-07#@#al20#@#BF#@#3#@#+#@#200000.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-07# 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 ( #1099#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','INC','1','+','200000.00','1','60000_1099','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#125226.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','DEC','1','+','125226.00','1','60000_1099','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#125226.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#75092.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','BF','1','+','75092.00','1','60000_1099','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#75092.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','INC','1','+','0.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','DEC','1','+','200000.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','BF','1','+','0.00','1','60000_1099','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1099#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','INC','1','+','0.00','1','60000_1639','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#6292.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','DEC','1','+','6292.00','1','60000_1639','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#6292.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#84.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','BF','1','+','84.00','1','60000_1639','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#84.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','INC','1','+','0.00','1','60000_1639','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','DEC','1','+','0.00','1','60000_1639','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','BF','1','+','0.00','1','60000_1639','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','INC','1','+','0.00','1','56066_1476','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','DEC','1','+','0.00','1','56066_1476','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#4777.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','BF','1','+','4777.00','1','56066_1476','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#4777.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','INC','1','+','0.00','1','56066_1476','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','DEC','1','+','0.00','1','56066_1476','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','BF','1','+','0.00','1','56066_1476','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-02-08# 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 ( #1058#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','INC','2','+','0.00','1','51111_1058','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#6101.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','DEC','2','+','6101.00','1','51111_1058','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#6101.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#66634.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al01','BF','2','+','66634.00','1','51111_1058','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#66634.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','INC','2','+','0.00','1','51111_1058','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-07# 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','DEC','2','+','0.00','1','51111_1058','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-07# 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-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-07','al20','BF','2','+','0.00','1','51111_1058','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-07# 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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','INC','1','+','0.00','1','51111_1058','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','DEC','1','+','0.00','1','51111_1058','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#66634.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','BF','1','+','66634.00','1','51111_1058','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#66634.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','INC','1','+','0.00','1','51111_1058','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','DEC','1','+','0.00','1','51111_1058','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','BF','1','+','0.00','1','51111_1058','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1058' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#51111_1058#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1058# and close_date = #2017-02-08# 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 ( #1421#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2017-02-07','al01','BF','2','+','41847.00','1','51111_1421','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-02-07' 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 = '1421' and close_date = '2017-02-07' 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 = '1421' and close_date = '2017-02-07' 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 ( #1421#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-02-07# 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 ( #1421#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-02-07' 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 = '1421' and close_date = '2017-02-07' 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 = '1421' and close_date = '2017-02-07' 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 ( #1421#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-02-07# 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 ( #1421#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2017-02-07','al20','BF','2','+','0.00','1','51111_1421','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-02-07' 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 = '1421' and close_date = '2017-02-07' 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 = '1421' and close_date = '2017-02-07' 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 ( #1421#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-02-07# 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 ( #1421#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2017-02-08','al01','BF','1','+','41847.00','1','51111_1421','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-02-08' 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 = '1421' and close_date = '2017-02-08' 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 = '1421' and close_date = '2017-02-08' 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 ( #1421#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-02-08# 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 ( #1421#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-02-08' 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 = '1421' and close_date = '2017-02-08' 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 = '1421' and close_date = '2017-02-08' 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 ( #1421#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-02-08# 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 ( #1421#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-02-08' 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 = '1421' and close_date = '2017-02-08' 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 = '1421' and close_date = '2017-02-08' 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 ( #1421#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#51111_1421#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-02-08# 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 ( #1524#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#45092_1524#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1524','2017-02-08','al01','BF','1','+','7779.00','1','45092_1524','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1524' and close_date = '2017-02-08' 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 = '1524' and close_date = '2017-02-08' 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 = '1524' and close_date = '2017-02-08' 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 ( #1524#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#45092_1524#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1524# and close_date = #2017-02-08# 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 ( #1524#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_1524#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1524' and close_date = '2017-02-08' 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 = '1524' and close_date = '2017-02-08' 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 = '1524' and close_date = '2017-02-08' 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 ( #1524#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_1524#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1524# and close_date = #2017-02-08# 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 ( #1524#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#45092_1524#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1524' and close_date = '2017-02-08' 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 = '1524' and close_date = '2017-02-08' 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 = '1524' and close_date = '2017-02-08' 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 ( #1524#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#45092_1524#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1524# and close_date = #2017-02-08# 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 ( #1633#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#45092_1633#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1633','2017-02-08','al01','BF','1','+','85049.00','1','45092_1633','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1633' and close_date = '2017-02-08' 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 = '1633' and close_date = '2017-02-08' 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 = '1633' and close_date = '2017-02-08' 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 ( #1633#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#45092_1633#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1633# and close_date = #2017-02-08# 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 ( #1633#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_1633#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1633' and close_date = '2017-02-08' 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 = '1633' and close_date = '2017-02-08' 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 = '1633' and close_date = '2017-02-08' 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 ( #1633#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_1633#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1633# and close_date = #2017-02-08# 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 ( #1633#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#45092_1633#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1633' and close_date = '2017-02-08' 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 = '1633' and close_date = '2017-02-08' 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 = '1633' and close_date = '2017-02-08' 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 ( #1633#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#45092_1633#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1633# and close_date = #2017-02-08# 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-01-31#@#al01#@#INC#@#3#@#+#@#300000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-01-31','al01','INC','3','+','300000.00','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 ( #10#@#2017-01-31#@#al01#@#INC#@#3#@#+#@#300000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-01-31# 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 ( #10#@#2017-01-31#@#al01#@#DEC#@#3#@#+#@#245170.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-01-31','al01','DEC','3','+','245170.00','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 ( #10#@#2017-01-31#@#al01#@#DEC#@#3#@#+#@#245170.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-01-31# 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 ( #10#@#2017-01-31#@#al01#@#BF#@#3#@#+#@#69501.90#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-01-31','al01','BF','3','+','69501.90','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 ( #10#@#2017-01-31#@#al01#@#BF#@#3#@#+#@#69501.90#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-01-31# 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 ( #10#@#2017-01-31#@#al20#@#INC#@#3#@#+#@#450000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-01-31','al20','INC','3','+','450000.00','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 ( #10#@#2017-01-31#@#al20#@#INC#@#3#@#+#@#450000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-01-31# 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 ( #10#@#2017-01-31#@#al20#@#DEC#@#3#@#+#@#300000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-01-31','al20','DEC','3','+','300000.00','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 ( #10#@#2017-01-31#@#al20#@#DEC#@#3#@#+#@#300000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-01-31# 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 ( #10#@#2017-01-31#@#al20#@#BF#@#3#@#+#@#450000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-01-31','al20','BF','3','+','450000.00','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 = '10' and close_date = '2017-01-31' 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 ( #10#@#2017-01-31#@#al20#@#BF#@#3#@#+#@#450000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-01-31# 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 ( #1475#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1475#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1475','2017-02-08','al01','BF','1','+','193.00','1','50582_1475','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1475' and close_date = '2017-02-08' 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 = '1475' and close_date = '2017-02-08' 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 = '1475' and close_date = '2017-02-08' 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 ( #1475#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1475#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1475# and close_date = #2017-02-08# 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 ( #1475#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1475#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1475' and close_date = '2017-02-08' 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 = '1475' and close_date = '2017-02-08' 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 = '1475' and close_date = '2017-02-08' 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 ( #1475#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1475#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1475# and close_date = #2017-02-08# 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 ( #1475#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1475#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1475' and close_date = '2017-02-08' 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 = '1475' and close_date = '2017-02-08' 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 = '1475' and close_date = '2017-02-08' 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 ( #1475#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1475#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1475# and close_date = #2017-02-08# 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 ( #1604#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#31997_1604#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1604' and close_date = '2017-02-08' 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 = '1604' and close_date = '2017-02-08' 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 = '1604' and close_date = '2017-02-08' 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 ( #1604#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#31997_1604#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-08# 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 ( #1604#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#31997_1604#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1604' and close_date = '2017-02-08' 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 = '1604' and close_date = '2017-02-08' 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 = '1604' and close_date = '2017-02-08' 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 ( #1604#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#31997_1604#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-08# 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 ( #1604#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#31997_1604#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1604' and close_date = '2017-02-08' 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 = '1604' and close_date = '2017-02-08' 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 = '1604' and close_date = '2017-02-08' 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 ( #1604#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#31997_1604#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-08# 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 ( #1468#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1468#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1468','2017-02-08','al01','BF','1','+','463.86','1','50582_1468','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1468' and close_date = '2017-02-08' 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 = '1468' and close_date = '2017-02-08' 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 = '1468' and close_date = '2017-02-08' 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 ( #1468#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1468#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1468# and close_date = #2017-02-08# 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 ( #1468#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1468#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1468' and close_date = '2017-02-08' 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 = '1468' and close_date = '2017-02-08' 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 = '1468' and close_date = '2017-02-08' 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 ( #1468#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1468#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1468# and close_date = #2017-02-08# 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 ( #1468#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1468#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1468' and close_date = '2017-02-08' 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 = '1468' and close_date = '2017-02-08' 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 = '1468' and close_date = '2017-02-08' 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 ( #1468#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1468#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1468# and close_date = #2017-02-08# 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 ( #1537#@#2017-02-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1537','2017-02-07','al01','BF','1','+','0.00','1','42003_1537','p','2017-02-08',now());

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1537' and close_date = '2017-02-07' 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 = '1537' and close_date = '2017-02-07' 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 = '1537' and close_date = '2017-02-07' 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 ( #1537#@#2017-02-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1537# and close_date = #2017-02-07# 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 ( #1537#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1537' and close_date = '2017-02-07' 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 = '1537' and close_date = '2017-02-07' 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 = '1537' and close_date = '2017-02-07' 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 ( #1537#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1537# and close_date = #2017-02-07# 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 ( #1537#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1537','2017-02-07','al20','BF','1','+','0.00','1','42003_1537','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1537' and close_date = '2017-02-07' 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 = '1537' and close_date = '2017-02-07' 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 = '1537' and close_date = '2017-02-07' 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 ( #1537#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1537# and close_date = #2017-02-07# 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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','INC','1','+','0.00','1','33370_1461','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','DEC','1','+','0.00','1','33370_1461','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','BF','1','+','0.00','1','33370_1461','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','INC','1','+','0.00','1','33370_1461','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','DEC','1','+','0.00','1','33370_1461','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','BF','1','+','0.00','1','33370_1461','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '1461' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#33370_1461#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1461# and close_date = #2017-02-08# 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 ( #1537#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1537' and close_date = '2017-02-08' 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 = '1537' and close_date = '2017-02-08' 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 = '1537' and close_date = '2017-02-08' 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 ( #1537#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1537# and close_date = #2017-02-08# 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 ( #1537#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1537' and close_date = '2017-02-08' 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 = '1537' and close_date = '2017-02-08' 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 = '1537' and close_date = '2017-02-08' 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 ( #1537#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1537# and close_date = #2017-02-08# 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 ( #1537#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1537' and close_date = '2017-02-08' 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 = '1537' and close_date = '2017-02-08' 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 = '1537' and close_date = '2017-02-08' 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 ( #1537#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1537#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1537# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#500000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','INC','1','+','500000.00','1','45092_10','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#500000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#625402.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','DEC','1','+','625402.00','1','45092_10','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#625402.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#21441.90#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al01','BF','1','+','21441.90','1','45092_10','p','2017-02-08',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#21441.90#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','INC','1','+','0.00','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#500000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','DEC','1','+','500000.00','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#500000.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#45092_10#@#p#@#2017-02-08#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-02-08','al20','BF','1','+','0.00','1','45092_10','p','2017-02-08',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#45092_10#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-02-08# 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 ( #1477#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-02-07' 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 = '1477' and close_date = '2017-02-07' 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 = '1477' and close_date = '2017-02-07' 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 ( #1477#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-02-07# 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 ( #1477#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-02-07' 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 = '1477' and close_date = '2017-02-07' 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 = '1477' and close_date = '2017-02-07' 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 ( #1477#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-02-07# 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 ( #1477#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-02-07' 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 = '1477' and close_date = '2017-02-07' 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 = '1477' and close_date = '2017-02-07' 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 ( #1477#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-02-07# 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 ( #1477#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-02-08' 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 = '1477' and close_date = '2017-02-08' 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 = '1477' and close_date = '2017-02-08' 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 ( #1477#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-02-08# 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 ( #1477#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-02-08' 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 = '1477' and close_date = '2017-02-08' 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 = '1477' and close_date = '2017-02-08' 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 ( #1477#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-02-08# 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 ( #1477#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now());')

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-02-08' 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 = '1477' and close_date = '2017-02-08' 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 = '1477' and close_date = '2017-02-08' 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 ( #1477#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-02-08#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-02-08# 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-01-19#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 ( #1415#@#2017-01-19#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-01-19# 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 ( #1415#@#2017-01-19#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 ( #1415#@#2017-01-19#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-01-19# 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 ( #1415#@#2017-01-19#@#al01#@#BF#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 ( #1415#@#2017-01-19#@#al01#@#BF#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-01-19# 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 ( #1415#@#2017-01-19#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 ( #1415#@#2017-01-19#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-01-19# 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 ( #1415#@#2017-01-19#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 ( #1415#@#2017-01-19#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-01-19# 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 ( #1415#@#2017-01-19#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 = '1415' and close_date = '2017-01-19' 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 ( #1415#@#2017-01-19#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-01-19# 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 ( #1227#@#2017-01-24#@#al01#@#INC#@#2#@#+#@#300000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 ( #1227#@#2017-01-24#@#al01#@#INC#@#2#@#+#@#300000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-01-24# 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 ( #1227#@#2017-01-24#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 ( #1227#@#2017-01-24#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-01-24# 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 ( #1227#@#2017-01-24#@#al01#@#BF#@#2#@#+#@#300386.01#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 ( #1227#@#2017-01-24#@#al01#@#BF#@#2#@#+#@#300386.01#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-01-24# 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 ( #1227#@#2017-01-24#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 ( #1227#@#2017-01-24#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-01-24# 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 ( #1227#@#2017-01-24#@#al20#@#DEC#@#2#@#+#@#300000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 ( #1227#@#2017-01-24#@#al20#@#DEC#@#2#@#+#@#300000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-01-24# 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 ( #1227#@#2017-01-24#@#al20#@#BF#@#2#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 = '1227' and close_date = '2017-01-24' 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 ( #1227#@#2017-01-24#@#al20#@#BF#@#2#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-01-24# 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 ( #1544#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1544','2017-02-07','al01','BF','2','+','57.00','1','63105_1544','p','2017-02-09',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1544','2017-02-07','al20','INC','2','+','400000.00','1','63105_1544','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1544' and close_date = '2017-02-07' 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 = '1544' and close_date = '2017-02-07' 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 = '1544' and close_date = '2017-02-07' 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 ( #1544#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#400000.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1544# and close_date = #2017-02-07# 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 ( #1544#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1544' and close_date = '2017-02-07' 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 = '1544' and close_date = '2017-02-07' 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 = '1544' and close_date = '2017-02-07' 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 ( #1544#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1544# and close_date = #2017-02-07# 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 ( #1544#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#400000.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1544','2017-02-07','al20','BF','2','+','400000.00','1','63105_1544','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1544' and close_date = '2017-02-07' 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 = '1544' and close_date = '2017-02-07' 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 = '1544' and close_date = '2017-02-07' 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 ( #1544#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#400000.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1544# and close_date = #2017-02-07# 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 ( #1227#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-07' 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 = '1227' and close_date = '2017-02-07' 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 = '1227' and close_date = '2017-02-07' 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 ( #1227#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#700000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-07# 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 ( #1227#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-07' 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 = '1227' and close_date = '2017-02-07' 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 = '1227' and close_date = '2017-02-07' 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 ( #1227#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-07# 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 ( #1227#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#700000.90#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-07' 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 = '1227' and close_date = '2017-02-07' 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 = '1227' and close_date = '2017-02-07' 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 ( #1227#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#700000.90#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1424','2017-02-07','al01','DEC','2','+','3600.00','1','36211_1424','p','2017-02-09',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1424','2017-02-07','al01','BF','2','+','12064.00','1','36211_1424','p','2017-02-09',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1424','2017-02-07','al20','INC','2','+','500000.00','1','36211_1424','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1424','2017-02-07','al20','BF','2','+','500000.00','1','36211_1424','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #304#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#900000.00#@#1#@#54110_304#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-02-08' 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 = '304' and close_date = '2017-02-08' 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 = '304' and close_date = '2017-02-08' 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 ( #304#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#54110_304#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-02-08# 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 ( #304#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#900000.00#@#1#@#54110_304#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-02-08' 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 = '304' and close_date = '2017-02-08' 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 = '304' and close_date = '2017-02-08' 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 ( #304#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#900000.00#@#1#@#54110_304#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-02-08# 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 ( #304#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#54110_304#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-02-08' 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 = '304' and close_date = '2017-02-08' 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 = '304' and close_date = '2017-02-08' 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 ( #304#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#54110_304#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-02-08# 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 ( #1424#@#2017-02-07#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-07#@#al01#@#DEC#@#3#@#+#@#3600.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1424','2017-02-07','al01','DEC','3','+','3600.00','1','36211_1424','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al01#@#DEC#@#3#@#+#@#3600.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-07#@#al01#@#BF#@#3#@#+#@#12064.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1424','2017-02-07','al01','BF','3','+','12064.00','1','36211_1424','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al01#@#BF#@#3#@#+#@#12064.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-07#@#al20#@#INC#@#3#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1424','2017-02-07','al20','INC','3','+','500000.00','1','36211_1424','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al20#@#INC#@#3#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-07#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-07#@#al20#@#BF#@#3#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1424','2017-02-07','al20','BF','3','+','500000.00','1','36211_1424','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 = '1424' and close_date = '2017-02-07' 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 ( #1424#@#2017-02-07#@#al20#@#BF#@#3#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-07# 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 ( #1544#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#400000.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1544' and close_date = '2017-02-08' 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 = '1544' and close_date = '2017-02-08' 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 = '1544' and close_date = '2017-02-08' 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 ( #1544#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1544# and close_date = #2017-02-08# 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 ( #1544#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#400000.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1544' and close_date = '2017-02-08' 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 = '1544' and close_date = '2017-02-08' 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 = '1544' and close_date = '2017-02-08' 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 ( #1544#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#400000.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1544# and close_date = #2017-02-08# 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 ( #1544#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1544' and close_date = '2017-02-08' 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 = '1544' and close_date = '2017-02-08' 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 = '1544' and close_date = '2017-02-08' 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 ( #1544#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1544#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1544# and close_date = #2017-02-08# 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-02-07#@#al01#@#INC#@#2#@#+#@#700000.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#700000.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#561140.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#561140.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#139433.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#139433.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-07# 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-02-07#@#al20#@#DEC#@#2#@#+#@#700000.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#DEC#@#2#@#+#@#700000.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-07# 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-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-07# 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 ( #215#@#2017-02-03#@#al01#@#INC#@#2#@#+#@#253685.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-03#@#al01#@#INC#@#2#@#+#@#253685.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-03#@#al01#@#DEC#@#2#@#+#@#138448.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-03#@#al01#@#DEC#@#2#@#+#@#138448.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-03#@#al01#@#BF#@#2#@#+#@#356313.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-03#@#al01#@#BF#@#2#@#+#@#356313.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-03#@#al20#@#DEC#@#2#@#+#@#253685.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-03#@#al20#@#DEC#@#2#@#+#@#253685.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #215#@#2017-02-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 = '215' and close_date = '2017-02-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 ( #215#@#2017-02-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-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 ( #1415#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-07# 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-07# 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-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-07# 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 ( #1424#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-08' 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 = '1424' and close_date = '2017-02-08' 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 = '1424' and close_date = '2017-02-08' 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 ( #1424#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-08# 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 ( #1424#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-08' 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 = '1424' and close_date = '2017-02-08' 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 = '1424' and close_date = '2017-02-08' 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 ( #1424#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#500000.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-08# 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 ( #1424#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1424' and close_date = '2017-02-08' 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 = '1424' and close_date = '2017-02-08' 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 = '1424' and close_date = '2017-02-08' 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 ( #1424#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36211_1424#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1424# and close_date = #2017-02-08# 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 ( #1227#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#700000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 ( #1227#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-08# 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 ( #1227#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#700000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 ( #1227#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#700000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-08# 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 ( #1227#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 ( #1227#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-08# 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 ( #1227#@#2017-02-08#@#al01#@#INC#@#2#@#+#@#700000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 ( #1227#@#2017-02-08#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-08# 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 ( #1227#@#2017-02-08#@#al20#@#DEC#@#2#@#+#@#700000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 ( #1227#@#2017-02-08#@#al20#@#DEC#@#2#@#+#@#700000.00#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-08# 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 ( #1227#@#2017-02-08#@#al20#@#BF#@#2#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 = '1227' and close_date = '2017-02-08' 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 ( #1227#@#2017-02-08#@#al20#@#BF#@#2#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#39036.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#39036.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#100397.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#100397.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-02-08# 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 ( #215#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#800000.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-08' 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 = '215' and close_date = '2017-02-08' 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 = '215' and close_date = '2017-02-08' 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 ( #215#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-08# 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 ( #215#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#800000.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-08' 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 = '215' and close_date = '2017-02-08' 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 = '215' and close_date = '2017-02-08' 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 ( #215#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#800000.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-08# 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 ( #215#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#59346#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-02-08' 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 = '215' and close_date = '2017-02-08' 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 = '215' and close_date = '2017-02-08' 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 ( #215#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#59346#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1415' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1415#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1415# and close_date = #2017-02-08# 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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-02-07' 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 = '1171' and close_date = '2017-02-07' 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 = '1171' and close_date = '2017-02-07' 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 ( #1171#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-07# 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 ( #1171#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-02-07' 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 = '1171' and close_date = '2017-02-07' 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 = '1171' and close_date = '2017-02-07' 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 ( #1171#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-07# 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 ( #1171#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-02-07' 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 = '1171' and close_date = '2017-02-07' 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 = '1171' and close_date = '2017-02-07' 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 ( #1171#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-07# 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 ( #1171#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-02-08# 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 ( #177#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-02-07','al01','BF','2','+','381.40','1','50232_177','p','2017-02-09',now());

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-02-07','al20','INC','2','+','400000.00','1','50232_177','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-02-07' 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 = '177' and close_date = '2017-02-07' 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 = '177' and close_date = '2017-02-07' 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 ( #177#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#400000.00#@#1#@#50232_177#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-02-07# 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 ( #177#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-02-07' 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 = '177' and close_date = '2017-02-07' 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 = '177' and close_date = '2017-02-07' 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 ( #177#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-02-07# 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 ( #177#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#400000.58#@#1#@#50232_177#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-02-07','al20','BF','2','+','400000.58','1','50232_177','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-02-07' 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 = '177' and close_date = '2017-02-07' 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 = '177' and close_date = '2017-02-07' 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 ( #177#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#400000.58#@#1#@#50232_177#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-02-07# 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 ( #1635#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#20000.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#20000.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#25343.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#25343.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#20000.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#20000.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-02-08# 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 ( #177#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#400000.00#@#1#@#50232_177#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-02-08' 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 = '177' and close_date = '2017-02-08' 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 = '177' and close_date = '2017-02-08' 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 ( #177#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-02-08# 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 ( #177#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#400000.00#@#1#@#50232_177#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-02-08' 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 = '177' and close_date = '2017-02-08' 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 = '177' and close_date = '2017-02-08' 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 ( #177#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#400000.00#@#1#@#50232_177#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-02-08# 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 ( #177#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.58#@#1#@#50232_177#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-02-08' 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 = '177' and close_date = '2017-02-08' 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 = '177' and close_date = '2017-02-08' 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 ( #177#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.58#@#1#@#50232_177#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-02-08# 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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#1832.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#1832.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#6513.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#6513.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-02-07' 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 = '1450' and close_date = '2017-02-07' 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 = '1450' and close_date = '2017-02-07' 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 ( #1450#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-07# 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 ( #1450#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-02-07' 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 = '1450' and close_date = '2017-02-07' 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 = '1450' and close_date = '2017-02-07' 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 ( #1450#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-07# 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 ( #1450#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-02-07' 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 = '1450' and close_date = '2017-02-07' 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 = '1450' and close_date = '2017-02-07' 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 ( #1450#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-07# 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 ( #1450#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#118328.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#118328.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#38185.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#38185.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-02-08# 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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#43039.36#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#43039.36#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#800000.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#INC#@#2#@#+#@#800000.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-07# 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-07# 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-02-07#@#al20#@#BF#@#2#@#+#@#800053.99#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-02-07' 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-02-07' 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-02-07' 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-02-07#@#al20#@#BF#@#2#@#+#@#800053.99#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-07# 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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#43039.36#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#43039.36#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#800053.99#@#1#@#54110_1232#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#800053.99#@#1#@#54110_1232#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-08# 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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#1920.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-02-07','al01','BF','2','+','1920.00','1','34300_1425','p','2017-02-09',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#1920.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#400000.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-02-07','al20','INC','2','+','400000.00','1','34300_1425','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-02-07' 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 = '1425' and close_date = '2017-02-07' 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 = '1425' and close_date = '2017-02-07' 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 ( #1425#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#400000.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-07# 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 ( #1425#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-02-07' 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 = '1425' and close_date = '2017-02-07' 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 = '1425' and close_date = '2017-02-07' 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 ( #1425#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-07# 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 ( #1425#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#400000.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2017-02-07','al20','BF','2','+','400000.00','1','34300_1425','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-02-07' 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 = '1425' and close_date = '2017-02-07' 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 = '1425' and close_date = '2017-02-07' 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 ( #1425#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#400000.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-07# 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 ( #1425#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#1920.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#1920.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#400000.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#400000.00#@#1#@#34300_1425#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-02-08# 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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#50.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1218','2017-02-07','al01','BF','2','+','50.00','1','42003_1218','p','2017-02-09',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#50.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-02-07' 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 = '1218' and close_date = '2017-02-07' 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 = '1218' and close_date = '2017-02-07' 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 ( #1218#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-07# 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 ( #1218#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-02-07' 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 = '1218' and close_date = '2017-02-07' 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 = '1218' and close_date = '2017-02-07' 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 ( #1218#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-07# 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 ( #1218#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-02-07' 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 = '1218' and close_date = '2017-02-07' 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 = '1218' and close_date = '2017-02-07' 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 ( #1218#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-07# 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 ( #1218#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#50.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#50.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1218#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-02-08# 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-01-28#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 ( #1229#@#2017-01-28#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-01-28# 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 ( #1229#@#2017-01-28#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 ( #1229#@#2017-01-28#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-01-28# 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 ( #1229#@#2017-01-28#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 ( #1229#@#2017-01-28#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-01-28# 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 ( #1229#@#2017-01-28#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 ( #1229#@#2017-01-28#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-01-28# 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 ( #1229#@#2017-01-28#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 ( #1229#@#2017-01-28#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-01-28# 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 ( #1229#@#2017-01-28#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 = '1229' and close_date = '2017-01-28' 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 ( #1229#@#2017-01-28#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-01-28# 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 ( #1229#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-02-08# 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-01-27#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-01-27','al01','INC','2','+','100000.00','1','63108_1054','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 ( #1054#@#2017-01-27#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-01-27# 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 ( #1054#@#2017-01-27#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 ( #1054#@#2017-01-27#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-01-27# 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 ( #1054#@#2017-01-27#@#al01#@#BF#@#2#@#+#@#104165.62#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-01-27','al01','BF','2','+','104165.62','1','63108_1054','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 ( #1054#@#2017-01-27#@#al01#@#BF#@#2#@#+#@#104165.62#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-01-27# 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 ( #1054#@#2017-01-27#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-01-27','al20','INC','2','+','200000.00','1','63108_1054','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 ( #1054#@#2017-01-27#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-01-27# 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 ( #1054#@#2017-01-27#@#al20#@#DEC#@#2#@#+#@#100000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-01-27','al20','DEC','2','+','100000.00','1','63108_1054','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 ( #1054#@#2017-01-27#@#al20#@#DEC#@#2#@#+#@#100000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-01-27# 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 ( #1054#@#2017-01-27#@#al20#@#BF#@#2#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-01-27','al20','BF','2','+','200000.00','1','63108_1054','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 = '1054' and close_date = '2017-01-27' 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 ( #1054#@#2017-01-27#@#al20#@#BF#@#2#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-01-27# 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 ( #1054#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#13381.62#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-02-07','al01','BF','2','+','13381.62','1','63108_1054','p','2017-02-09',now());

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#13381.62#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-02-07','al20','INC','2','+','200000.00','1','63108_1054','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-02-07' 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 = '1054' and close_date = '2017-02-07' 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 = '1054' and close_date = '2017-02-07' 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 ( #1054#@#2017-02-07#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-07# 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 ( #1054#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-02-07' 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 = '1054' and close_date = '2017-02-07' 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 = '1054' and close_date = '2017-02-07' 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 ( #1054#@#2017-02-07#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-07# 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 ( #1054#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-02-07','al20','BF','2','+','200000.00','1','63108_1054','p','2017-02-09',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-02-07' 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 = '1054' and close_date = '2017-02-07' 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 = '1054' and close_date = '2017-02-07' 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 ( #1054#@#2017-02-07#@#al20#@#BF#@#2#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-07# 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 ( #1054#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#213381.62#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#213381.62#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#143557.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#143557.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#42003_1216#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-02-08# 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 ( #1637#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#400000.00#@#1#@#56912_1637#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-02-08' 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 = '1637' and close_date = '2017-02-08' 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 = '1637' and close_date = '2017-02-08' 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 ( #1637#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56912_1637#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-02-08# 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 ( #1637#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#400000.00#@#1#@#56912_1637#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-02-08' 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 = '1637' and close_date = '2017-02-08' 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 = '1637' and close_date = '2017-02-08' 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 ( #1637#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#400000.00#@#1#@#56912_1637#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-02-08# 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 ( #1637#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56912_1637#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-02-08' 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 = '1637' and close_date = '2017-02-08' 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 = '1637' and close_date = '2017-02-08' 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 ( #1637#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56912_1637#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-02-08# 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 ( #1471#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55496_1471#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1471' and close_date = '2017-02-08' 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 = '1471' and close_date = '2017-02-08' 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 = '1471' and close_date = '2017-02-08' 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 ( #1471#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#55496_1471#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1471# and close_date = #2017-02-08# 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 ( #1471#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#55496_1471#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1471' and close_date = '2017-02-08' 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 = '1471' and close_date = '2017-02-08' 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 = '1471' and close_date = '2017-02-08' 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 ( #1471#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#55496_1471#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1471# and close_date = #2017-02-08# 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 ( #1471#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#55496_1471#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1471' and close_date = '2017-02-08' 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 = '1471' and close_date = '2017-02-08' 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 = '1471' and close_date = '2017-02-08' 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 ( #1471#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#55496_1471#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1471# and close_date = #2017-02-08# 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 ( #1500#@#2017-02-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1500#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1500' and close_date = '2017-02-07' 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 = '1500' and close_date = '2017-02-07' 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 = '1500' and close_date = '2017-02-07' 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 ( #1500#@#2017-02-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1500#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1500# and close_date = #2017-02-07# 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 ( #1500#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1500#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1500' and close_date = '2017-02-07' 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 = '1500' and close_date = '2017-02-07' 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 = '1500' and close_date = '2017-02-07' 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 ( #1500#@#2017-02-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1500#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1500# and close_date = #2017-02-07# 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 ( #1500#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#9696.00#@#1#@#60992_1500#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1500' and close_date = '2017-02-07' 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 = '1500' and close_date = '2017-02-07' 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 = '1500' and close_date = '2017-02-07' 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 ( #1500#@#2017-02-07#@#al20#@#BF#@#1#@#+#@#9696.00#@#1#@#60992_1500#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1500# and close_date = #2017-02-07# 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 ( #1174#@#2017-02-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-02-09#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-02-08' 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 = '1174' and close_date = '2017-02-08' 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 = '1174' and close_date = '2017-02-08' 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 ( #1174#@#2017-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-02-08# 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 ( #1174#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-02-08' 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 = '1174' and close_date = '2017-02-08' 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 = '1174' and close_date = '2017-02-08' 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 ( #1174#@#2017-02-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-02-08# 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 ( #1174#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-02-08' 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 = '1174' and close_date = '2017-02-08' 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 = '1174' and close_date = '2017-02-08' 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 ( #1174#@#2017-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-02-08# 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-02-08#@#al01#@#INC#@#1#@#+#@#20000.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#INC#@#1#@#+#@#20000.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#21304.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#DEC#@#1#@#+#@#21304.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#8473.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al01#@#BF#@#1#@#+#@#8473.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-02-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-02-08# 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-02-08#@#al20#@#DEC#@#1#@#+#@#20000.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#DEC#@#1#@#+#@#20000.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-02-08# 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now());')

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

select * from al_com_close_account WHERE branch_id = '1439' and close_date = '2017-02-08' 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-02-08' 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-02-08' 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-02-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63887_1439#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1439# and close_date = #2017-02-08# 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 ( #1523#@#2017-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#42960_1523#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#42960_1523#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#47676.00#@#1#@#42960_1523#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#DEC#@#2#@#+#@#47676.00#@#1#@#42960_1523#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#66003.00#@#1#@#42960_1523#@#p#@#2017-02-09#@now());')

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-02-07#@#al01#@#BF#@#2#@#+#@#66003.00#@#1#@#42960_1523#@#p#@#2017-02-09#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-02-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

#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 ( #1162#@#2018-06-22#@#2#@#53538557.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2018-06-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2018-06-22','2','53538557.00','209568.20','-2267.00','1','40192_1162','p','2018-06-23',now());

select * from al_com_close_arrear WHERE branch_id = '1162' and close_date = '2018-06-22' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1162' and close_date = '2018-06-22' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2018-06-22' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1162#@#2018-06-22#@#2#@#53538557.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2018-06-23#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1162# and close_date = #2018-06-22# 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 ( #1162#@#2018-06-23#@#1#@#53574043.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2018-06-23#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1162','2018-06-23','1','53574043.00','209568.20','-2267.00','1','40192_1162','p','2018-06-23',now());

select * from al_com_close_arrear WHERE branch_id = '1162' and close_date = '2018-06-23' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1162' and close_date = '2018-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1162' and close_date = '2018-06-23' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1162#@#2018-06-23#@#1#@#53574043.00#@#209568.20#@#-2267.00#@#1#@#40192_1162#@#p#@#2018-06-23#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1162# and close_date = #2018-06-23# and seq_arrear = #1#')

#STOP # Total Record = 4
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 ( #1232#@#2017-01-31#@#B8-1#@#2#@#84#@#0#@#84#@#1#@#p#@#54110_1232#@#2017-02-02#@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 ( '1232','2017-01-31','B8-1','2','84','0','84','1','p','54110_1232','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-01-31' and pl_id = 'B8-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-01-31' and pl_id = 'B8-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-01-31' and pl_id = 'B8-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1232#@#2017-01-31#@#B8-1#@#2#@#84#@#0#@#84#@#1#@#p#@#54110_1232#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-01-31# and pl_id = #B8-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1232#@#2017-01-31#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#54110_1232#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2017-01-31','B9-1','2','0','0','0','1','p','54110_1232','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-01-31' and pl_id = 'B9-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-01-31' and pl_id = 'B9-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-01-31' and pl_id = 'B9-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1232#@#2017-01-31#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#54110_1232#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-01-31# and pl_id = #B9-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1232#@#2017-02-01#@#B1-1#@#1#@#46#@#0#@#46#@#1#@#p#@#54110_1232#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2017-02-01','B1-1','1','46','0','46','1','p','54110_1232','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' and pl_id = 'B1-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' 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 = '1232' and close_date = '2017-02-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1232#@#2017-02-01#@#B1-1#@#1#@#46#@#0#@#46#@#1#@#p#@#54110_1232#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-01# and pl_id = #B1-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1232#@#2017-02-01#@#B2-1#@#1#@#19#@#0#@#19#@#1#@#p#@#54110_1232#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2017-02-01','B2-1','1','19','0','19','1','p','54110_1232','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' and pl_id = 'B2-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' 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 = '1232' and close_date = '2017-02-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1232#@#2017-02-01#@#B2-1#@#1#@#19#@#0#@#19#@#1#@#p#@#54110_1232#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-01# and pl_id = #B2-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1232#@#2017-02-01#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#54110_1232#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2017-02-01','B3-1','1','8','0','8','1','p','54110_1232','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' and pl_id = 'B3-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' 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 = '1232' and close_date = '2017-02-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1232#@#2017-02-01#@#B3-1#@#1#@#8#@#0#@#8#@#1#@#p#@#54110_1232#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-01# and pl_id = #B3-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1232#@#2017-02-01#@#B6-1#@#1#@#2414#@#0#@#2414#@#1#@#p#@#54110_1232#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2017-02-01','B6-1','1','2414','0','2414','1','p','54110_1232','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' and pl_id = 'B6-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' 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 = '1232' and close_date = '2017-02-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1232#@#2017-02-01#@#B6-1#@#1#@#2414#@#0#@#2414#@#1#@#p#@#54110_1232#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-01# and pl_id = #B6-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1232#@#2017-02-01#@#B8-1#@#1#@#84#@#0#@#84#@#1#@#p#@#54110_1232#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2017-02-01','B8-1','1','84','0','84','1','p','54110_1232','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' and pl_id = 'B8-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' 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 = '1232' and close_date = '2017-02-01' 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 ( #1232#@#2017-02-01#@#B8-1#@#1#@#84#@#0#@#84#@#1#@#p#@#54110_1232#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-01# 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 ( #1232#@#2017-02-01#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#54110_1232#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1232','2017-02-01','B9-1','1','0','0','0','1','p','54110_1232','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' and pl_id = 'B9-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1232' and close_date = '2017-02-01' 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 = '1232' and close_date = '2017-02-01' 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 ( #1232#@#2017-02-01#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#54110_1232#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-02-01# 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 ( #1604#@#2017-02-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1604','2017-02-01','B1-1','1','0','0','0','1','p','31997_1604','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' and pl_id = 'B1-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' 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 = '1604' and close_date = '2017-02-01' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1604#@#2017-02-01#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-01# and pl_id = #B1-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1604#@#2017-02-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1604','2017-02-01','B2-1','1','0','0','0','1','p','31997_1604','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' and pl_id = 'B2-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' 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 = '1604' and close_date = '2017-02-01' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1604#@#2017-02-01#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-01# and pl_id = #B2-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1604#@#2017-02-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1604','2017-02-01','B3-1','1','0','0','0','1','p','31997_1604','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' and pl_id = 'B3-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' 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 = '1604' and close_date = '2017-02-01' and pl_id = 'B3-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1604#@#2017-02-01#@#B3-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-01# and pl_id = #B3-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1604#@#2017-02-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1604','2017-02-01','B6-1','1','0','0','0','1','p','31997_1604','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' and pl_id = 'B6-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' 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 = '1604' and close_date = '2017-02-01' and pl_id = 'B6-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1604#@#2017-02-01#@#B6-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-01# and pl_id = #B6-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1604#@#2017-02-01#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1604','2017-02-01','B8-1','1','0','0','0','1','p','31997_1604','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' and pl_id = 'B8-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' 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 = '1604' and close_date = '2017-02-01' 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 ( #1604#@#2017-02-01#@#B8-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-01# 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 ( #1604#@#2017-02-01#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1604','2017-02-01','B9-1','1','0','0','0','1','p','31997_1604','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' and pl_id = 'B9-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1604' and close_date = '2017-02-01' 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 = '1604' and close_date = '2017-02-01' 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 ( #1604#@#2017-02-01#@#B9-1#@#1#@#0#@#0#@#0#@#1#@#p#@#31997_1604#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1604# and close_date = #2017-02-01# 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 ( #1115#@#2017-02-01#@#B1-1#@#2#@#407#@#0#@#407#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-01','B1-1','2','407','0','407','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B1-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B1-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1115#@#2017-02-01#@#B1-1#@#2#@#407#@#0#@#407#@#1#@#p#@#49692_1115#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-01# and pl_id = #B1-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1115#@#2017-02-01#@#B2-1#@#2#@#27#@#0#@#27#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-01','B2-1','2','27','0','27','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B2-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B2-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1115#@#2017-02-01#@#B2-1#@#2#@#27#@#0#@#27#@#1#@#p#@#49692_1115#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-01# and pl_id = #B2-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1115#@#2017-02-01#@#B3-1#@#2#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-01','B3-1','2','25','0','25','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B3-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B3-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1115#@#2017-02-01#@#B3-1#@#2#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-01# and pl_id = #B3-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1115#@#2017-02-01#@#B6-1#@#2#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-01','B6-1','2','12','0','12','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B6-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B6-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1115#@#2017-02-01#@#B6-1#@#2#@#12#@#0#@#12#@#1#@#p#@#49692_1115#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-01# and pl_id = #B6-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1115#@#2017-02-01#@#B8-1#@#2#@#25#@#1#@#26#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-01','B8-1','2','25','1','26','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B8-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B8-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B8-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1115#@#2017-02-01#@#B8-1#@#2#@#25#@#1#@#26#@#1#@#p#@#49692_1115#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-01# and pl_id = #B8-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1115#@#2017-02-01#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-01','B9-1','2','0','0','0','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B9-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B9-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-02-01' and pl_id = 'B9-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1115#@#2017-02-01#@#B9-1#@#2#@#0#@#0#@#0#@#1#@#p#@#49692_1115#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-01# and pl_id = #B9-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1115#@#2017-02-02#@#B1-1#@#1#@#407#@#0#@#407#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-02','B1-1','1','407','0','407','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-02' and pl_id = 'B1-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-02' 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 = '1115' and close_date = '2017-02-02' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1115#@#2017-02-02#@#B1-1#@#1#@#407#@#0#@#407#@#1#@#p#@#49692_1115#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-02# and pl_id = #B1-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1115#@#2017-02-02#@#B2-1#@#1#@#27#@#0#@#27#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-02','B2-1','1','27','0','27','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-02' and pl_id = 'B2-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-02' 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 = '1115' and close_date = '2017-02-02' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', '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 ( #1115#@#2017-02-02#@#B2-1#@#1#@#27#@#0#@#27#@#1#@#p#@#49692_1115#@#2017-02-02#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-02-02# and pl_id = #B2-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('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 ( #1115#@#2017-02-02#@#B3-1#@#1#@#25#@#0#@#25#@#1#@#p#@#49692_1115#@#2017-02-02#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1115','2017-02-02','B3-1','1','25','0','25','1','p','49692_1115','2017-02-02',now());

select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-02' and pl_id = 'B3-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1115' and close_date = '2017-02-02' and pl_id = 'B3-1' and seq_close = '1'