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 ( #1058#@#2017-09-10#@#al20#@#BF#@#2#@#+#@#50000.00#@#1#@#51111_1058#@#p#@#2017-09-11#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1694','2017-09-10','al01','BF','1','+','35224.00','1','63887_1694','p','2017-09-11',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-09-10','al01','DEC','2','+','126743.00','1','52898_10','p','2017-09-11',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-09-10','al01','BF','2','+','139843.28','1','52898_10','p','2017-09-11',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-09-11','al01','DEC','1','+','67072.00','1','52898_10','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2017-09-11','al01','BF','1','+','72771.28','1','52898_10','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1677','2017-09-11','al01','DEC','1','+','3188.00','1','63919_1677','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1677','2017-09-11','al01','BF','1','+','33766.00','1','63919_1677','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 ( #1686#@#2017-09-08#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-09-08# 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 ( #1686#@#2017-09-08#@#al01#@#DEC#@#3#@#+#@#18812.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1686','2017-09-08','al01','DEC','3','+','18812.00','1','34731_1686','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 ( #1686#@#2017-09-08#@#al01#@#DEC#@#3#@#+#@#18812.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-09-08# 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 ( #1686#@#2017-09-08#@#al01#@#BF#@#3#@#+#@#7337.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1686','2017-09-08','al01','BF','3','+','7337.00','1','34731_1686','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 ( #1686#@#2017-09-08#@#al01#@#BF#@#3#@#+#@#7337.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-09-08# 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 ( #1686#@#2017-09-08#@#al20#@#INC#@#3#@#+#@#50000.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1686','2017-09-08','al20','INC','3','+','50000.00','1','34731_1686','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 ( #1686#@#2017-09-08#@#al20#@#INC#@#3#@#+#@#50000.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-09-08# 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 ( #1686#@#2017-09-08#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now());')

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

select * from al_com_close_account WHERE branch_id = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 ( #1686#@#2017-09-08#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-09-08# 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 ( #1686#@#2017-09-08#@#al20#@#BF#@#3#@#+#@#50000.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1686','2017-09-08','al20','BF','3','+','50000.00','1','34731_1686','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 = '1686' and close_date = '2017-09-08' 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 ( #1686#@#2017-09-08#@#al20#@#BF#@#3#@#+#@#50000.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-09-08# 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 ( #1686#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1686#@#p#@#2017-09-11#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1604' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1604' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1604' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2017-09-10','al01','INC','2','+','0.00','1','63919_1384','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 ( #1384#@#2017-09-10#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-10# 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 ( #1384#@#2017-09-10#@#al01#@#DEC#@#2#@#+#@#98955.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2017-09-10','al01','DEC','2','+','98955.00','1','63919_1384','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 ( #1384#@#2017-09-10#@#al01#@#DEC#@#2#@#+#@#98955.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-10# 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 ( #1384#@#2017-09-10#@#al01#@#BF#@#2#@#+#@#1045.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2017-09-10','al01','BF','2','+','1045.00','1','63919_1384','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 ( #1384#@#2017-09-10#@#al01#@#BF#@#2#@#+#@#1045.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-10# 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 ( #1384#@#2017-09-10#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2017-09-10','al20','INC','2','+','0.00','1','63919_1384','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 ( #1384#@#2017-09-10#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-10# 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 ( #1384#@#2017-09-10#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2017-09-10','al20','DEC','2','+','0.00','1','63919_1384','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 ( #1384#@#2017-09-10#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-10# 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 ( #1384#@#2017-09-10#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2017-09-10','al20','BF','2','+','0.00','1','63919_1384','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 = '1384' and close_date = '2017-09-10' 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 ( #1384#@#2017-09-10#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1384# and close_date = #2017-09-10# 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 ( #1384#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63919_1384#@#p#@#2017-09-11#@now());')

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1384','2017-09-11','al01','BF','1','+','1045.00','1','63919_1384','p','2017-09-11',now());

select * from al_com_close_account WHERE branch_id = '1384' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1363','2017-09-11','al01','BF','1','+','55955.00','1','62364_1363','p','2017-09-12',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1218' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-09-10','al01','INC','2','+','0.00','1','50232_177','p','2017-09-12',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-09-10','al01','DEC','2','+','0.00','1','50232_177','p','2017-09-12',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-09-10','al01','BF','2','+','951.30','1','50232_177','p','2017-09-12',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-09-10','al20','INC','2','+','0.00','1','50232_177','p','2017-09-12',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-09-10','al20','DEC','2','+','0.00','1','50232_177','p','2017-09-12',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-09-10','al20','BF','2','+','0.58','1','50232_177','p','2017-09-12',now());

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2017-09-10#@#al20#@#BF#@#2#@#+#@#0.58#@#1#@#50232_177#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2017-09-10# 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 ( #1659#@#2017-09-09#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now());')

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-09' 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 = '1659' and close_date = '2017-09-09' 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 = '1659' and close_date = '2017-09-09' 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 ( #1659#@#2017-09-09#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-09# 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 ( #1659#@#2017-09-09#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now());')

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-09' 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 = '1659' and close_date = '2017-09-09' 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 = '1659' and close_date = '2017-09-09' 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 ( #1659#@#2017-09-09#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-09# 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 ( #1659#@#2017-09-09#@#al01#@#BF#@#2#@#+#@#153437.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now());')

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-09' 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 = '1659' and close_date = '2017-09-09' 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 = '1659' and close_date = '2017-09-09' 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 ( #1659#@#2017-09-09#@#al01#@#BF#@#2#@#+#@#153437.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-09# 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 ( #1659#@#2017-09-09#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now());')

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-09' 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 = '1659' and close_date = '2017-09-09' 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 = '1659' and close_date = '2017-09-09' 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 ( #1659#@#2017-09-09#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-09-09# 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 ( #1659#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2017-09-12#@now());')

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

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-09-11','al01','DEC','1','+','62178.00','1','36211_1659','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1659','2017-09-11','al01','BF','1','+','1832.00','1','36211_1659','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-09-11','al01','BF','1','+','951.30','1','50232_177','p','2017-09-12',now());

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '177','2017-09-11','al20','BF','1','+','0.58','1','50232_177','p','2017-09-12',now());

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1695','2017-09-11','al01','BF','1','+','0.00','1','45092_1695','p','2017-09-12',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-09-10','al01','DEC','2','+','77159.00','1','60000_1099','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-10' 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-09-10' 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-09-10' 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-09-10#@#al01#@#DEC#@#2#@#+#@#77159.00#@#1#@#60000_1099#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1099# and close_date = #2017-09-10# 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-09-10#@#al01#@#BF#@#2#@#+#@#4165.00#@#1#@#60000_1099#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-09-10','al01','BF','2','+','4165.00','1','60000_1099','p','2017-09-12',now());

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2017-09-11','al01','BF','1','+','4165.00','1','60000_1099','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-10','al01','BF','2','+','16592.00','1','60000_1639','p','2017-09-12',now());

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-09-11','al01','DEC','1','+','381.00','1','63108_1054','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1054','2017-09-11','al01','BF','1','+','69236.62','1','63108_1054','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1639','2017-09-11','al01','BF','1','+','16592.00','1','60000_1639','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1639' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1232#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#3172.09#@#1#@#60436_1232#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-09-11','al01','BF','1','+','3172.09','1','60436_1232','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#3172.09#@#1#@#60436_1232#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1232#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-09-11','al20','INC','1','+','0.00','1','60436_1232','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1232#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1232#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-09-11','al20','DEC','1','+','0.00','1','60436_1232','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1232#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.99#@#1#@#60436_1232#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2017-09-11','al20','BF','1','+','0.99','1','60436_1232','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.99#@#1#@#60436_1232#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1232# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-09-11','al01','INC','1','+','0.00','1','60992_1667','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-09-11','al01','DEC','1','+','0.00','1','60992_1667','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#39.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-09-11','al01','BF','1','+','39.00','1','60992_1667','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#39.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-09-11','al20','INC','1','+','0.00','1','60992_1667','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-09-11','al20','DEC','1','+','0.00','1','60992_1667','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1667','2017-09-11','al20','BF','1','+','0.00','1','60992_1667','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#30000.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1685','2017-09-11','al01','INC','1','+','30000.00','1','60992_1685','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#30000.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#28270.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1685','2017-09-11','al01','DEC','1','+','28270.00','1','60992_1685','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#28270.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#2171.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1685','2017-09-11','al01','BF','1','+','2171.00','1','60992_1685','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#2171.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1685','2017-09-11','al20','INC','1','+','0.00','1','60992_1685','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#30000.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1685','2017-09-11','al20','DEC','1','+','30000.00','1','60992_1685','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#30000.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1685','2017-09-11','al20','BF','1','+','0.00','1','60992_1685','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' 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 = '1685' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-09-11','al01','INC','1','+','0.00','1','36717_1662','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-09-11','al01','DEC','1','+','0.00','1','36717_1662','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#104655.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-09-11','al01','BF','1','+','104655.00','1','36717_1662','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#104655.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-09-11','al20','INC','1','+','0.00','1','36717_1662','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-09-11','al20','DEC','1','+','0.00','1','36717_1662','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1662','2017-09-11','al20','BF','1','+','0.00','1','36717_1662','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36717_1662#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1702','2017-09-11','al01','INC','1','+','0.00','1','36097_1702','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1702# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1702','2017-09-11','al01','DEC','1','+','0.00','1','36097_1702','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1702# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1702','2017-09-11','al01','BF','1','+','0.00','1','36097_1702','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1702# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1702','2017-09-11','al20','INC','1','+','0.00','1','36097_1702','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1702# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1702','2017-09-11','al20','DEC','1','+','0.00','1','36097_1702','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1702# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1702','2017-09-11','al20','BF','1','+','0.00','1','36097_1702','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' 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 = '1702' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1702#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_1702#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1702# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#56342_1227#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-11','al01','INC','1','+','50000.00','1','56342_1227','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#50000.00#@#1#@#56342_1227#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#48340.00#@#1#@#56342_1227#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-11','al01','DEC','1','+','48340.00','1','56342_1227','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#48340.00#@#1#@#56342_1227#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#2134.01#@#1#@#56342_1227#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-11','al01','BF','1','+','2134.01','1','56342_1227','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#2134.01#@#1#@#56342_1227#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56342_1227#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-11','al20','INC','1','+','0.00','1','56342_1227','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56342_1227#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#70000.00#@#1#@#56342_1227#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-11','al20','DEC','1','+','70000.00','1','56342_1227','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#70000.00#@#1#@#56342_1227#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.90#@#1#@#56342_1227#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1227','2017-09-11','al20','BF','1','+','0.90','1','56342_1227','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.90#@#1#@#56342_1227#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1269','2017-09-11','al01','INC','1','+','0.00','1','63663_1269','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#2886.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1269','2017-09-11','al01','DEC','1','+','2886.00','1','63663_1269','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#2886.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#7658.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1269','2017-09-11','al01','BF','1','+','7658.00','1','63663_1269','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#7658.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1269','2017-09-11','al20','INC','1','+','0.00','1','63663_1269','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1269','2017-09-11','al20','DEC','1','+','0.00','1','63663_1269','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1269','2017-09-11','al20','BF','1','+','0.00','1','63663_1269','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' 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 = '1269' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-09-11','al01','INC','1','+','0.00','1','34731_1634','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#22349.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-09-11','al01','DEC','1','+','22349.00','1','34731_1634','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#22349.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#2364.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-09-11','al01','BF','1','+','2364.00','1','34731_1634','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#2364.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-09-11','al20','INC','1','+','0.00','1','34731_1634','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-09-11','al20','DEC','1','+','0.00','1','34731_1634','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-09-11','al20','BF','1','+','0.00','1','34731_1634','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34731_1634#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-11','al01','INC','1','+','150000.00','1','63663_1681','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-11','al01','DEC','1','+','0.00','1','63663_1681','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#150000.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-11','al01','BF','1','+','150000.00','1','63663_1681','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#150000.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-11','al20','INC','1','+','0.00','1','63663_1681','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-11','al20','DEC','1','+','150000.00','1','63663_1681','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1681','2017-09-11','al20','BF','1','+','0.00','1','63663_1681','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' 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 = '1681' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al01#@#INC#@#2#@#+#@#200000.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-07','al01','INC','2','+','200000.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al01#@#INC#@#2#@#+#@#200000.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-07# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al01#@#DEC#@#2#@#+#@#76423.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-07','al01','DEC','2','+','76423.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al01#@#DEC#@#2#@#+#@#76423.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al01#@#BF#@#2#@#+#@#123644.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-07','al01','BF','2','+','123644.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al01#@#BF#@#2#@#+#@#123644.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-07# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-10#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-10','al01','INC','2','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 ( #1641#@#2017-09-10#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-10# 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-09-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-07','al20','INC','2','+','0.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-07# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-10#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-10','al01','DEC','2','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 ( #1641#@#2017-09-10#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-10# 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-09-07#@#al20#@#DEC#@#2#@#+#@#200000.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-07','al20','DEC','2','+','200000.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al20#@#DEC#@#2#@#+#@#200000.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-07# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-10#@#al01#@#BF#@#2#@#+#@#80.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-10','al01','BF','2','+','80.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 ( #1641#@#2017-09-10#@#al01#@#BF#@#2#@#+#@#80.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-10# 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-09-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-07','al20','BF','2','+','0.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-07#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-07# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-10#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-10','al20','INC','2','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 ( #1641#@#2017-09-10#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-10# 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 ( #1641#@#2017-09-10#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-10','al20','DEC','2','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 ( #1641#@#2017-09-10#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-10# 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 ( #1641#@#2017-09-10#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-10','al20','BF','2','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 = '1641' and close_date = '2017-09-10' 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 ( #1641#@#2017-09-10#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-10# 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 ( #1641#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-11','al01','INC','1','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-11','al01','DEC','1','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#80.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-11','al01','BF','1','+','80.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#80.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-11','al20','INC','1','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-11','al20','DEC','1','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1641','2017-09-11','al20','BF','1','+','0.00','1','47960_1641','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' 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 = '1641' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-11','al01','INC','1','+','0.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#44631.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-11','al01','DEC','1','+','44631.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#44631.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#188.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-11','al01','BF','1','+','188.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#188.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-11','al20','INC','1','+','0.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-11','al20','DEC','1','+','0.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1664','2017-09-11','al20','BF','1','+','0.00','1','46986_1664','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-09-11','al01','INC','1','+','0.00','1','44345_1657','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-09-11','al01','DEC','1','+','0.00','1','44345_1657','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-09-11','al01','BF','1','+','0.00','1','44345_1657','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-09-11','al20','INC','1','+','0.00','1','44345_1657','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-09-11','al20','DEC','1','+','0.00','1','44345_1657','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1657','2017-09-11','al20','BF','1','+','0.00','1','44345_1657','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#44345_1657#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#10000.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-09-11','al01','INC','1','+','10000.00','1','60118_1673','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#10000.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1673# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#6559.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-09-11','al01','DEC','1','+','6559.00','1','60118_1673','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#6559.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1673# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#9799.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-09-11','al01','BF','1','+','9799.00','1','60118_1673','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#9799.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1673# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-09-11','al20','INC','1','+','0.00','1','60118_1673','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1673# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#10000.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-09-11','al20','DEC','1','+','10000.00','1','60118_1673','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#10000.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1673# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1673','2017-09-11','al20','BF','1','+','0.00','1','60118_1673','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' 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 = '1673' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1673#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60118_1673#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1673# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-11','al01','INC','1','+','0.00','1','64585_1187','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-11','al01','DEC','1','+','0.00','1','64585_1187','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-11','al01','BF','1','+','0.00','1','64585_1187','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-11','al20','INC','1','+','0.00','1','64585_1187','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-11','al20','DEC','1','+','0.00','1','64585_1187','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1187','2017-09-11','al20','BF','1','+','0.00','1','64585_1187','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-11','al01','INC','1','+','0.00','1','56913_1637','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-11','al01','DEC','1','+','0.00','1','56913_1637','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#41.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-11','al01','BF','1','+','41.00','1','56913_1637','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#41.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-11','al20','INC','1','+','0.00','1','56913_1637','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-11','al20','DEC','1','+','0.00','1','56913_1637','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1637','2017-09-11','al20','BF','1','+','0.00','1','56913_1637','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-09-11','al01','INC','1','+','0.00','1','50180_1155','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-09-11','al01','DEC','1','+','0.00','1','50180_1155','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-09-11','al01','BF','1','+','0.00','1','50180_1155','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-09-11','al20','INC','1','+','0.00','1','50180_1155','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-09-11','al20','DEC','1','+','0.00','1','50180_1155','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1155','2017-09-11','al20','BF','1','+','0.00','1','50180_1155','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50180_1155#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-11','al01','INC','1','+','0.00','1','56913_215','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#19308.00#@#1#@#56913_215#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-11','al01','DEC','1','+','19308.00','1','56913_215','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#19308.00#@#1#@#56913_215#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#258.00#@#1#@#56913_215#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-11','al01','BF','1','+','258.00','1','56913_215','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#258.00#@#1#@#56913_215#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-11','al20','INC','1','+','0.00','1','56913_215','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-11','al20','DEC','1','+','0.00','1','56913_215','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2017-09-11','al20','BF','1','+','0.00','1','56913_215','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1674','2017-09-11','al01','INC','1','+','0.00','1','64355_1674','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1674# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#6151.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1674','2017-09-11','al01','DEC','1','+','6151.00','1','64355_1674','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#6151.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1674# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#3590.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1674','2017-09-11','al01','BF','1','+','3590.00','1','64355_1674','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#3590.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1674# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1674','2017-09-11','al20','INC','1','+','0.00','1','64355_1674','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1674# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1674','2017-09-11','al20','DEC','1','+','0.00','1','64355_1674','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1674# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1674','2017-09-11','al20','BF','1','+','0.00','1','64355_1674','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' 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 = '1674' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1674#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64355_1674#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1674# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-09-11','al01','INC','1','+','0.00','1','63682_1650','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-09-11','al01','DEC','1','+','0.00','1','63682_1650','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#1131.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-09-11','al01','BF','1','+','1131.00','1','63682_1650','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#1131.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-09-11','al20','INC','1','+','0.00','1','63682_1650','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-09-11','al20','DEC','1','+','0.00','1','63682_1650','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#50000.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1650','2017-09-11','al20','BF','1','+','50000.00','1','63682_1650','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1650' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1650#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#50000.00#@#1#@#63682_1650#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1650# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-11','al01','INC','1','+','0.00','1','64354_1669','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#8867.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-11','al01','DEC','1','+','8867.00','1','64354_1669','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#8867.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#25272.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-11','al01','BF','1','+','25272.00','1','64354_1669','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#25272.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-11','al20','INC','1','+','0.00','1','64354_1669','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-11','al20','DEC','1','+','0.00','1','64354_1669','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1669','2017-09-11','al20','BF','1','+','0.00','1','64354_1669','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1669' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1669#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64354_1669#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1669# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-11','al01','INC','1','+','0.00','1','34579_1229','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-11','al01','DEC','1','+','0.00','1','34579_1229','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-11','al01','BF','1','+','0.00','1','34579_1229','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-11','al20','INC','1','+','0.00','1','34579_1229','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-11','al20','DEC','1','+','0.00','1','34579_1229','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1229','2017-09-11','al20','BF','1','+','0.00','1','34579_1229','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1229#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34579_1229#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1229# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-09-11','al01','INC','1','+','0.00','1','63420_1556','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-09-11','al01','DEC','1','+','0.00','1','63420_1556','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-09-11','al01','BF','1','+','0.00','1','63420_1556','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-09-11','al20','INC','1','+','0.00','1','63420_1556','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-09-11','al20','DEC','1','+','0.00','1','63420_1556','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1556','2017-09-11','al20','BF','1','+','0.00','1','63420_1556','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1556' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1556#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1556#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1556# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1696#@#2017-09-10#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1696','2017-09-10','al01','INC','2','+','0.00','1','64021_1696','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 ( #1696#@#2017-09-10#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1696# and close_date = #2017-09-10# 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 ( #1696#@#2017-09-10#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1696','2017-09-10','al01','DEC','2','+','0.00','1','64021_1696','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 ( #1696#@#2017-09-10#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1696# and close_date = #2017-09-10# 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 ( #1696#@#2017-09-10#@#al01#@#BF#@#2#@#+#@#2872.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1696','2017-09-10','al01','BF','2','+','2872.00','1','64021_1696','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 ( #1696#@#2017-09-10#@#al01#@#BF#@#2#@#+#@#2872.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1696# and close_date = #2017-09-10# 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 ( #1696#@#2017-09-10#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1696','2017-09-10','al20','INC','2','+','0.00','1','64021_1696','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 ( #1696#@#2017-09-10#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1696# and close_date = #2017-09-10# 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 ( #1696#@#2017-09-10#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1696','2017-09-10','al20','DEC','2','+','0.00','1','64021_1696','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 ( #1696#@#2017-09-10#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1696# and close_date = #2017-09-10# 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 ( #1696#@#2017-09-10#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1696','2017-09-10','al20','BF','2','+','0.00','1','64021_1696','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 = '1696' and close_date = '2017-09-10' 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 ( #1696#@#2017-09-10#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64021_1696#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1696# and close_date = #2017-09-10# 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 ( #1661#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-11','al01','INC','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-11','al01','DEC','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-11','al01','BF','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-11','al20','INC','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-11','al20','DEC','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-11','al20','BF','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' 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 = '1661' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-12','al01','INC','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-12# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-12','al01','DEC','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-12# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-12','al01','BF','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-12# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-12','al20','INC','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-12# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-12','al20','DEC','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-12# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2017-09-12','al20','BF','1','+','0.00','1','63765_1661','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' 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 = '1661' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2017-09-12#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2017-09-12# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-09-11','al01','INC','1','+','0.00','1','11491122_452','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#6120.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-09-11','al01','DEC','1','+','6120.00','1','11491122_452','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#6120.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#1656.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-09-11','al01','BF','1','+','1656.00','1','11491122_452','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#1656.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-09-11','al20','INC','1','+','0.00','1','11491122_452','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-09-11','al20','DEC','1','+','0.00','1','11491122_452','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#11491122_452#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#176.36#@#1#@#11491122_452#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '452','2017-09-11','al20','BF','1','+','176.36','1','11491122_452','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#176.36#@#1#@#11491122_452#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-11','al01','INC','1','+','0.00','1','54110_1638','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#176050.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-11','al01','DEC','1','+','176050.00','1','54110_1638','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#176050.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#110203.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-11','al01','BF','1','+','110203.00','1','54110_1638','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#110203.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-11','al20','INC','1','+','0.00','1','54110_1638','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-11','al20','DEC','1','+','0.00','1','54110_1638','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1638','2017-09-11','al20','BF','1','+','0.00','1','54110_1638','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1638' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1638#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#54110_1638#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1638# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#60000.00#@#1#@#55029_476#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-11','al01','INC','1','+','60000.00','1','55029_476','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#60000.00#@#1#@#55029_476#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#36849.00#@#1#@#55029_476#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-11','al01','DEC','1','+','36849.00','1','55029_476','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#36849.00#@#1#@#55029_476#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#44729.00#@#1#@#55029_476#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-11','al01','BF','1','+','44729.00','1','55029_476','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#44729.00#@#1#@#55029_476#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#55029_476#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-11','al20','INC','1','+','0.00','1','55029_476','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#55029_476#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#60000.00#@#1#@#55029_476#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-11','al20','DEC','1','+','60000.00','1','55029_476','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#60000.00#@#1#@#55029_476#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#55029_476#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '476','2017-09-11','al20','BF','1','+','0.00','1','55029_476','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#55029_476#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-11','al01','INC','1','+','0.00','1','57537_1473','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-11','al01','DEC','1','+','0.00','1','57537_1473','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#2000.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-11','al01','BF','1','+','2000.00','1','57537_1473','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#2000.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-11','al20','INC','1','+','0.00','1','57537_1473','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-11','al20','DEC','1','+','0.00','1','57537_1473','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2017-09-11','al20','BF','1','+','0.00','1','57537_1473','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-11','al01','INC','1','+','0.00','1','61273_1679','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-11','al01','DEC','1','+','0.00','1','61273_1679','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#35510.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-11','al01','BF','1','+','35510.00','1','61273_1679','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#35510.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-11','al01','INC','2','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al01#@#DEC#@#2#@#+#@#28556.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-11','al01','DEC','2','+','28556.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al01#@#DEC#@#2#@#+#@#28556.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al01#@#BF#@#2#@#+#@#2513.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-11','al01','BF','2','+','2513.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al01#@#BF#@#2#@#+#@#2513.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-11','al20','INC','1','+','0.00','1','61273_1679','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-11','al20','DEC','1','+','0.00','1','61273_1679','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1679','2017-09-11','al20','BF','1','+','0.00','1','61273_1679','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1679' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1679#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61273_1679#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1679# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-11','al20','INC','2','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-11','al20','DEC','2','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-11','al20','BF','2','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-11#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-11# 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 ( #1688#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1688','2017-09-11','al01','INC','1','+','0.00','1','64492_1688','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1688# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#5339.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1688','2017-09-11','al01','DEC','1','+','5339.00','1','64492_1688','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#5339.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1688# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#5232.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1688','2017-09-11','al01','BF','1','+','5232.00','1','64492_1688','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#5232.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1688# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1688','2017-09-11','al20','INC','1','+','0.00','1','64492_1688','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1688# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1688','2017-09-11','al20','DEC','1','+','0.00','1','64492_1688','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1688# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#20000.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1688','2017-09-11','al20','BF','1','+','20000.00','1','64492_1688','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' 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 = '1688' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1688#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#20000.00#@#1#@#64492_1688#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1688# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-11','al01','INC','1','+','0.00','1','34016_1477','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-11','al01','DEC','1','+','0.00','1','34016_1477','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#4261.77#@#1#@#34016_1477#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-11','al01','BF','1','+','4261.77','1','34016_1477','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#4261.77#@#1#@#34016_1477#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-11','al20','INC','1','+','0.00','1','34016_1477','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-11','al20','DEC','1','+','0.00','1','34016_1477','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1477','2017-09-11','al20','BF','1','+','0.00','1','34016_1477','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1477#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34016_1477#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1477# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-12','al01','INC','1','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-12# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-12','al01','DEC','1','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-12# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al01#@#BF#@#1#@#+#@#2513.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-12','al01','BF','1','+','2513.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al01#@#BF#@#1#@#+#@#2513.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-12# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-12','al20','INC','1','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-12# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-12','al20','DEC','1','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-12# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1652','2017-09-12','al20','BF','1','+','0.00','1','64058_1652','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1652' and close_date = '2017-09-12' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1652#@#2017-09-12#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64058_1652#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1652# and close_date = #2017-09-12# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-09-11','al01','INC','1','+','0.00','1','63904_304','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#29697.00#@#1#@#63904_304#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-09-11','al01','DEC','1','+','29697.00','1','63904_304','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#29697.00#@#1#@#63904_304#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#19896.68#@#1#@#63904_304#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-09-11','al01','BF','1','+','19896.68','1','63904_304','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#19896.68#@#1#@#63904_304#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-09-11','al20','INC','1','+','0.00','1','63904_304','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-09-11','al20','DEC','1','+','0.00','1','63904_304','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '304','2017-09-11','al20','BF','1','+','0.00','1','63904_304','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '304' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #304#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63904_304#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #304# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-09#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-09','al01','INC','2','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 ( #1658#@#2017-09-09#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-09# 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 ( #1658#@#2017-09-09#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-09','al01','DEC','2','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 ( #1658#@#2017-09-09#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-09# 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 ( #1658#@#2017-09-09#@#al01#@#BF#@#2#@#+#@#32985.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-09','al01','BF','2','+','32985.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 ( #1658#@#2017-09-09#@#al01#@#BF#@#2#@#+#@#32985.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-09# 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 ( #1658#@#2017-09-09#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-09','al20','INC','2','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 ( #1658#@#2017-09-09#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-09# 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 ( #1658#@#2017-09-09#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-09','al20','DEC','2','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 ( #1658#@#2017-09-09#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-09# 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 ( #1658#@#2017-09-09#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-09','al20','BF','2','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 = '1658' and close_date = '2017-09-09' 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 ( #1658#@#2017-09-09#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-09# 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 ( #1651#@#2017-07-31#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-31','al01','INC','2','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 ( #1651#@#2017-07-31#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-31# 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 ( #1651#@#2017-07-31#@#al01#@#DEC#@#2#@#+#@#6500.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-31','al01','DEC','2','+','6500.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 ( #1651#@#2017-07-31#@#al01#@#DEC#@#2#@#+#@#6500.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-31# 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 ( #1651#@#2017-07-31#@#al01#@#BF#@#2#@#+#@#22817.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-31','al01','BF','2','+','22817.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 ( #1651#@#2017-07-31#@#al01#@#BF#@#2#@#+#@#22817.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-31# 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 ( #1651#@#2017-07-31#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-31','al20','INC','2','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 ( #1651#@#2017-07-31#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-31# 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 ( #1651#@#2017-07-31#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-31','al20','DEC','2','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 ( #1651#@#2017-07-31#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-31# 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 ( #1651#@#2017-07-31#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-31','al20','BF','2','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 = '1651' and close_date = '2017-07-31' 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 ( #1651#@#2017-07-31#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-07-31# 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 ( #1658#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-11','al01','INC','1','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#17073.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-11','al01','DEC','1','+','17073.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#17073.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#15912.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-11','al01','BF','1','+','15912.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#15912.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-11','al20','INC','1','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-11','al20','DEC','1','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1658','2017-09-11','al20','BF','1','+','0.00','1','32966_1658','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' 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 = '1658' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1658#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#32966_1658#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1658# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-08-31#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-08-31','al01','INC','3','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-08-31# and close_acc_book = #al01# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al01#@#DEC#@#3#@#+#@#12854.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-08-31','al01','DEC','3','+','12854.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al01#@#DEC#@#3#@#+#@#12854.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-08-31# and close_acc_book = #al01# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al01#@#BF#@#3#@#+#@#11247.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-08-31','al01','BF','3','+','11247.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al01#@#BF#@#3#@#+#@#11247.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-08-31# and close_acc_book = #al01# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-08-31','al20','INC','3','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-08-31# and close_acc_book = #al20# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-08-31','al20','DEC','3','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-08-31# and close_acc_book = #al20# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-08-31','al20','BF','3','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-08-31' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-08-31#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-08-31# and close_acc_book = #al20# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-11','al01','INC','1','+','0.00','1','64489_1645','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1645# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#126.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-11','al01','DEC','1','+','126.00','1','64489_1645','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#126.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1645# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#35768.50#@#1#@#64489_1645#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-11','al01','BF','1','+','35768.50','1','64489_1645','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#35768.50#@#1#@#64489_1645#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1645# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-11','al20','INC','1','+','0.00','1','64489_1645','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1645# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-11','al20','DEC','1','+','0.00','1','64489_1645','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1645# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1645','2017-09-11','al20','BF','1','+','0.00','1','64489_1645','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' 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 = '1645' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1645#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64489_1645#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1645# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-01#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-01','al01','INC','2','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al01#@#DEC#@#2#@#+#@#7625.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-01','al01','DEC','2','+','7625.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al01#@#DEC#@#2#@#+#@#7625.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al01#@#BF#@#2#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-01','al01','BF','2','+','3622.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al01#@#BF#@#2#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-01# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-01','al20','INC','2','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-01','al20','DEC','2','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-01','al20','BF','2','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-01#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-01# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-05#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-05','al01','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-05' 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-09-05' 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-09-05' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-05# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-05','al01','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-05' 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-09-05' 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-09-05' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-05# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-05','al01','BF','1','+','3622.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-05' 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-09-05' 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-09-05' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-05# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-05','al20','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-05' 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-09-05' 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-09-05' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-05# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-05','al20','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-05' 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-09-05' 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-09-05' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-05# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-05','al20','BF','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-05' 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-09-05' 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-09-05' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-05#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-05# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-06','al01','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-06' 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-09-06' 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-09-06' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-06# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-06','al01','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-06' 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-09-06' 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-09-06' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-06# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-06','al01','BF','1','+','3622.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-06' 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-09-06' 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-09-06' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-06# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-06','al20','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-06' 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-09-06' 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-09-06' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-06# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-06','al20','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-06' 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-09-06' 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-09-06' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-06# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-06','al20','BF','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-06' 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-09-06' 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-09-06' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-06#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-06# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-07','al01','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-07# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-07','al01','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-07# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-07','al01','BF','1','+','3622.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-07# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-07','al20','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-07# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-07','al20','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-07# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-07','al20','BF','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-07' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-07#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-07# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-11','al01','INC','1','+','0.00','1','61273_1666','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-11','al01','DEC','1','+','0.00','1','61273_1666','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#4087.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-11','al01','BF','1','+','4087.00','1','61273_1666','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#4087.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-11','al20','INC','1','+','0.00','1','61273_1666','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-11','al20','DEC','1','+','0.00','1','61273_1666','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1666','2017-09-11','al20','BF','1','+','0.00','1','61273_1666','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-08','al01','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-08# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-08','al01','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-08# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-08','al01','BF','1','+','3622.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-08# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-08','al20','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-08# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-08','al20','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-08# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-08','al20','BF','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1651' and close_date = '2017-09-08' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-08#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-08# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1651#@#2017-09-09#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-09','al01','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-09' 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-09-09' 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-09-09' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-09# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-09','al01','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-09' 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-09-09' 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-09-09' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-09# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-09','al01','BF','1','+','3622.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-09' 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-09-09' 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-09-09' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-09# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-09','al20','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-09' 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-09-09' 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-09-09' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-09# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-09','al20','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-09' 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-09-09' 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-09-09' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-09# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-09','al20','BF','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-09' 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-09-09' 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-09-09' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-09#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-09# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-11','al01','INC','1','+','0.00','1','46852_1635','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-11','al01','DEC','1','+','0.00','1','46852_1635','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#10419.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-11','al01','BF','1','+','10419.00','1','46852_1635','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#10419.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-11','al20','INC','1','+','0.00','1','46852_1635','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-11','al20','DEC','1','+','0.00','1','46852_1635','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1635','2017-09-11','al20','BF','1','+','0.00','1','46852_1635','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1635' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1635#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46852_1635#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1635# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-10','al01','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-10' 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-09-10' 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-09-10' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-10# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-10','al01','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-10' 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-09-10' 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-09-10' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-10# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-10','al01','BF','1','+','3622.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-10' 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-09-10' 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-09-10' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-10# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-10','al20','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-10' 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-09-10' 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-09-10' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-10# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-10','al20','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-10' 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-09-10' 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-09-10' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-10# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-10','al20','BF','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-10' 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-09-10' 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-09-10' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-10#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-10# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-11','al01','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-11','al01','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-11','al01','BF','1','+','3622.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al01#@#BF#@#1#@#+#@#3622.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-11','al20','INC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-11','al20','DEC','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-09-11','al20','BF','1','+','0.00','1','63105_1651','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1651' and close_date = '2017-09-11' 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-09-11' 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-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (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-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63105_1651#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1651# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-09-11','al01','INC','1','+','0.00','1','57246_1216','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#16663.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-09-11','al01','DEC','1','+','16663.00','1','57246_1216','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#16663.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#37743.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-09-11','al01','BF','1','+','37743.00','1','57246_1216','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#37743.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-09-11','al20','INC','1','+','0.00','1','57246_1216','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-09-11','al20','DEC','1','+','0.00','1','57246_1216','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1216','2017-09-11','al20','BF','1','+','0.00','1','57246_1216','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1216#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#57246_1216#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1216# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-11','al01','INC','1','+','0.00','1','46852_1346','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-11','al01','DEC','1','+','0.00','1','46852_1346','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#788.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-11','al01','BF','1','+','788.00','1','46852_1346','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al01#@#BF#@#1#@#+#@#788.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-11','al20','INC','1','+','0.00','1','46852_1346','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-11','al20','DEC','1','+','0.00','1','46852_1346','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1346','2017-09-11','al20','BF','1','+','0.00','1','46852_1346','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2017-09-11' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2017-09-11#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#46852_1346#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2017-09-11# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1243','2017-09-11','al01','INC','1','+','0.00','1','60436_ps','p','2017-09-12',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2017-09-11' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2017-09-11#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2017-09-12#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2017-09-11# and close_acc_book = #al01# and category = #INC# 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 ( #1771#@#2018-10-20#@#1#@#844049.00#@#0.00#@#0.00#@#1#@#50180_1771#@#p#@#2018-10-21#@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-10-20','1','844049.00','0.00','0.00','1','50180_1771','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1771' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1771' and close_date = '2018-10-20' 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-10-20' 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-10-20#@#1#@#844049.00#@#0.00#@#0.00#@#1#@#50180_1771#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1771# and close_date = #2018-10-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 ( #1363#@#2018-10-20#@#1#@#73602898.11#@#-36299.17#@#0.00#@#1#@#63922_1363#@#p#@#2018-10-21#@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 ( '1363','2018-10-20','1','73602898.11','-36299.17','0.00','1','63922_1363','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1363' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1363' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2018-10-20' 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 ( #1363#@#2018-10-20#@#1#@#73602898.11#@#-36299.17#@#0.00#@#1#@#63922_1363#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1363# and close_date = #2018-10-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 ( #1229#@#2018-10-20#@#1#@#85903675.00#@#334402.40#@#0.00#@#1#@#64058_1229#@#p#@#2018-10-21#@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 ( '1229','2018-10-20','1','85903675.00','334402.40','0.00','1','64058_1229','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1229' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1229' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1229' and close_date = '2018-10-20' 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 ( #1229#@#2018-10-20#@#1#@#85903675.00#@#334402.40#@#0.00#@#1#@#64058_1229#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1229# and close_date = #2018-10-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 ( #1707#@#2018-10-20#@#1#@#14721126.00#@#0.00#@#0.00#@#1#@#63922_1707#@#p#@#2018-10-21#@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 ( '1707','2018-10-20','1','14721126.00','0.00','0.00','1','63922_1707','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1707' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1707' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1707' and close_date = '2018-10-20' 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 ( #1707#@#2018-10-20#@#1#@#14721126.00#@#0.00#@#0.00#@#1#@#63922_1707#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1707# and close_date = #2018-10-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 ( #1243#@#2018-10-20#@#2#@#243653321.00#@#0.00#@#0.00#@#1#@#65546_1243#@#p#@#2018-10-21#@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-10-20','2','243653321.00','0.00','0.00','1','65546_1243','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1243' and close_date = '2018-10-20' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1243' and close_date = '2018-10-20' 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-10-20' 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-10-20#@#2#@#243653321.00#@#0.00#@#0.00#@#1#@#65546_1243#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-10-20# 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 ( #1171#@#2018-10-20#@#1#@#5313961.00#@#0.00#@#0.00#@#1#@#38781_SBP#@#p#@#2018-10-21#@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 ( '1171','2018-10-20','1','5313961.00','0.00','0.00','1','38781_SBP','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1171' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1171' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2018-10-20' 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 ( #1171#@#2018-10-20#@#1#@#5313961.00#@#0.00#@#0.00#@#1#@#38781_SBP#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1171# and close_date = #2018-10-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 ( #1155#@#2018-10-20#@#1#@#-249054.00#@#0.00#@#0.00#@#1#@#65545_1155#@#p#@#2018-10-21#@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-10-20','1','-249054.00','0.00','0.00','1','65545_1155','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1155' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1155' and close_date = '2018-10-20' 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-10-20' 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-10-20#@#1#@#-249054.00#@#0.00#@#0.00#@#1#@#65545_1155#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1155# and close_date = #2018-10-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 ( #1662#@#2018-10-20#@#1#@#19030500.25#@#-1059634.74#@#0.00#@#1#@#32490_1662#@#p#@#2018-10-21#@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 ( '1662','2018-10-20','1','19030500.25','-1059634.74','0.00','1','32490_1662','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1662' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1662' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2018-10-20' 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 ( #1662#@#2018-10-20#@#1#@#19030500.25#@#-1059634.74#@#0.00#@#1#@#32490_1662#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1662# and close_date = #2018-10-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 ( #1162#@#2018-10-20#@#1#@#53955445.00#@#209568.20#@#-2267.00#@#1#@#65522_1162#@#p#@#2018-10-21#@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-10-20','1','53955445.00','209568.20','-2267.00','1','65522_1162','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1162' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1162' and close_date = '2018-10-20' 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-10-20' 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-10-20#@#1#@#53955445.00#@#209568.20#@#-2267.00#@#1#@#65522_1162#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1162# and close_date = #2018-10-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 ( #1216#@#2018-10-20#@#1#@#82106929.00#@#412637.20#@#-3357.50#@#1#@#63904_1216#@#p#@#2018-10-21#@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 ( '1216','2018-10-20','1','82106929.00','412637.20','-3357.50','1','63904_1216','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1216' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1216' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1216' and close_date = '2018-10-20' 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 ( #1216#@#2018-10-20#@#1#@#82106929.00#@#412637.20#@#-3357.50#@#1#@#63904_1216#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1216# and close_date = #2018-10-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 ( #1760#@#2018-10-20#@#1#@#4016843.00#@#0.00#@#0.00#@#1#@#63765_1760#@#p#@#2018-10-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1760','2018-10-20','1','4016843.00','0.00','0.00','1','63765_1760','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1760' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1760#@#2018-10-20#@#1#@#4016843.00#@#0.00#@#0.00#@#1#@#63765_1760#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1760# and close_date = #2018-10-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 ( #1218#@#2018-10-20#@#1#@#189023669.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2018-10-21#@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 ( '1218','2018-10-20','1','189023669.00','26496.40','0.00','1','34731_PEN','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1218' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1218' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1218' and close_date = '2018-10-20' 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 ( #1218#@#2018-10-20#@#1#@#189023669.00#@#26496.40#@#0.00#@#1#@#34731_PEN#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1218# and close_date = #2018-10-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 ( #177#@#2018-10-20#@#1#@#35588275.00#@#208784.85#@#0.00#@#1#@#38781_177#@#p#@#2018-10-21#@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-10-20','1','35588275.00','208784.85','0.00','1','38781_177','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '177' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '177' and close_date = '2018-10-20' 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-10-20' 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-10-20#@#1#@#35588275.00#@#208784.85#@#0.00#@#1#@#38781_177#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-10-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 ( #1604#@#2018-10-20#@#1#@#4529167.41#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2018-10-21#@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 ( '1604','2018-10-20','1','4529167.41','0.00','0.00','1','31997_1604','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1604' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1604' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1604' and close_date = '2018-10-20' 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 ( #1604#@#2018-10-20#@#1#@#4529167.41#@#0.00#@#0.00#@#1#@#31997_1604#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1604# and close_date = #2018-10-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 ( #1637#@#2018-10-20#@#1#@#8086947.00#@#0.00#@#0.00#@#1#@#34300_1637#@#p#@#2018-10-21#@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-10-20','1','8086947.00','0.00','0.00','1','34300_1637','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1637' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1637' and close_date = '2018-10-20' 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-10-20' 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-10-20#@#1#@#8086947.00#@#0.00#@#0.00#@#1#@#34300_1637#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1637# and close_date = #2018-10-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 ( #1169#@#2018-10-20#@#1#@#707722.00#@#0.00#@#0.00#@#1#@#34300_1169#@#p#@#2018-10-21#@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 ( '1169','2018-10-20','1','707722.00','0.00','0.00','1','34300_1169','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1169' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1169' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1169' and close_date = '2018-10-20' 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 ( #1169#@#2018-10-20#@#1#@#707722.00#@#0.00#@#0.00#@#1#@#34300_1169#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1169# and close_date = #2018-10-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 ( #1658#@#2018-10-20#@#1#@#42130103.66#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2018-10-21#@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 ( '1658','2018-10-20','1','42130103.66','0.00','0.00','1','32966_1658','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1658' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1658' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1658' and close_date = '2018-10-20' 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 ( #1658#@#2018-10-20#@#1#@#42130103.66#@#0.00#@#0.00#@#1#@#32966_1658#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1658# and close_date = #2018-10-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 ( #1191#@#2018-10-20#@#1#@#248603.00#@#0.00#@#0.00#@#1#@#65522_1191#@#p#@#2018-10-21#@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 ( '1191','2018-10-20','1','248603.00','0.00','0.00','1','65522_1191','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1191' and close_date = '2018-10-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1191' and close_date = '2018-10-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1191' and close_date = '2018-10-20' 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 ( #1191#@#2018-10-20#@#1#@#248603.00#@#0.00#@#0.00#@#1#@#65522_1191#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1191# and close_date = #2018-10-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 ( #10#@#2018-10-20#@#2#@#39230743.00#@#32973.60#@#0.00#@#1#@#60000_10#@#p#@#2018-10-21#@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-10-20','2','39230743.00','32973.60','0.00','1','60000_10','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '10' and close_date = '2018-10-20' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '10' and close_date = '2018-10-20' 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-10-20' 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-10-20#@#2#@#39230743.00#@#32973.60#@#0.00#@#1#@#60000_10#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #10# and close_date = #2018-10-20# 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 ( #10#@#2018-10-21#@#1#@#39325531.00#@#32973.60#@#0.00#@#1#@#60000_10#@#p#@#2018-10-21#@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-10-21','1','39325531.00','32973.60','0.00','1','60000_10','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '10' and close_date = '2018-10-21' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '10' and close_date = '2018-10-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '10' and close_date = '2018-10-21' 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 ( #10#@#2018-10-21#@#1#@#39325531.00#@#32973.60#@#0.00#@#1#@#60000_10#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #10# and close_date = #2018-10-21# 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 ( #1177#@#2018-10-20#@#2#@#1133138.00#@#0.00#@#0.00#@#1#@#60000_1177#@#p#@#2018-10-21#@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 ( '1177','2018-10-20','2','1133138.00','0.00','0.00','1','60000_1177','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1177' and close_date = '2018-10-20' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1177' and close_date = '2018-10-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1177' and close_date = '2018-10-20' 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 ( #1177#@#2018-10-20#@#2#@#1133138.00#@#0.00#@#0.00#@#1#@#60000_1177#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1177# and close_date = #2018-10-20# 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 ( #1177#@#2018-10-21#@#1#@#1227920.00#@#0.00#@#0.00#@#1#@#60000_1177#@#p#@#2018-10-21#@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 ( '1177','2018-10-21','1','1227920.00','0.00','0.00','1','60000_1177','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1177' and close_date = '2018-10-21' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1177' and close_date = '2018-10-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1177' and close_date = '2018-10-21' 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 ( #1177#@#2018-10-21#@#1#@#1227920.00#@#0.00#@#0.00#@#1#@#60000_1177#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1177# and close_date = #2018-10-21# 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 ( #1099#@#2018-10-20#@#2#@#107553570.00#@#633704.90#@#0.00#@#1#@#45092_1099#@#p#@#2018-10-21#@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 ( '1099','2018-10-20','2','107553570.00','633704.90','0.00','1','45092_1099','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1099' and close_date = '2018-10-20' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1099' and close_date = '2018-10-20' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1099' and close_date = '2018-10-20' 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 ( #1099#@#2018-10-20#@#2#@#107553570.00#@#633704.90#@#0.00#@#1#@#45092_1099#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1099# and close_date = #2018-10-20# 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 ( #1099#@#2018-10-21#@#1#@#107624105.00#@#633704.90#@#0.00#@#1#@#45092_1099#@#p#@#2018-10-21#@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 ( '1099','2018-10-21','1','107624105.00','633704.90','0.00','1','45092_1099','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1099' and close_date = '2018-10-21' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1099' and close_date = '2018-10-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1099' and close_date = '2018-10-21' 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 ( #1099#@#2018-10-21#@#1#@#107624105.00#@#633704.90#@#0.00#@#1#@#45092_1099#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1099# and close_date = #2018-10-21# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-10-21#@#1#@#7517663.00#@#0.00#@#-83628.47#@#1#@#49692_1473#@#p#@#2018-10-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1473','2018-10-21','1','7517663.00','0.00','-83628.47','1','49692_1473','p','2018-10-21',now());

select * from al_com_close_arrear WHERE branch_id = '1473' and close_date = '2018-10-21' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1473' and close_date = '2018-10-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1473' and close_date = '2018-10-21' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-10-21#@#1#@#7517663.00#@#0.00#@#-83628.47#@#1#@#49692_1473#@#p#@#2018-10-21#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-10-21# 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 ( #1475#@#2018-10-21#@#1#@#6156.00#@#0.00#@#0.00#@#1#@#49692_1475#@#p#@#2018-10-21#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,p