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 ( #1647#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#70306.00#@#1#@#47875_1647#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1665#@#2017-07-26#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 ( #1665#@#2017-07-26#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-26# 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 ( #1665#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#31456.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 ( #1665#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#31456.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-26# 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 ( #1665#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#15776.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 ( #1665#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#15776.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-26# 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 ( #1665#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#40000.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 ( #1665#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#40000.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-26# 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 ( #1665#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 ( #1665#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-26# 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 ( #1665#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#40000.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 = '1665' and close_date = '2017-07-26' 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 ( #1665#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#40000.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-26# 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 ( #1665#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#40000.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1665#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#40000.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1665#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#11413.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1665#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#11413.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1665#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#44363.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1665#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#44363.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1665#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1665#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1665#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#40000.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1665#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#40000.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1665#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' 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 = '1665' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1665#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64030_1665#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1665# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1668#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1668#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1668# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1668#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#2555.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1668#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#2555.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1668# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1668#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#12717.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1668#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#12717.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1668# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1668#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1668#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1668# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1668#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1668#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1668# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1668#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' 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 = '1668' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1668#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60118_1668#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1668# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1473#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1473#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1473#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1473#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1473#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#160.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1473#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#160.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1473#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1473#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1473#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1473#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1473#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' 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 = '1473' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1473#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-07-27#@now());')

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

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

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#3829.00#@#1#@#56066_1476#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#9290.00#@#1#@#56066_1476#@#p#@#2017-07-27#@now());')

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56066_1476#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1476# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#40192_1492#@#p#@#2017-07-27#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-07-27','al01','DEC','1','+','988.00','1','64443_1656','p','2017-07-27',now());

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1656','2017-07-27','al01','BF','1','+','38791.00','1','64443_1656','p','2017-07-27',now());

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1656#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64443_1656#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1656# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-26#@#al01#@#INC#@#2#@#+#@#50000.00#@#1#@#51111_1058#@#p#@#2017-07-27#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','150000.00','1','56645_1450','p','2017-07-27',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#6792.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','6792.00','1','56645_1450','p','2017-07-27',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#6792.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#150377.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','150377.00','1','56645_1450','p','2017-07-27',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#150377.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','150000.00','1','56645_1450','p','2017-07-27',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now());')

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2017-07-27#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-07-26','al01','BF','2','+','284892.00','1','63105_1363','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-07-26','al20','INC','2','+','0.00','1','63105_1363','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-07-26','al20','BF','2','+','0.00','1','63105_1363','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-07-27','al01','BF','1','+','284892.00','1','63105_1363','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-07-27','al20','INC','1','+','0.00','1','63105_1363','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-07-27','al20','BF','1','+','0.00','1','63105_1363','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1363#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-23#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-23' 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-07-23' 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-07-23' 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-07-23#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-23# 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-07-23#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-23','al01','DEC','2','+','0.00','1','34731_PEN','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-23' 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-07-23' 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-07-23' 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-07-23#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-23# 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-07-23#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-23','al01','BF','2','+','0.00','1','34731_PEN','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-23' 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-07-23' 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-07-23' 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-07-23#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-23# 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-07-23#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-23' 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-07-23' 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-07-23' 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-07-23#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-23# 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-07-23#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-23' 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-07-23' 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-07-23' 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-07-23#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-23# 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-07-23#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-23' 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-07-23' 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-07-23' 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-07-23#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-23# 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','34731_PEN','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','34731_PEN','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','0.00','1','34731_PEN','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','34731_PEN','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','34731_PEN','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','34731_PEN','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_PEN#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1218# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-26#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63919_10#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al01','DEC','2','+','0.00','1','63919_10','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al01','BF','2','+','223597.68','1','63919_10','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al20','INC','2','+','250000.00','1','63919_10','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#250000.00#@#1#@#63919_10#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-07-26# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#250000.00#@#1#@#63919_10#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al20','BF','2','+','250000.00','1','63919_10','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #10#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#250000.00#@#1#@#63919_10#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-07-26# 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','36097_SBP','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','36097_SBP','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','0.00','1','36097_SBP','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','36097_SBP','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','36097_SBP','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','36097_SBP','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','50232_177','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#15209.00#@#1#@#50232_177#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','15209.00','1','50232_177','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#15209.00#@#1#@#50232_177#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#117385.50#@#1#@#50232_177#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','117385.50','1','50232_177','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#117385.50#@#1#@#50232_177#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','50232_177','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','50232_177','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#200000.58#@#1#@#50232_177#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','200000.58','1','50232_177','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#200000.58#@#1#@#50232_177#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#250000.00#@#1#@#63919_10#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','250000.00','1','63919_10','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#250000.00#@#1#@#63919_10#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_10#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','63919_10','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63919_10#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#473597.68#@#1#@#63919_10#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','473597.68','1','63919_10','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#473597.68#@#1#@#63919_10#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_10#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63919_10#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#250000.00#@#1#@#63919_10#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','250000.00','1','63919_10','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#250000.00#@#1#@#63919_10#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_10#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63919_10#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #10# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-26','al01','INC','2','+','0.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-26','al01','DEC','2','+','0.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-26','al01','BF','2','+','5743.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-26','al20','INC','2','+','20000.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#20000.00#@#1#@#47937_1663#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-07-26# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-26','al20','DEC','2','+','0.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#20000.00#@#1#@#47937_1663#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-26','al20','BF','2','+','20000.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#20000.00#@#1#@#47937_1663#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2017-07-26# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#20000.00#@#1#@#47937_1663#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-27','al01','INC','1','+','20000.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-27','al01','DEC','1','+','21807.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-27','al01','BF','1','+','3936.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-27','al20','INC','1','+','0.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#20000.00#@#1#@#47937_1663#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-27','al20','DEC','1','+','20000.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1663','2017-07-27','al20','BF','1','+','0.00','1','47937_1663','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1642#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-07-27','al01','INC','1','+','50000.00','1','45092_1642','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1642#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1642# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1642#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1642#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1642# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1642#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#99242.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-07-27','al01','BF','1','+','99242.00','1','45092_1642','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1642#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#99242.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1642# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1642#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1642#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1642# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1642#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2017-07-27','al20','DEC','1','+','50000.00','1','45092_1642','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1642#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1642# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1642#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' 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 = '1642' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1642#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#45092_1642#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1642# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-07-27','al01','INC','1','+','0.00','1','60303_1179','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-07-27','al01','DEC','1','+','0.00','1','60303_1179','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-07-27','al01','BF','1','+','0.00','1','60303_1179','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-07-27','al20','INC','1','+','0.00','1','60303_1179','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-07-27','al20','DEC','1','+','0.00','1','60303_1179','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1179','2017-07-27','al20','BF','1','+','0.00','1','60303_1179','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','100000.00','1','64355_1346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#29297.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','29297.00','1','64355_1346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#29297.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#141155.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','141155.00','1','64355_1346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#141155.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','64355_1346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','100000.00','1','64355_1346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','64355_1346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64355_1346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','63108_1054','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','63108_1054','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#9879.62#@#1#@#63108_1054#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','9879.62','1','63108_1054','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#9879.62#@#1#@#63108_1054#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','63108_1054','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','63108_1054','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#20000.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','20000.00','1','63108_1054','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#20000.00#@#1#@#63108_1054#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','64355_1635','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','64355_1635','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#22486.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','22486.00','1','64355_1635','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#22486.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','64355_1635','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','64355_1635','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','64355_1635','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64355_1635#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1478#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1478#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1478# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1478#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1478#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1478# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1478#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#14305.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1478#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#14305.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1478# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1478#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1478#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1478# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1478#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1478#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1478# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1478#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' 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 = '1478' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1478#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60217_1478#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1478# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-26#@#al01#@#INC#@#2#@#+#@#150000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now());')

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-07-26' 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 = '1099' and close_date = '2017-07-26' 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 = '1099' and close_date = '2017-07-26' 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 ( #1099#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#105821.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-07-26# 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 ( #1099#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#90946.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now());')

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-07-26' 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 = '1099' and close_date = '2017-07-26' 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 = '1099' and close_date = '2017-07-26' 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 ( #1099#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#100000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-07-26# 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 ( #1099#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#150000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-07-26' 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 = '1099' and close_date = '2017-07-26' 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 = '1099' and close_date = '2017-07-26' 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 ( #1099#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#150000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-07-26# 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 ( #1099#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#100000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-07-26' 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 = '1099' and close_date = '2017-07-26' 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 = '1099' and close_date = '2017-07-26' 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 ( #1099#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#100000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-07-26# 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 ( #452#@#2017-07-26#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 ( #452#@#2017-07-26#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-07-26# 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 ( #452#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#18690.00#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-07-26','al01','DEC','2','+','18690.00','1','61045_452','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 ( #452#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#18690.00#@#1#@#61045_452#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-07-26# 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 ( #452#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#239696.00#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-07-26','al01','BF','2','+','239696.00','1','61045_452','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 ( #452#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#239696.00#@#1#@#61045_452#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-07-26# 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 ( #452#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#100000.00#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-07-26','al20','INC','2','+','100000.00','1','61045_452','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 ( #452#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#100000.00#@#1#@#61045_452#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-07-26# 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 ( #452#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-07-26','al20','DEC','2','+','0.00','1','61045_452','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 ( #452#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-07-26# 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 ( #452#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#100176.36#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-07-26','al20','BF','2','+','100176.36','1','61045_452','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 = '452' and close_date = '2017-07-26' 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 ( #452#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#100176.36#@#1#@#61045_452#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-07-26# 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 ( #452#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-07-27','al20','DEC','1','+','100000.00','1','61045_452','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#176.36#@#1#@#61045_452#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-07-27','al20','BF','1','+','176.36','1','61045_452','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#176.36#@#1#@#61045_452#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#50000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#50000.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#140946.00#@#1#@#60000_1099#@#p#@#2017-07-28#@now());')

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#6712.00#@#1#@#60000_1639#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#6712.00#@#1#@#60000_1639#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#40587.00#@#1#@#60000_1639#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#40587.00#@#1#@#60000_1639#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-07-28#@now());')

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60000_1639#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1639# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-28#@#al01#@#INC#@#3#@#+#@#200000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-28','al01','INC','3','+','200000.00','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-28' 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 = '1227' and close_date = '2017-02-28' 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 = '1227' and close_date = '2017-02-28' 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 ( #1227#@#2017-02-28#@#al01#@#INC#@#3#@#+#@#200000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-28# 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 ( #1227#@#2017-02-28#@#al01#@#DEC#@#3#@#+#@#63734.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-28','al01','DEC','3','+','63734.00','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-28' 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 = '1227' and close_date = '2017-02-28' 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 = '1227' and close_date = '2017-02-28' 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 ( #1227#@#2017-02-28#@#al01#@#DEC#@#3#@#+#@#63734.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-28# 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 ( #1227#@#2017-02-28#@#al01#@#BF#@#3#@#+#@#147458.01#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-28','al01','BF','3','+','147458.01','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-28' 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 = '1227' and close_date = '2017-02-28' 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 = '1227' and close_date = '2017-02-28' 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 ( #1227#@#2017-02-28#@#al01#@#BF#@#3#@#+#@#147458.01#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-28# 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 ( #1227#@#2017-02-28#@#al20#@#INC#@#3#@#+#@#600000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-28','al20','INC','3','+','600000.00','1','63663_1227','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-28','al20','DEC','3','+','200000.00','1','63663_1227','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-28','al20','BF','3','+','600000.90','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-02-28' 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 = '1227' and close_date = '2017-02-28' 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 = '1227' and close_date = '2017-02-28' 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 ( #1227#@#2017-02-28#@#al20#@#BF#@#3#@#+#@#600000.90#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-02-28# 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-07-26#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al01','INC','2','+','100000.00','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-26' 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-07-26' 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-07-26' 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-07-26#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-26# 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-07-26#@#al01#@#DEC#@#2#@#+#@#18283.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al01','DEC','2','+','18283.00','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-26' 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-07-26' 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-07-26' 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-07-26#@#al01#@#DEC#@#2#@#+#@#18283.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-26# 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-07-26#@#al01#@#BF#@#2#@#+#@#84459.01#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al01','BF','2','+','84459.01','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-26' 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-07-26' 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-07-26' 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-07-26#@#al01#@#BF#@#2#@#+#@#84459.01#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-26# 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-07-26#@#al20#@#INC#@#2#@#+#@#100000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al20','INC','2','+','100000.00','1','63663_1227','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al20','DEC','2','+','100000.00','1','63663_1227','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al20','BF','2','+','100000.90','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-26' 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-07-26' 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-07-26' 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-07-26#@#al20#@#BF#@#2#@#+#@#100000.90#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-26# 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 ( #1650#@#2017-07-26#@#al01#@#INC#@#2#@#+#@#20000.00#@#1#@#63682_1650#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-26','al01','INC','2','+','20000.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-26','al01','DEC','2','+','9988.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-26','al01','BF','2','+','29034.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-26','al20','INC','2','+','50000.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#50000.00#@#1#@#63682_1650#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-07-26# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-26','al20','DEC','2','+','0.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-26','al20','BF','2','+','50000.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#63682_1650#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-07-26# 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-07-27#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','100000.00','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#13045.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','13045.00','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#13045.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#171414.01#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','171414.01','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#171414.01#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','63663_1227','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','100000.00','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.90','1','63663_1227','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-26#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al01','INC','2','+','100000.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 ( #1216#@#2017-07-26#@#al01#@#INC#@#2#@#+#@#100000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-26# 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 ( #1216#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#77136.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al01','DEC','2','+','77136.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 ( #1216#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#77136.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-26# 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 ( #1216#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#26972.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al01','BF','2','+','26972.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 ( #1216#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#26972.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-26# 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 ( #1216#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#50000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 ( #1216#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#50000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-26# 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 ( #1216#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#100000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-26','al20','DEC','2','+','100000.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 ( #1216#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#100000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-26# 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 ( #1216#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 = '1216' and close_date = '2017-07-26' 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 ( #1216#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-26# 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 ( #1465#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP_CHC#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1465' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#63682_1650#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-27','al01','INC','1','+','50000.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-27','al01','DEC','1','+','9460.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-27','al01','BF','1','+','69574.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-27','al20','INC','1','+','0.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#63682_1650#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-27','al20','DEC','1','+','50000.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-07-27','al20','BF','1','+','0.00','1','63682_1650','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','50000.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#22654.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','22654.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#22654.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#54318.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','54318.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#54318.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','50000.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','34731_1216','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1216#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-07-26','al01','INC','2','+','0.00','1','50582_1467','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-07-26','al01','DEC','2','+','0.00','1','50582_1467','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-07-26','al01','BF','2','+','285.00','1','50582_1467','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-07-26','al20','INC','2','+','0.00','1','50582_1467','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-07-26','al20','DEC','2','+','0.00','1','50582_1467','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-07-26','al20','BF','2','+','0.00','1','50582_1467','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2017-07-27','al01','BF','1','+','285.00','1','50582_1467','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-07-27','al01','INC','1','+','0.00','1','63420_1556','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-07-27','al01','DEC','1','+','0.00','1','63420_1556','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-07-27','al01','BF','1','+','0.00','1','63420_1556','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-07-27','al20','INC','1','+','0.00','1','63420_1556','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-07-27','al20','DEC','1','+','0.00','1','63420_1556','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-07-27','al20','BF','1','+','0.00','1','63420_1556','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-07-27','al01','INC','1','+','0.00','1','60992_1667','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-07-27','al01','DEC','1','+','1938.00','1','60992_1667','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-07-27','al01','BF','1','+','24804.00','1','60992_1667','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-07-27','al20','INC','1','+','0.00','1','60992_1667','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-07-27','al20','DEC','1','+','0.00','1','60992_1667','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-07-27','al20','BF','1','+','0.00','1','60992_1667','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #476#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#300000.00#@#1#@#60118_476#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-07-27','al01','INC','1','+','300000.00','1','60118_476','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #476#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#300000.00#@#1#@#60118_476#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #476#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#132935.00#@#1#@#60118_476#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-07-27','al01','DEC','1','+','132935.00','1','60118_476','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #476#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#132935.00#@#1#@#60118_476#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #476#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#218690.00#@#1#@#60118_476#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-07-27','al01','BF','1','+','218690.00','1','60118_476','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #476#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#218690.00#@#1#@#60118_476#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #476#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60118_476#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #476#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60118_476#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #476#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#300000.00#@#1#@#60118_476#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-07-27','al20','DEC','1','+','300000.00','1','60118_476','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #476#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#300000.00#@#1#@#60118_476#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #476#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60118_476#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' 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 = '476' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #476#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60118_476#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-07-27','al01','INC','2','+','0.00','1','63484_1660','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 ( #1660#@#2017-07-27#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-07-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 ( #1660#@#2017-07-27#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-07-27','al01','DEC','2','+','0.00','1','63484_1660','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 ( #1660#@#2017-07-27#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-07-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 ( #1660#@#2017-07-27#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-07-27','al01','BF','2','+','0.00','1','63484_1660','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 ( #1660#@#2017-07-27#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-07-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 ( #1660#@#2017-07-27#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-07-27','al20','INC','2','+','0.00','1','63484_1660','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 ( #1660#@#2017-07-27#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-07-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 ( #1660#@#2017-07-27#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-07-27','al20','DEC','2','+','0.00','1','63484_1660','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 ( #1660#@#2017-07-27#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-07-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 ( #1660#@#2017-07-27#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-07-27','al20','BF','2','+','50000.00','1','63484_1660','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 = '1660' and close_date = '2017-07-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 ( #1660#@#2017-07-27#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#63484_1660#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1660# and close_date = #2017-07-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 ( #1155#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#7500.00#@#1#@#50180_1155#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-07-27','al01','INC','1','+','7500.00','1','50180_1155','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-07-27','al01','DEC','1','+','11747.00','1','50180_1155','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-07-27','al01','BF','1','+','265.00','1','50180_1155','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-07-27','al20','INC','1','+','0.00','1','50180_1155','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#7500.00#@#1#@#50180_1155#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-07-27','al20','DEC','1','+','7500.00','1','50180_1155','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-07-27','al20','BF','1','+','0.00','1','50180_1155','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','60992_1229','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','60992_1229','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','0.00','1','60992_1229','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','60992_1229','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','60992_1229','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','60992_1229','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1229#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al01#@#INC#@#3#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-25','al01','INC','3','+','80000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al01#@#DEC#@#3#@#+#@#86480.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-25','al01','DEC','3','+','86480.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al01#@#BF#@#3#@#+#@#6469.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-25','al01','BF','3','+','6469.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al20#@#INC#@#3#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-25','al20','INC','3','+','80000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al20#@#INC#@#3#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-07-25# and close_acc_book = #al20# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al20#@#DEC#@#3#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-25','al20','DEC','3','+','80000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al20#@#DEC#@#3#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-07-25# and close_acc_book = #al20# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al20#@#BF#@#3#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-25','al20','BF','3','+','80000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-25' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-25#@#al20#@#BF#@#3#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-07-25# and close_acc_book = #al20# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-26#@#al01#@#INC#@#1#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-26','al01','INC','1','+','80000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-26','al01','DEC','1','+','9545.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-26','al01','BF','1','+','76924.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-26','al20','INC','1','+','100000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-26#@#al20#@#DEC#@#1#@#+#@#80000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-26','al20','DEC','1','+','80000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-26#@#al20#@#BF#@#1#@#+#@#100000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-26','al20','BF','1','+','100000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-27','al01','INC','1','+','0.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-27','al01','DEC','1','+','0.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-27','al01','BF','1','+','76924.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-27','al20','INC','1','+','0.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-27','al20','DEC','1','+','0.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#100000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-07-27','al20','BF','1','+','100000.00','1','64058_1652','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#100000.00#@#1#@#64058_1652#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1669#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1669#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1669#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#448.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1669#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#448.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1669#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#71588.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1669#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#71588.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1669#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1669#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1669#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1669#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1669#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' 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 = '1669' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1669#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1664#@#2017-07-26#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 ( #1664#@#2017-07-26#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-26# 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 ( #1664#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 ( #1664#@#2017-07-26#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-26# 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 ( #1664#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#80083.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 ( #1664#@#2017-07-26#@#al01#@#BF#@#2#@#+#@#80083.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-26# 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 ( #1664#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#150000.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 ( #1664#@#2017-07-26#@#al20#@#INC#@#2#@#+#@#150000.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-26# 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 ( #1664#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 ( #1664#@#2017-07-26#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-26# 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 ( #1664#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#150000.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 = '1664' and close_date = '2017-07-26' 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 ( #1664#@#2017-07-26#@#al20#@#BF#@#2#@#+#@#150000.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-26# 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 ( #1664#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1664#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1664#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#1488.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1664#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#1488.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1664#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#78595.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1664#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#78595.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1664#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1664#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1664#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1664#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1664#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#150000.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' 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 = '1664' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1664#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#150000.00#@#1#@#46986_1664#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#63904_304#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','200000.00','1','63904_304','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#63904_304#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#51050.00#@#1#@#63904_304#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','51050.00','1','63904_304','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#51050.00#@#1#@#63904_304#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#161706.38#@#1#@#63904_304#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','161706.38','1','63904_304','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#161706.38#@#1#@#63904_304#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#200000.00#@#1#@#63904_304#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','200000.00','1','63904_304','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#200000.00#@#1#@#63904_304#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#63904_304#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','200000.00','1','63904_304','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#63904_304#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#60000.00#@#1#@#63904_304#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','60000.00','1','63904_304','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#60000.00#@#1#@#63904_304#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','34016_1477','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','34016_1477','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#9177.77#@#1#@#34016_1477#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','9177.77','1','34016_1477','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','34016_1477','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','34016_1477','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','34016_1477','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','100000.00','1','59346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#59346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#53489.00#@#1#@#59346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','53489.00','1','59346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#53489.00#@#1#@#59346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#163194.00#@#1#@#59346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','163194.00','1','59346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#163194.00#@#1#@#59346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#59346#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#59346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#59346#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','100000.00','1','59346','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#59346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#59346#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#59346#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#300000.00#@#1#@#36211_1659#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-07-27','al01','INC','1','+','300000.00','1','36211_1659','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-07-27','al01','DEC','1','+','301770.00','1','36211_1659','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-07-27','al01','BF','1','+','316.00','1','36211_1659','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-07-27','al20','INC','1','+','0.00','1','36211_1659','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#300000.00#@#1#@#36211_1659#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-07-27','al20','DEC','1','+','300000.00','1','36211_1659','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-07-27','al20','BF','1','+','0.00','1','36211_1659','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #9999#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #9999#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9999# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #9999#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #9999#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9999# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #9999#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#3169714.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #9999#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#3169714.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9999# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #9999#@#2017-07-27#@#al05#@#INC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'DEC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '9999' and close_date = '2017-07-27' and close_acc_book = 'al05' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #9999#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9999# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #9999#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #9999#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9999# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #9999#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#330.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' 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 = '9999' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #9999#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#330.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9999# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #9998#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9998' and close_date = '2017-07-27' 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 = '9998' and close_date = '2017-07-27' 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 = '9998' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #9998#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9998# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #9998#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9998' and close_date = '2017-07-27' 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 = '9998' and close_date = '2017-07-27' 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 = '9998' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #9998#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9998# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #9998#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#5071.00#@#1#@#bms_center#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '9998' and close_date = '2017-07-27' 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 = '9998' and close_date = '2017-07-27' 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 = '9998' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #9998#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#5071.00#@#1#@#bms_center#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #9998# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1438#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-07-27','al01','INC','1','+','0.00','1','47937_1438','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1438#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1438# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1438#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-07-27','al01','DEC','1','+','0.00','1','47937_1438','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1438#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1438# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1438#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-07-27','al01','BF','1','+','0.00','1','47937_1438','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1438#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1438# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1438#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-07-27','al20','INC','1','+','0.00','1','47937_1438','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1438#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1438# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1438#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-07-27','al20','DEC','1','+','0.00','1','47937_1438','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1438#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1438# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1438#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1438','2017-07-27','al20','BF','1','+','0.00','1','47937_1438','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' 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 = '1438' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1438#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1438#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1438# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-07-27','al01','INC','1','+','0.00','1','44345_1657','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-07-27','al01','DEC','1','+','0.00','1','44345_1657','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-07-27','al01','BF','1','+','0.00','1','44345_1657','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-07-27','al20','INC','1','+','0.00','1','44345_1657','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-07-27','al20','DEC','1','+','0.00','1','44345_1657','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-07-27','al20','BF','1','+','0.00','1','44345_1657','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','50000.00','1','59346_1637','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#50536.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','50536.00','1','59346_1637','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#50536.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#93.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','93.00','1','59346_1637','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#93.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','59346_1637','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','50000.00','1','59346_1637','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#50000.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','59346_1637','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#59346_1637#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#37000.00#@#1#@#64021_1640#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','37000.00','1','64021_1640','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#37000.00#@#1#@#64021_1640#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#1617.00#@#1#@#64021_1640#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','1617.00','1','64021_1640','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#1617.00#@#1#@#64021_1640#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#41284.05#@#1#@#64021_1640#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','41284.05','1','64021_1640','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#41284.05#@#1#@#64021_1640#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64021_1640#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','64021_1640','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','37000.00','1','64021_1640','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','64021_1640','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1640' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64021_1640#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1640# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','60436_ps','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','60436_ps','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','0.00','1','60436_ps','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','60436_ps','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','60436_ps','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','60436_ps','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','47960_1174','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','47960_1174','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','0.00','1','47960_1174','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','47960_1174','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','47960_1174','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','47960_1174','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1174' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1174#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1174# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','38781_1187','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-07-28#@now());')

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1187#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1651#@#2017-07-26#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = '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 ( #1651#@#2017-07-26#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-26# and close_acc_book = #al01# and 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 ( #1651#@#2017-07-26#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = '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 ( #1651#@#2017-07-26#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-26# and close_acc_book = #al01# and 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 ( #1651#@#2017-07-26#@#al01#@#BF#@#1#@#+#@#29317.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-07-26','al01','BF','1','+','29317.00','1','63105_1651','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' and close_acc_book = 'al01' and category = '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 ( #1651#@#2017-07-26#@#al01#@#BF#@#1#@#+#@#29317.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-26# and close_acc_book = #al01# and 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 ( #1651#@#2017-07-26#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-07-26','al20','INC','1','+','0.00','1','63105_1651','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = '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 ( #1651#@#2017-07-26#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-26# and close_acc_book = #al20# and 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 ( #1651#@#2017-07-26#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = '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 ( #1651#@#2017-07-26#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-26# and close_acc_book = #al20# and 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 ( #1651#@#2017-07-26#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-07-26','al20','BF','1','+','0.00','1','63105_1651','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' 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 = '1651' and close_date = '2017-07-26' and close_acc_book = 'al20' and category = '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 ( #1651#@#2017-07-26#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-26# and close_acc_book = #al20# and 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 ( #1651#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1651#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1651#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1651#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1651#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#29317.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-07-27','al01','BF','1','+','29317.00','1','63105_1651','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1651#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#29317.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1651#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-07-27','al20','INC','1','+','0.00','1','63105_1651','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1651#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1651#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1651#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1651#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1651','2017-07-27','al20','BF','1','+','0.00','1','63105_1651','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' 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 = '1651' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1651#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34598_1421#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','1','+','0.00','1','34598_1421','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34598_1421#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34598_1421#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','1','+','0.00','1','34598_1421','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al01' and category = '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-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34598_1421#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-07-27# and close_acc_book = #al01# and 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-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34598_1421#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','1','+','0.00','1','34598_1421','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','1','+','0.00','1','34598_1421','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','1','+','0.00','1','34598_1421','p','2017-07-28',now());

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

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','1','+','0.00','1','34598_1421','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2017-07-27' 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-07-27' 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-07-27' and close_acc_book = 'al20' and category = '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-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34598_1421#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1670#@#2017-07-24#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-24','al01','INC','2','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 ( #1670#@#2017-07-24#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-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 ( #1670#@#2017-07-24#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-24','al01','DEC','2','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 ( #1670#@#2017-07-24#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-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 ( #1670#@#2017-07-24#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-24','al01','BF','2','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 ( #1670#@#2017-07-24#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-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 ( #1670#@#2017-07-24#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-24','al20','INC','2','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 ( #1670#@#2017-07-24#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-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 ( #1670#@#2017-07-24#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-24','al20','DEC','2','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 ( #1670#@#2017-07-24#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-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 ( #1670#@#2017-07-24#@#al20#@#BF#@#2#@#+#@#30000.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-24','al20','BF','2','+','30000.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 = '1670' and close_date = '2017-07-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 ( #1670#@#2017-07-24#@#al20#@#BF#@#2#@#+#@#30000.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-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 ( #1670#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-27','al01','INC','1','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1670#@#2017-07-27#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1670#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-27','al01','DEC','1','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1670#@#2017-07-27#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1670#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-27','al01','BF','1','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = '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 ( #1670#@#2017-07-27#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-27# and close_acc_book = #al01# and 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 ( #1670#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-27','al20','INC','1','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1670#@#2017-07-27#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1670#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-27','al20','DEC','1','+','0.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1670#@#2017-07-27#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-27# and close_acc_book = #al20# and 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 ( #1670#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#30000.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1670','2017-07-27','al20','BF','1','+','30000.00','1','64492_1670','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' 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 = '1670' and close_date = '2017-07-27' and close_acc_book = 'al20' and category = '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 ( #1670#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#30000.00#@#1#@#64492_1670#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1670# and close_date = #2017-07-27# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-07-27' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-07-27#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-07-27# and close_acc_book = #al20# and 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-07-27#@#al01#@#INC#@#2#@#+#@#200000.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-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 = '1351' and close_date = '2017-07-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 = '1351' and close_date = '2017-07-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 ( #1351#@#2017-07-27#@#al01#@#INC#@#2#@#+#@#200000.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-07-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 ( #1351#@#2017-07-27#@#al01#@#DEC#@#2#@#+#@#11349.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-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 = '1351' and close_date = '2017-07-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 = '1351' and close_date = '2017-07-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 ( #1351#@#2017-07-27#@#al01#@#DEC#@#2#@#+#@#11349.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-07-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 ( #1351#@#2017-07-27#@#al01#@#BF#@#2#@#+#@#445116.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now());')

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-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 = '1647' and close_date = '2017-07-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 = '1647' and close_date = '2017-07-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 ( #1647#@#2017-07-27#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-07-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 ( #1647#@#2017-07-27#@#al01#@#DEC#@#2#@#+#@#70306.00#@#1#@#47875_1647#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-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 = '1647' and close_date = '2017-07-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 = '1647' and close_date = '2017-07-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 ( #1647#@#2017-07-27#@#al01#@#DEC#@#2#@#+#@#70306.00#@#1#@#47875_1647#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-07-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 ( #1647#@#2017-07-27#@#al01#@#BF#@#2#@#+#@#67273.00#@#1#@#47875_1647#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-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 = '1647' and close_date = '2017-07-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 = '1647' and close_date = '2017-07-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 ( #1647#@#2017-07-27#@#al01#@#BF#@#2#@#+#@#67273.00#@#1#@#47875_1647#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-07-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 ( #1647#@#2017-07-27#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-07-28#@now());')

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-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 = '1647' and close_date = '2017-07-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 = '1647' and close_date = '2017-07-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 ( #1647#@#2017-07-27#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47875_1647#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1647# and close_date = #2017-07-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 ( #1647#@#2017-07-28#@#al01#@#INC#@#1#@#+#@#380000.00#@#1#@#47875_1647#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1647' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2017-07-28','al20','BF','1','+','50000.00','1','63484_1660','p','2017-07-28',now());

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-07-28','al01','BF','1','+','210.00','1','63484_1605','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-07-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 = '1605' and close_date = '2017-07-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 = '1605' and close_date = '2017-07-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 ( #1605#@#2017-07-28#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-07-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 ( #1605#@#2017-07-28#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-07-28#@now());')

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

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-07-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 = '1605' and close_date = '2017-07-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 = '1605' and close_date = '2017-07-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 ( #1605#@#2017-07-28#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-07-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 ( #1605#@#2017-07-28#@#al01#@#BF#@#2#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2017-07-28','al01','BF','2','+','210.00','1','63484_1605','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2017-07-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 = '1605' and close_date = '2017-07-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 = '1605' and close_date = '2017-07-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 ( #1605#@#2017-07-28#@#al01#@#BF#@#2#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2017-07-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 ( #1605#@#2017-07-28#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2017-07-28#@now());')

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al01#@#DEC#@#1#@#+#@#116007.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al01','DEC','1','+','116007.00','1','47875_1351','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al01#@#DEC#@#1#@#+#@#116007.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al01#@#BF#@#1#@#+#@#329109.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al01','BF','1','+','329109.00','1','47875_1351','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al01#@#BF#@#1#@#+#@#329109.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al20','INC','1','+','0.00','1','47875_1351','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-07-28# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al20','DEC','1','+','0.00','1','47875_1351','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-07-28# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al20','BF','1','+','0.00','1','47875_1351','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2017-07-28#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47875_1351#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1351# and close_date = #2017-07-28# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al01','INC','1','+','0.00','1','63957_1523','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al01#@#DEC#@#1#@#+#@#10181.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al01','DEC','1','+','10181.00','1','63957_1523','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al01#@#DEC#@#1#@#+#@#10181.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al01#@#BF#@#1#@#+#@#134428.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al01','BF','1','+','134428.00','1','63957_1523','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al01#@#BF#@#1#@#+#@#134428.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al20','INC','1','+','0.00','1','63957_1523','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-07-28# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al20','DEC','1','+','0.00','1','63957_1523','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-07-28# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al20','BF','1','+','0.00','1','63957_1523','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2017-07-28' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1523#@#2017-07-28#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63957_1523#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1523# and close_date = #2017-07-28# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-07-27#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','INC','2','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 ( #1115#@#2017-07-27#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-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 ( #1115#@#2017-07-27#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','DEC','2','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 ( #1115#@#2017-07-27#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-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 ( #1115#@#2017-07-27#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al01','BF','2','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 ( #1115#@#2017-07-27#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-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 ( #1115#@#2017-07-27#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','INC','2','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 ( #1115#@#2017-07-27#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-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 ( #1115#@#2017-07-27#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','DEC','2','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 ( #1115#@#2017-07-27#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-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 ( #1115#@#2017-07-27#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-27','al20','BF','2','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 = '1115' and close_date = '2017-07-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 ( #1115#@#2017-07-27#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-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 ( #1115#@#2017-07-28#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al01','INC','1','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-07-28#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-07-28#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al01','DEC','1','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-07-28#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-07-28#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-07-28','al01','BF','1','+','0.00','1','49692_1115','p','2017-07-28',now());

select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1115' and close_date = '2017-07-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1115#@#2017-07-28#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#49692_1115#@#p#@#2017-07-28#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1115# and close_date = #2017-07-28# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

#STOP # Total Record = 500
Select==> SELECT * FROM al_com_close_arrear WHERE log_status in ('e','a','r') limit 0,500

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #622#@#2013-09-20#@#1#@#1799489.00#@#0.00#@#0.00#@#1#@#52299#@#p#@#2013-09-22#@now());')

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '622','2013-09-20','1','1799489.00','0.00','0.00','1','52299','p','2013-09-22',now());

select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('UPDATESEARCH', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #622#@#2013-09-20#@#1#@#1799489.00#@#0.00#@#0.00#@#1#@#52299#@#p#@#2013-09-22#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #622# and close_date = #2013-09-20# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-04#@#1#@#38592022.00#@#441883.90#@#715561.11#@#1#@#55870_1247#@#p#@#2013-10-05#@now());')

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','1','38592022.00','441883.90','715561.11','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('UPDATESEARCH', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-04#@#1#@#38592022.00#@#441883.90#@#715561.11#@#1#@#55870_1247#@#p#@#2013-10-05#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1247# and close_date = #2013-10-04# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-09-17#@#2#@#241990709.00#@#0.00#@#0.00#@#1#@#65546_1243#@#p#@#2018-09-18#@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 ( '1243','2018-09-17','2','241990709.00','0.00','0.00','1','65546_1243','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1243' and close_date = '2018-09-17' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1243' and close_date = '2018-09-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2018-09-17' 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 ( #1243#@#2018-09-17#@#2#@#241990709.00#@#0.00#@#0.00#@#1#@#65546_1243#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-09-17# 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 ( #1663#@#2018-09-16#@#2#@#59433448.31#@#-499817.27#@#0.00#@#1#@#47937_1663#@#p#@#2018-09-18#@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 ( '1663','2018-09-16','2','59433448.31','-499817.27','0.00','1','47937_1663','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1663' and close_date = '2018-09-16' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1663' and close_date = '2018-09-16' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2018-09-16' 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 ( #1663#@#2018-09-16#@#2#@#59433448.31#@#-499817.27#@#0.00#@#1#@#47937_1663#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1663# and close_date = #2018-09-16# 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 ( #1663#@#2018-09-17#@#1#@#59629489.31#@#-499817.27#@#0.00#@#1#@#47937_1663#@#p#@#2018-09-18#@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 ( '1663','2018-09-17','1','59629489.31','-499817.27','0.00','1','47937_1663','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1663' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1663' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2018-09-17' 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 ( #1663#@#2018-09-17#@#1#@#59629489.31#@#-499817.27#@#0.00#@#1#@#47937_1663#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1663# and close_date = #2018-09-17# 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 ( #1351#@#2018-09-17#@#1#@#133955704.91#@#1722165.24#@#0.00#@#1#@#65548_1351#@#p#@#2018-09-18#@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 ( '1351','2018-09-17','1','133955704.91','1722165.24','0.00','1','65548_1351','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1351' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1351' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2018-09-17' 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 ( #1351#@#2018-09-17#@#1#@#133955704.91#@#1722165.24#@#0.00#@#1#@#65548_1351#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1351# and close_date = #2018-09-17# 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 ( #1058#@#2018-09-13#@#2#@#143766719.00#@#578969.20#@#-14327.70#@#1#@#65272_1058#@#p#@#2018-09-18#@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 ( '1058','2018-09-13','2','143766719.00','578969.20','-14327.70','1','65272_1058','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1058' and close_date = '2018-09-13' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1058' and close_date = '2018-09-13' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2018-09-13' 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 ( #1058#@#2018-09-13#@#2#@#143766719.00#@#578969.20#@#-14327.70#@#1#@#65272_1058#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1058# and close_date = #2018-09-13# and seq_arrear = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-09-17#@#1#@#71572962.29#@#7523.85#@#-22866.08#@#1#@#63420_1421#@#p#@#2018-09-18#@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 ( '1421','2018-09-17','1','71572962.29','7523.85','-22866.08','1','63420_1421','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1421' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1421' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1421' and close_date = '2018-09-17' 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 ( #1421#@#2018-09-17#@#1#@#71572962.29#@#7523.85#@#-22866.08#@#1#@#63420_1421#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1421# and close_date = #2018-09-17# 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 ( #1058#@#2018-09-17#@#1#@#144285362.00#@#578969.20#@#-14327.70#@#1#@#65272_1058#@#p#@#2018-09-18#@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 ( '1058','2018-09-17','1','144285362.00','578969.20','-14327.70','1','65272_1058','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1058' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1058' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2018-09-17' 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 ( #1058#@#2018-09-17#@#1#@#144285362.00#@#578969.20#@#-14327.70#@#1#@#65272_1058#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1058# and close_date = #2018-09-17# 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 ( #1556#@#2018-09-17#@#1#@#13184135.00#@#185027.20#@#-126391.45#@#1#@#63420_1556#@#p#@#2018-09-18#@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 ( '1556','2018-09-17','1','13184135.00','185027.20','-126391.45','1','63420_1556','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1556' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1556' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2018-09-17' 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 ( #1556#@#2018-09-17#@#1#@#13184135.00#@#185027.20#@#-126391.45#@#1#@#63420_1556#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1556# and close_date = #2018-09-17# 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 ( #1174#@#2018-09-17#@#2#@#186533327.40#@#0.00#@#0.00#@#1#@#65544_1174#@#p#@#2018-09-18#@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 ( '1174','2018-09-17','2','186533327.40','0.00','0.00','1','65544_1174','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1174' and close_date = '2018-09-17' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1174' and close_date = '2018-09-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1174' and close_date = '2018-09-17' 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 ( #1174#@#2018-09-17#@#2#@#186533327.40#@#0.00#@#0.00#@#1#@#65544_1174#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1174# and close_date = #2018-09-17# 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 ( #1358#@#2018-09-17#@#1#@#697457.00#@#0.00#@#0.00#@#1#@#65548_1358#@#p#@#2018-09-18#@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 ( '1358','2018-09-17','1','697457.00','0.00','0.00','1','65548_1358','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1358' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1358' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1358' and close_date = '2018-09-17' 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 ( #1358#@#2018-09-17#@#1#@#697457.00#@#0.00#@#0.00#@#1#@#65548_1358#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1358# and close_date = #2018-09-17# 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 ( #1771#@#2018-09-17#@#1#@#197523.00#@#0.00#@#0.00#@#1#@#55304_1771#@#p#@#2018-09-18#@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 ( '1771','2018-09-17','1','197523.00','0.00','0.00','1','55304_1771','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1771' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1771' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1771' and close_date = '2018-09-17' 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 ( #1771#@#2018-09-17#@#1#@#197523.00#@#0.00#@#0.00#@#1#@#55304_1771#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1771# and close_date = #2018-09-17# 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 ( #10#@#2018-09-17#@#2#@#38659561.00#@#32973.60#@#0.00#@#1#@#60000_10#@#p#@#2018-09-18#@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 ( '10','2018-09-17','2','38659561.00','32973.60','0.00','1','60000_10','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '10' and close_date = '2018-09-17' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '10' and close_date = '2018-09-17' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '10' and close_date = '2018-09-17' 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 ( #10#@#2018-09-17#@#2#@#38659561.00#@#32973.60#@#0.00#@#1#@#60000_10#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #10# and close_date = #2018-09-17# 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 ( #177#@#2018-09-17#@#1#@#35513805.00#@#208784.85#@#0.00#@#1#@#38781_177#@#p#@#2018-09-18#@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 ( '177','2018-09-17','1','35513805.00','208784.85','0.00','1','38781_177','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '177' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '177' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-09-17' 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 ( #177#@#2018-09-17#@#1#@#35513805.00#@#208784.85#@#0.00#@#1#@#38781_177#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-09-17# 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 ( #1232#@#2018-09-17#@#1#@#127319485.00#@#107591.00#@#-24571.54#@#1#@#65520_1232#@#p#@#2018-09-18#@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 ( '1232','2018-09-17','1','127319485.00','107591.00','-24571.54','1','65520_1232','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1232' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1232' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2018-09-17' 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 ( #1232#@#2018-09-17#@#1#@#127319485.00#@#107591.00#@#-24571.54#@#1#@#65520_1232#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1232# and close_date = #2018-09-17# 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 ( #1664#@#2018-09-17#@#1#@#62460468.43#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2018-09-18#@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 ( '1664','2018-09-17','1','62460468.43','0.00','0.00','1','46986_1664','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1664' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1664' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2018-09-17' 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 ( #1664#@#2018-09-17#@#1#@#62460468.43#@#0.00#@#0.00#@#1#@#46986_1664#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1664# and close_date = #2018-09-17# 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 ( #1227#@#2018-09-17#@#1#@#32974139.00#@#308699.65#@#52772.25#@#1#@#64058_1227#@#p#@#2018-09-18#@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 ( '1227','2018-09-17','1','32974139.00','308699.65','52772.25','1','64058_1227','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1227' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1227' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-09-17' 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 ( #1227#@#2018-09-17#@#1#@#32974139.00#@#308699.65#@#52772.25#@#1#@#64058_1227#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-09-17# 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 ( #1425#@#2018-09-17#@#1#@#11207934.11#@#0.00#@#0.00#@#1#@#65520_1425#@#p#@#2018-09-18#@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 ( '1425','2018-09-17','1','11207934.11','0.00','0.00','1','65520_1425','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1425' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1425' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-09-17' 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 ( #1425#@#2018-09-17#@#1#@#11207934.11#@#0.00#@#0.00#@#1#@#65520_1425#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-09-17# 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 ( #1635#@#2018-09-17#@#1#@#4151917.00#@#0.00#@#0.00#@#1#@#65521_1635#@#p#@#2018-09-18#@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 ( '1635','2018-09-17','1','4151917.00','0.00','0.00','1','65521_1635','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1635' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1635' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2018-09-17' 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 ( #1635#@#2018-09-17#@#1#@#4151917.00#@#0.00#@#0.00#@#1#@#65521_1635#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1635# and close_date = #2018-09-17# 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 ( #1346#@#2018-09-17#@#1#@#93722889.00#@#148690.13#@#-6171.21#@#1#@#65521_1346#@#p#@#2018-09-18#@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 ( '1346','2018-09-17','1','93722889.00','148690.13','-6171.21','1','65521_1346','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1346' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1346' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2018-09-17' 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 ( #1346#@#2018-09-17#@#1#@#93722889.00#@#148690.13#@#-6171.21#@#1#@#65521_1346#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1346# and close_date = #2018-09-17# 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 ( #1637#@#2018-09-17#@#1#@#7463827.00#@#0.00#@#0.00#@#1#@#34300_1637#@#p#@#2018-09-18#@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 ( '1637','2018-09-17','1','7463827.00','0.00','0.00','1','34300_1637','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1637' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1637' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1637' and close_date = '2018-09-17' 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 ( #1637#@#2018-09-17#@#1#@#7463827.00#@#0.00#@#0.00#@#1#@#34300_1637#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1637# and close_date = #2018-09-17# 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 ( #1155#@#2018-09-17#@#1#@#151776.00#@#0.00#@#0.00#@#1#@#65545_1155#@#p#@#2018-09-18#@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 ( '1155','2018-09-17','1','151776.00','0.00','0.00','1','65545_1155','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1155' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1155' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2018-09-17' 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 ( #1155#@#2018-09-17#@#1#@#151776.00#@#0.00#@#0.00#@#1#@#65545_1155#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1155# and close_date = #2018-09-17# 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 ( #1659#@#2018-09-17#@#1#@#35128098.82#@#2509908.05#@#0.00#@#1#@#36211_1659#@#p#@#2018-09-18#@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 ( '1659','2018-09-17','1','35128098.82','2509908.05','0.00','1','36211_1659','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1659' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1659' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2018-09-17' 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 ( #1659#@#2018-09-17#@#1#@#35128098.82#@#2509908.05#@#0.00#@#1#@#36211_1659#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1659# and close_date = #2018-09-17# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1760#@#2018-09-17#@#1#@#1714317.00#@#0.00#@#0.00#@#1#@#31997_1760#@#p#@#2018-09-18#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1760','2018-09-17','1','1714317.00','0.00','0.00','1','31997_1760','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1760' and close_date = '2018-09-17' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1760#@#2018-09-17#@#1#@#1714317.00#@#0.00#@#0.00#@#1#@#31997_1760#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1760# and close_date = #2018-09-17# 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-09-17#@#1#@#53830616.00#@#209568.20#@#-2267.00#@#1#@#65522_1162#@#p#@#2018-09-18#@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-09-17','1','53830616.00','209568.20','-2267.00','1','65522_1162','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '1162' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1162' and close_date = '2018-09-17' 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-09-17' 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-09-17#@#1#@#53830616.00#@#209568.20#@#-2267.00#@#1#@#65522_1162#@#p#@#2018-09-18#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1162# and close_date = #2018-09-17# 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 ( #476#@#2018-09-17#@#1#@#114793167.00#@#387796.80#@#1351.00#@#1#@#65547_476#@#p#@#2018-09-18#@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 ( '476','2018-09-17','1','114793167.00','387796.80','1351.00','1','65547_476','p','2018-09-18',now());

select * from al_com_close_arrear WHERE branch_id = '476' and close_date = '2018-09-17' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '476' and close_date = '2018-09-17' and seq_arrear = '1'

Qu